prefix = strdup(sym->name);
*strchr(prefix, '.') = '\0';