Home
last modified time | relevance | path

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

1234

/external/libabigail/src/
Dabg-elf-helpers.cc314 GElf_Shdr header_mem, *header; in find_section_by_name()
349 GElf_Shdr header_mem, *header; in find_section()
380 GElf_Shdr header_mem, *header; in find_section()
483 GElf_Shdr header_mem, *section_header; in find_hash_table_section_index()
589 GElf_Shdr mem; in get_symbol_versionning_sections()
594 GElf_Shdr* h = gelf_getshdr(section, &mem); in get_symbol_versionning_sections()
668 GElf_Shdr header_mem, *header; in find_relocation_section()
697 GElf_Shdr symtab_shdr_mem, *symtab_shdr; in find_strtab_for_symtab_section()
749 GElf_Shdr header_mem; in get_version_definition_for_versym()
750 GElf_Shdr* verdef_section_header = gelf_getshdr(verdef_section, in get_version_definition_for_versym()
[all …]
/external/elfutils/src/
Dobjdump.c344 show_relocs_x (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *symdata, in show_relocs_x()
368 GElf_Shdr destshdr_mem; in show_relocs_x()
369 GElf_Shdr *destshdr; in show_relocs_x()
400 show_relocs_rel (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rel()
421 show_relocs_rela (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rela()
442 section_match (Elf *elf, uint32_t scnndx, GElf_Shdr *shdr, size_t shstrndx) in section_match()
479 GElf_Shdr shdr_mem; in show_relocs()
480 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_relocs()
490 GElf_Shdr destshdr_mem; in show_relocs()
491 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (ebl->elf, in show_relocs()
[all …]
Delflint.c95 GElf_Shdr *shdr, int idx);
301 GElf_Shdr shdr_mem; in section_name()
302 GElf_Shdr *shdr; in section_name()
431 GElf_Shdr shdr_mem; in check_elf_header()
432 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
448 GElf_Shdr shdr_mem; in check_elf_header()
449 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
480 GElf_Shdr shdr_mem; in check_elf_header()
481 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
563 GElf_Shdr shdr_mem; in check_scn_group()
[all …]
Dunstrip.c250 GElf_Shdr shdr0_mem; in copy_elf()
251 GElf_Shdr *shdr0 = gelf_getshdr (scn0, &shdr0_mem); in copy_elf()
283 GElf_Shdr shdr_mem; in copy_elf()
364 section_can_shrink (const GElf_Shdr *shdr) in section_can_shrink()
394 GElf_Shdr shdr_mem; in symtab_count_leading_section_symbols()
395 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, i), &shdr_mem); in symtab_count_leading_section_symbols()
415 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr()
425 GElf_Shdr shdr_mem; in update_sh_size()
426 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in update_sh_size()
449 adjust_relocs (Elf_Scn *outscn, Elf_Scn *inscn, const GElf_Shdr *shdr, in adjust_relocs()
[all …]
Delfcompress.c183 GElf_Shdr zshdr_mem; in setshdrstrndx()
184 GElf_Shdr *zshdr = gelf_getshdr (zscn, &zshdr_mem); in setshdrstrndx()
230 GElf_Shdr shdr_mem; in compress_section()
231 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in compress_section()
432 GElf_Shdr shdr_mem; in process_file()
433 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
660 GElf_Shdr shdr_mem; in process_file()
661 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
839 GElf_Shdr shdr_mem; in process_file()
840 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
[all …]
Dsize.c402 GElf_Shdr shdr_mem; in show_sysv()
403 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv()
426 GElf_Shdr shdr_mem; in show_sysv()
427 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv()
475 GElf_Shdr shdr_mem; in show_sysv_one_line()
476 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv_one_line()
527 GElf_Shdr shdr_mem; in show_bsd()
528 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_bsd()
/external/elfutils/tests/
Delfputzdata.c79 GElf_Shdr mem; in main()
80 GElf_Shdr *shdr = gelf_getshdr (scn, &mem); in main()
155 GElf_Shdr newmem; in main()
156 GElf_Shdr *newshdr = gelf_getshdr (scn, &newmem); in main()
208 GElf_Shdr newermem; in main()
209 GElf_Shdr *newershdr = gelf_getshdr (scn, &newermem); in main()
Delfstrmerge.c226 GElf_Shdr shdrstrshdr_mem; in main()
227 GElf_Shdr *shdrstrshdr = gelf_getshdr (shdrstrscn, &shdrstrshdr_mem); in main()
237 GElf_Shdr symtabshdr_mem; in main()
238 GElf_Shdr *symtabshdr = NULL; in main()
262 GElf_Shdr strtabshdr_mem; in main()
263 GElf_Shdr *strtabshdr = gelf_getshdr (strtabscn, &strtabshdr_mem); in main()
310 GElf_Shdr shdr_mem; in main()
311 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in main()
419 GElf_Shdr zshdr_mem; in main()
420 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/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/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.c69 const char *name, const GElf_Shdr *destshdr) in aarch64_check_special_symbol()
84 GElf_Shdr shdr_mem; in aarch64_check_special_symbol()
85 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.c55 GElf_Shdr refshdr_mem, *refshdr = gelf_getshdr (refscn, &refshdr_mem); in __libdwfl_relocate_value()
131 GElf_Shdr shdr_mem, *shdr = gelf_getshdr (scn, &shdr_mem); in relocate_getsym()
227 GElf_Shdr shdr_mem; in resolve_symbol()
228 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in resolve_symbol()
504 Elf_Scn *scn, GElf_Shdr *shdr, in relocate_section()
509 GElf_Shdr tshdr_mem; in relocate_section()
510 GElf_Shdr *tshdr = gelf_getshdr (tscn, &tshdr_mem); in relocate_section()
552 GElf_Shdr shdr_mem; in relocate_section()
773 GElf_Shdr shdr_mem; in __libdwfl_relocate()
774 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in __libdwfl_relocate()
[all …]
Doffline.c50 const GElf_Shdr *shdr __attribute__ ((unused)), in dwfl_offline_section_address()
72 GElf_Shdr shdr_mem; in dwfl_offline_section_address()
73 GElf_Shdr *sh = gelf_getshdr (scn, &shdr_mem); in dwfl_offline_section_address()
83 GElf_Shdr shdr_mem; in dwfl_offline_section_address()
84 GElf_Shdr *main_shdr = gelf_getshdr (scn, &shdr_mem); in dwfl_offline_section_address()
/external/bcc/src/cc/
Dbcc_elf.c64 GElf_Shdr *probes_shdr, in parse_stapsdt_note()
97 static int do_note_segment(Elf_Scn *section, GElf_Shdr *probes_shdr, int elf_class, in do_note_segment()
144 GElf_Shdr probes_shdr = {}; in listprobes()
151 GElf_Shdr header; in listprobes()
177 GElf_Shdr header; in listprobes()
188 GElf_Shdr *shdr_ptr = found_probes_shdr ? &probes_shdr : NULL; in listprobes()
214 GElf_Shdr *section_hdr, size_t *section_idx) { in get_section()
216 GElf_Shdr header; in get_section()
250 GElf_Shdr opdshdr = {}; in list_in_scn()
339 GElf_Shdr header; in listsymbols()
[all …]

1234