Lines Matching refs:sec_table
616 size_t strndx, const char *type_table, const char **sec_table, in get_sym() argument
660 sec_table, sec_table_size); in get_sym()
684 get_sym_name(Elf *elf, const GElf_Sym *sym, size_t ndx, const char **sec_table, in get_sym_name() argument
693 if (sec_table != NULL && sym->st_shndx < sec_table_size) in get_sym_name()
694 sym_name = sec_table[sym->st_shndx]; in get_sym_name()
1160 char *type_table, **sec_table, *sfile, **src_files; in read_elf() local
1170 sec_table = NULL; in read_elf()
1212 if ((sec_table = calloc(shnum, sizeof(char *))) == NULL) { in read_elf()
1219 if ((sec_table[0] = strdup("*UND*")) == NULL) { in read_elf()
1242 if ((sec_table[i] = strdup(shname)) == NULL) { in read_elf()
1263 sec_table[i] = strdup("*UND*"); in read_elf()
1264 if (sec_table[i] == NULL) { in read_elf()
1397 type_table, (void *) sec_table, shnum); in read_elf()
1405 p_data.s_table = (void *) sec_table; in read_elf()
1447 if (sec_table != NULL) in read_elf()
1449 free(sec_table[i]); in read_elf()
1450 free(sec_table); in read_elf()