Home
last modified time | relevance | path

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

1234

/third_party/libabigail/src/
Dabg-elf-helpers.cc316 GElf_Shdr header_mem, *header; in find_section_by_name()
351 GElf_Shdr header_mem, *header; in find_section()
382 GElf_Shdr header_mem, *header; in find_section()
485 GElf_Shdr header_mem, *section_header; in find_hash_table_section_index()
591 GElf_Shdr mem; in get_symbol_versionning_sections()
596 GElf_Shdr* h = gelf_getshdr(section, &mem); in get_symbol_versionning_sections()
670 GElf_Shdr header_mem, *header; in find_relocation_section()
699 GElf_Shdr symtab_shdr_mem, *symtab_shdr; in find_strtab_for_symtab_section()
751 GElf_Shdr header_mem; in get_version_definition_for_versym()
752 GElf_Shdr* verdef_section_header = gelf_getshdr(verdef_section, in get_version_definition_for_versym()
[all …]
/third_party/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()
Dreadelf.c306 GElf_Shdr *shdr);
308 GElf_Shdr *shdr);
310 static void handle_symtab (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
312 static void handle_verneed (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
313 static void handle_verdef (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
315 GElf_Shdr *shdr);
677 GElf_Shdr shdr_mem; in open_input_section()
678 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in open_input_section()
946 GElf_Shdr shdr_mem; in elf_contains_chdrs()
947 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in elf_contains_chdrs()
[all …]
Dfindtextrel.c248 GElf_Shdr shdr_mem; in process_file()
249 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
378 GElf_Shdr shdr_mem; in process_file()
379 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
516 GElf_Shdr shdr_mem; in check_rel()
517 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem); in check_rel()
/third_party/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()
/third_party/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);
/third_party/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()
/third_party/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()
/third_party/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()
/third_party/elfutils/libdw/
Ddwarf_begin_elf.c76 GElf_Shdr shdr_mem; in scn_dwarf_type()
77 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in scn_dwarf_type()
101 GElf_Shdr shdr_mem; in check_section()
102 GElf_Shdr *shdr; in check_section()
416 GElf_Shdr shdr_mem; in scngrp_read()
417 GElf_Shdr *shdr = gelf_getshdr (scngrp, &shdr_mem); in scngrp_read()

1234