Home
last modified time | relevance | path

Searched refs:GElf_Shdr (Results 1 – 25 of 86) 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.c255 GElf_Shdr shdr0_mem; in copy_elf()
256 GElf_Shdr *shdr0 = gelf_getshdr (scn0, &shdr0_mem); in copy_elf()
288 GElf_Shdr shdr_mem; in copy_elf()
363 section_can_shrink (const GElf_Shdr *shdr) in section_can_shrink()
393 GElf_Shdr shdr_mem; in symtab_count_leading_section_symbols()
394 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, i), &shdr_mem); in symtab_count_leading_section_symbols()
414 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr()
424 GElf_Shdr shdr_mem; in update_sh_size()
425 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in update_sh_size()
435 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);
649 GElf_Shdr shdr_mem; in open_input_section()
650 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in open_input_section()
918 GElf_Shdr shdr_mem; in elf_contains_chdrs()
919 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in elf_contains_chdrs()
[all …]
/external/elfutils/tests/
Delfputzdata.c77 GElf_Shdr mem; in main()
78 GElf_Shdr *shdr = gelf_getshdr (scn, &mem); in main()
150 GElf_Shdr newmem; in main()
151 GElf_Shdr *newshdr = gelf_getshdr (scn, &newmem); in main()
202 GElf_Shdr newermem; in main()
203 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.c78 GElf_Shdr shdr_mem; in create_strtab()
79 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in create_strtab()
139 GElf_Shdr shdr_mem; in add_data_section()
140 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in add_data_section()
300 GElf_Shdr shdr_mem; in check_elf()
301 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in check_elf()
372 GElf_Shdr shdr_mem; in check_elf()
373 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.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()
/external/elfutils/libasm/
Dasm_newscn_ingrp.c66 GElf_Shdr shdr_mem; in asm_newscn_ingrp()
67 GElf_Shdr *shdr = gelf_getshdr (result->data.main.scn, &shdr_mem); in asm_newscn_ingrp()

1234