Lines Matching refs:shnum
654 get_sym(Elf *elf, struct sym_head *headp, int shnum, size_t dynndx, in get_sym() argument
674 for (i = 1; i < shnum; i++) { in get_sym()
1200 size_t i, shstrndx, shnum, dynndx, strndx; in read_elf() local
1226 if (!elf_getshnum(elf, &shnum)) { in read_elf()
1234 if (shnum == 0) { in read_elf()
1245 if ((type_table = malloc(sizeof(char) * shnum)) == NULL) { in read_elf()
1251 if ((sec_table = calloc(shnum, sizeof(char *))) == NULL) { in read_elf()
1263 for (i = 1; i < shnum; ++i) { in read_elf()
1435 p_data.list_num = get_sym(elf, &list_head, shnum, dynndx, strndx, in read_elf()
1436 type_table, (void *) sec_table, shnum); in read_elf()
1442 p_data.sh_num = shnum; in read_elf()
1487 for (i = 0; i < shnum; ++i) in read_elf()