Home
last modified time | relevance | path

Searched refs:GElf_Shdr (Results 1 – 25 of 90) sorted by relevance

1234

/external/elfutils/src/
Dobjdump.c345 show_relocs_x (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *symdata, in show_relocs_x()
369 GElf_Shdr destshdr_mem; in show_relocs_x()
370 GElf_Shdr *destshdr; in show_relocs_x()
401 show_relocs_rel (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rel()
422 show_relocs_rela (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rela()
443 section_match (Elf *elf, uint32_t scnndx, GElf_Shdr *shdr, size_t shstrndx) in section_match()
480 GElf_Shdr shdr_mem; in show_relocs()
481 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_relocs()
491 GElf_Shdr destshdr_mem; in show_relocs()
492 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (ebl->elf, in show_relocs()
[all …]
Delflint.c96 GElf_Shdr *shdr, int idx);
302 GElf_Shdr shdr_mem; in section_name()
303 GElf_Shdr *shdr; in section_name()
432 GElf_Shdr shdr_mem; in check_elf_header()
433 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
449 GElf_Shdr shdr_mem; in check_elf_header()
450 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
481 GElf_Shdr shdr_mem; in check_elf_header()
482 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
564 GElf_Shdr shdr_mem; in check_scn_group()
[all …]
Dunstrip.c251 GElf_Shdr shdr0_mem; in copy_elf()
252 GElf_Shdr *shdr0 = gelf_getshdr (scn0, &shdr0_mem); in copy_elf()
284 GElf_Shdr shdr_mem; in copy_elf()
365 section_can_shrink (const GElf_Shdr *shdr) in section_can_shrink()
395 GElf_Shdr shdr_mem; in symtab_count_leading_section_symbols()
396 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, i), &shdr_mem); in symtab_count_leading_section_symbols()
416 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr()
426 GElf_Shdr shdr_mem; in update_sh_size()
427 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in update_sh_size()
437 adjust_relocs (Elf_Scn *outscn, Elf_Scn *inscn, const GElf_Shdr *shdr, in adjust_relocs()
[all …]
Delfcompress.c181 GElf_Shdr zshdr_mem; in setshdrstrndx()
182 GElf_Shdr *zshdr = gelf_getshdr (zscn, &zshdr_mem); in setshdrstrndx()
228 GElf_Shdr shdr_mem; in compress_section()
229 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in compress_section()
462 GElf_Shdr shdr_mem; in process_file()
463 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
692 GElf_Shdr shdr_mem; in process_file()
693 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
853 GElf_Shdr shdr_mem; in process_file()
854 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
[all …]
Dsize.c404 GElf_Shdr shdr_mem; in show_sysv()
405 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv()
428 GElf_Shdr shdr_mem; in show_sysv()
429 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv()
478 GElf_Shdr shdr_mem; in show_sysv_one_line()
479 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv_one_line()
530 GElf_Shdr shdr_mem; in show_bsd()
531 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_bsd()
Dreadelf.c301 GElf_Shdr *shdr);
303 GElf_Shdr *shdr);
305 static void handle_symtab (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
307 static void handle_verneed (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
308 static void handle_verdef (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
310 GElf_Shdr *shdr);
651 GElf_Shdr shdr_mem; in open_input_section()
652 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in open_input_section()
920 GElf_Shdr shdr_mem; in elf_contains_chdrs()
921 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in elf_contains_chdrs()
[all …]
/external/elfutils/libelf/
Dgelf_getshdr.c40 GElf_Shdr *
41 gelf_getshdr (Elf_Scn *scn, GElf_Shdr *dst) in gelf_getshdr()
43 GElf_Shdr *result = NULL; in gelf_getshdr()
95 result = memcpy (dst, shdr, sizeof (GElf_Shdr)); in gelf_getshdr()
Dgelf.h65 typedef Elf64_Shdr GElf_Shdr; typedef
177 extern GElf_Shdr *gelf_getshdr (Elf_Scn *__scn, GElf_Shdr *__dst);
180 extern int gelf_update_shdr (Elf_Scn *__scn, GElf_Shdr *__src);
/external/elfutils/tests/
Delfputzdata.c77 GElf_Shdr mem; in main()
78 GElf_Shdr *shdr = gelf_getshdr (scn, &mem); in main()
153 GElf_Shdr newmem; in main()
154 GElf_Shdr *newshdr = gelf_getshdr (scn, &newmem); in main()
206 GElf_Shdr newermem; in main()
207 GElf_Shdr *newershdr = gelf_getshdr (scn, &newermem); in main()
Delfstrmerge.c185 GElf_Shdr shdrstrshdr_mem; in main()
186 GElf_Shdr *shdrstrshdr = gelf_getshdr (shdrstrscn, &shdrstrshdr_mem); in main()
196 GElf_Shdr symtabshdr_mem; in main()
197 GElf_Shdr *symtabshdr = NULL; in main()
221 GElf_Shdr strtabshdr_mem; in main()
222 GElf_Shdr *strtabshdr = gelf_getshdr (strtabscn, &strtabshdr_mem); in main()
269 GElf_Shdr shdr_mem; in main()
270 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in main()
401 GElf_Shdr zshdr_mem; in main()
402 GElf_Shdr *zshdr = gelf_getshdr (zscn, &zshdr_mem); in main()
[all …]
Dfillfile.c79 GElf_Shdr shdr_mem; in create_strtab()
80 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in create_strtab()
140 GElf_Shdr shdr_mem; in add_data_section()
141 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in add_data_section()
301 GElf_Shdr shdr_mem; in check_elf()
302 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in check_elf()
373 GElf_Shdr shdr_mem; in check_elf()
374 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in check_elf()
Delfcopy.c55 GElf_Shdr zshdr_mem; in setshstrndx()
56 GElf_Shdr *zshdr = gelf_getshdr (zscn, &zshdr_mem); in setshstrndx()
208 GElf_Shdr last_shdr = { .sh_type = SHT_NULL }; in copy_elf()
212 GElf_Shdr shdr; in copy_elf()
283 GElf_Shdr shdr; in copy_elf()
Ddwflsyms.c90 GElf_Shdr shdr; in elf_section_name()
100 GElf_Shdr shdr; in addr_in_section()
190 GElf_Shdr shdr_mem; in list_syms()
191 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in list_syms()
Dnext_cfi.c44 GElf_Shdr mem; in handle_section()
45 GElf_Shdr *shdr = gelf_getshdr (scn, &mem); in handle_section()
131 GElf_Shdr shdr; in main()
Daddsections.c55 GElf_Shdr zshdr_mem; in setshstrndx()
56 GElf_Shdr *zshdr = gelf_getshdr (zscn, &zshdr_mem); in setshstrndx()
133 GElf_Shdr shdr_mem; in add_sections()
134 GElf_Shdr *shdr = gelf_getshdr (shstrtab_scn, &shdr_mem); in add_sections()
/external/libabigail/src/
Dabg-elf-helpers.cc318 GElf_Shdr header_mem, *header; in find_section()
352 GElf_Shdr header_mem, *header; in find_symbol_table_section()
415 GElf_Shdr header_mem, *section_header; in find_hash_table_section_index()
521 GElf_Shdr mem; in get_symbol_versionning_sections()
526 GElf_Shdr* h = gelf_getshdr(section, &mem); in get_symbol_versionning_sections()
600 GElf_Shdr header_mem, *header; in find_relocation_section()
658 GElf_Shdr header_mem; in get_version_definition_for_versym()
659 GElf_Shdr* verdef_section_header = gelf_getshdr(verdef_section, in get_version_definition_for_versym()
723 GElf_Shdr header_mem; in get_version_needed_for_versym()
724 GElf_Shdr* verneed_section_header = gelf_getshdr(verneed_section, in get_version_needed_for_versym()
[all …]
/external/elfutils/libebl/
Deblsectionstripp.c38 ebl_section_strip_p (Ebl *ebl, const GElf_Shdr *shdr, in ebl_section_strip_p()
52 GElf_Shdr shdr_mem_l; in ebl_section_strip_p()
53 GElf_Shdr *shdr_l = gelf_getshdr (scn_l, &shdr_mem_l); in ebl_section_strip_p()
/external/elfutils/backends/
Ds390_symbol.c66 const char *name, const GElf_Shdr *destshdr) in s390_check_special_symbol()
81 GElf_Shdr shdr_mem; in s390_check_special_symbol()
82 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in s390_check_special_symbol()
Daarch64_symbol.c67 const char *name, const GElf_Shdr *destshdr) in aarch64_check_special_symbol()
82 GElf_Shdr shdr_mem; in aarch64_check_special_symbol()
83 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in aarch64_check_special_symbol()
Dalpha_symbol.c89 const GElf_Shdr *shdr, in alpha_check_special_section()
104 GElf_Shdr scn_shdr; in alpha_check_special_section()
136 const GElf_Shdr *destshdr __attribute__ ((unused))) in alpha_check_special_symbol()
Dppc_symbol.c112 GElf_Shdr shdr_mem; in find_dyn_got()
113 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in find_dyn_got()
140 const char *name, const GElf_Shdr *destshdr) in ppc_check_special_symbol()
/external/google-breakpad/src/common/solaris/
Ddump_symbols.cc218 GElf_Shdr *shdr) { in FindSectionByName()
227 if (gelf_getshdr(scn, shdr) == (GElf_Shdr *)0) { in FindSectionByName()
395 bool LoadAllSymbols(const GElf_Shdr *stab_section, in LoadAllSymbols()
396 const GElf_Shdr *stabstr_section, in LoadAllSymbols()
438 const GElf_Shdr *sections = in LoadSymbols()
439 reinterpret_cast<GElf_Shdr *>(elf_header->e_shoff + base); in LoadSymbols()
440 GElf_Shdr stab_section; in LoadSymbols()
446 GElf_Shdr stabstr_section; in LoadSymbols()
452 GElf_Shdr symtab_section; in LoadSymbols()
458 GElf_Shdr strtab_section; in LoadSymbols()
Dfile_id.cc98 const GElf_Shdr *text_section = NULL; in FindElfTextSection()
100 GElf_Shdr shdr; in FindElfTextSection()
103 if (gelf_getshdr(scn, &shdr) == (GElf_Shdr *)0) { in FindElfTextSection()
/external/elfutils/libdwfl/
Drelocate.c53 GElf_Shdr refshdr_mem, *refshdr = gelf_getshdr (refscn, &refshdr_mem); in __libdwfl_relocate_value()
129 GElf_Shdr shdr_mem, *shdr = gelf_getshdr (scn, &shdr_mem); in relocate_getsym()
225 GElf_Shdr shdr_mem; in resolve_symbol()
226 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in resolve_symbol()
502 Elf_Scn *scn, GElf_Shdr *shdr, in relocate_section()
507 GElf_Shdr tshdr_mem; in relocate_section()
508 GElf_Shdr *tshdr = gelf_getshdr (tscn, &tshdr_mem); in relocate_section()
550 GElf_Shdr shdr_mem; in relocate_section()
771 GElf_Shdr shdr_mem; in __libdwfl_relocate()
772 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in __libdwfl_relocate()
[all …]
Doffline.c49 const GElf_Shdr *shdr __attribute__ ((unused)), in dwfl_offline_section_address()
71 GElf_Shdr shdr_mem; in dwfl_offline_section_address()
72 GElf_Shdr *sh = gelf_getshdr (scn, &shdr_mem); in dwfl_offline_section_address()
82 GElf_Shdr shdr_mem; in dwfl_offline_section_address()
83 GElf_Shdr *main_shdr = gelf_getshdr (scn, &shdr_mem); in dwfl_offline_section_address()

1234