Lines Matching refs:snum
137 for (int snum = 0; snum < nsym; snum++) {
138 if ((sym[snum].st_shndx > 0) && (sym[snum].st_shndx < ehdr->e_shnum) &&
139 (sym[snum].st_value != 0) &&
140 (shdr[sym[snum].st_shndx].sh_type == SHT_PROGBITS) &&
141 ((ELF32_ST_BIND(sym[snum].st_info) == STB_LOCAL) ||
142 (ELF32_ST_BIND(sym[snum].st_info) == STB_GLOBAL)) &&
143 (ELF32_ST_TYPE(sym[snum].st_info) == STT_FUNC)) {
144 visitor->visit(symnames + sym[snum].st_name, sym[snum]);