Lines Matching defs:shnum
539 size_t shnum;
540 if (unlikely (elf_getshnum (elf, &shnum) < 0))
551 if ((shnum + 2) * sizeof (struct shdr_info) > MAX_STACK_ALLOC)
552 shdr_info = (struct shdr_info *) xcalloc (shnum + 2,
556 shdr_info = (struct shdr_info *) alloca ((shnum + 2)
558 memset (shdr_info, '\0', (shnum + 2) * sizeof (struct shdr_info));
662 for (cnt = 1; cnt < shnum; ++cnt)
707 for (cnt = 1; cnt < shnum; ++cnt)
773 if (scnidx == SHN_UNDEF || scnidx >= shnum
862 for (cnt = 1; cnt < shnum; ++cnt)
946 for (cnt = idx = 1; cnt < shnum; ++cnt)
1101 if (cnt < shnum)
1178 || (sym->st_shndx >= shnum
1707 if ((shnum + 2) * sizeof (struct shdr_info) > MAX_STACK_ALLOC)