Lines Matching refs:sec_table
655 size_t strndx, const char *type_table, const char **sec_table, in get_sym() argument
699 sec_table, sec_table_size); in get_sym()
723 get_sym_name(Elf *elf, const GElf_Sym *sym, size_t ndx, const char **sec_table, in get_sym_name() argument
732 if (sec_table != NULL && sym->st_shndx < sec_table_size) in get_sym_name()
733 sym_name = sec_table[sym->st_shndx]; in get_sym_name()
1199 char *type_table, **sec_table, *sfile, **src_files; in read_elf() local
1209 sec_table = NULL; in read_elf()
1251 if ((sec_table = calloc(shnum, sizeof(char *))) == NULL) { in read_elf()
1258 if ((sec_table[0] = strdup("*UND*")) == NULL) { in read_elf()
1281 if ((sec_table[i] = strdup(shname)) == NULL) { in read_elf()
1302 sec_table[i] = strdup("*UND*"); in read_elf()
1303 if (sec_table[i] == NULL) { in read_elf()
1436 type_table, (void *) sec_table, shnum); in read_elf()
1444 p_data.s_table = (void *) sec_table; in read_elf()
1486 if (sec_table != NULL) in read_elf()
1488 free(sec_table[i]); in read_elf()
1489 free(sec_table); in read_elf()