Lines 167-173
Link Here
|
167 |
char *symname = (void *)(elf + stroff + sym->st_name); \ |
167 |
char *symname = (void *)(elf + stroff + sym->st_name); \ |
168 |
if (ELF##n##_ST_VISIBILITY(sym->st_other) == STV_DEFAULT && \ |
168 |
if (ELF##n##_ST_VISIBILITY(sym->st_other) == STV_DEFAULT && \ |
169 |
sym->st_shndx != SHN_UNDEF && sym->st_shndx < SHN_LORESERVE && \ |
169 |
sym->st_shndx != SHN_UNDEF && sym->st_shndx < SHN_LORESERVE && \ |
170 |
sym->st_name && \ |
170 |
sym->st_name && sym->st_name < str_size && \ |
171 |
/* Minor optimization to avoid strcmp. */ \ |
171 |
/* Minor optimization to avoid strcmp. */ \ |
172 |
symname[0] == '_' && symname[1] == '_') { \ |
172 |
symname[0] == '_' && symname[1] == '_') { \ |
173 |
/* Blacklist internal C library symbols. */ \ |
173 |
/* Blacklist internal C library symbols. */ \ |