Searched refs:shnum (Results 1 – 2 of 2) sorted by relevance
15 static unsigned long shnum; variable248 if (shndx < shnum) { in sec_name()276 for (i = 0; i < shnum; i++) { in sym_lookup()371 shnum = ehdr.e_shnum; in read_ehdr()388 if (shnum == SHN_UNDEF || shstrndx == SHN_XINDEX) { in read_ehdr()397 if (shnum == SHN_UNDEF) in read_ehdr()398 shnum = elf_xword_to_cpu(shdr.sh_size); in read_ehdr()404 if (shstrndx >= shnum) in read_ehdr()413 secs = calloc(shnum, sizeof(struct section)); in read_shdrs()416 shnum); in read_shdrs()[all …]
2652 unsigned int shnum, unsigned int pcpundx) in is_core_symbol() argument2657 || src->st_shndx >= shnum in is_core_symbol()