Home
last modified time | relevance | path

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

123

/external/elfutils/src/src/
Dobjdump.c361 show_relocs_x (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *symdata, in show_relocs_x()
385 GElf_Shdr destshdr_mem; in show_relocs_x()
386 GElf_Shdr *destshdr; in show_relocs_x()
417 show_relocs_rel (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rel()
438 show_relocs_rela (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rela()
459 section_match (Elf *elf, uint32_t scnndx, GElf_Shdr *shdr, size_t shstrndx) in section_match()
496 GElf_Shdr shdr_mem; in show_relocs()
497 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_relocs()
507 GElf_Shdr destshdr_mem; in show_relocs()
508 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (ebl->elf, in show_relocs()
[all …]
Delflint.c97 GElf_Shdr *shdr, int idx);
316 GElf_Shdr shdr_mem; in section_name()
317 GElf_Shdr *shdr; in section_name()
444 GElf_Shdr shdr_mem; in check_elf_header()
445 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
461 GElf_Shdr shdr_mem; in check_elf_header()
462 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
475 GElf_Shdr shdr_mem; in check_elf_header()
476 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
545 GElf_Shdr shdr_mem; in check_scn_group()
[all …]
Dunstrip.c281 GElf_Shdr shdr_mem; in copy_elf()
324 section_can_shrink (const GElf_Shdr *shdr) in section_can_shrink()
354 GElf_Shdr shdr_mem; in symtab_count_leading_section_symbols()
355 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, i), &shdr_mem); in symtab_count_leading_section_symbols()
375 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr()
385 GElf_Shdr shdr_mem; in update_sh_size()
386 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in update_sh_size()
396 adjust_relocs (Elf_Scn *outscn, Elf_Scn *inscn, const GElf_Shdr *shdr, in adjust_relocs()
397 size_t map[], const GElf_Shdr *symshdr) in adjust_relocs()
434 GElf_Shdr shdr_mem; in adjust_relocs()
[all …]
Dreadelf.c247 GElf_Shdr *shdr);
249 GElf_Shdr *shdr);
251 static void handle_symtab (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
253 static void handle_verneed (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
254 static void handle_verdef (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
256 GElf_Shdr *shdr);
550 GElf_Shdr shdr_mem; in open_input_section()
551 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in open_input_section()
1000 GElf_Shdr shdr_mem; in print_ehdr()
1001 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in print_ehdr()
[all …]
Dsize.c423 GElf_Shdr shdr_mem; in show_sysv()
424 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv()
447 GElf_Shdr shdr_mem; in show_sysv()
448 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv()
494 GElf_Shdr shdr_mem; in show_sysv_one_line()
495 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv_one_line()
543 GElf_Shdr shdr_mem; in show_bsd()
544 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_bsd()
Dfindtextrel.c263 GElf_Shdr shdr_mem; in process_file()
264 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
403 GElf_Shdr shdr_mem; in process_file()
404 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
539 GElf_Shdr shdr_mem; in check_rel()
540 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem); in check_rel()
/external/elfutils/src/libelf/
Dgelf_getshdr.c40 GElf_Shdr *
43 GElf_Shdr *dst;
45 GElf_Shdr *result = NULL;
97 result = memcpy (dst, shdr, sizeof (GElf_Shdr));
Dgelf.h65 typedef Elf64_Shdr GElf_Shdr; typedef
172 extern GElf_Shdr *gelf_getshdr (Elf_Scn *__scn, GElf_Shdr *__dst);
175 extern int gelf_update_shdr (Elf_Scn *__scn, GElf_Shdr *__src);
Dgelf_update_shdr.c41 gelf_update_shdr (Elf_Scn *scn, GElf_Shdr *src) in gelf_update_shdr()
99 (void) memcpy (shdr, src, sizeof (GElf_Shdr)); in gelf_update_shdr()
/external/ltrace/
Dltrace-elf.h111 Elf_Data *elf_loaddata(Elf_Scn *scn, GElf_Shdr *shdr);
119 Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr);
121 Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr);
123 Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr);
139 int elf_read_relocs(struct ltelf *lte, Elf_Scn *scn, GElf_Shdr *shdr,
Dltrace-elf.c116 elf_loaddata(Elf_Scn *scn, GElf_Shdr *shdr) in elf_loaddata()
126 elf_get_section_if(struct ltelf *lte, Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr, in elf_get_section_if() argument
127 int (*predicate)(Elf_Scn *, GElf_Shdr *, void *data), in elf_get_section_if()
133 GElf_Shdr shdr; in elf_get_section_if()
152 inside_p(Elf_Scn *scn, GElf_Shdr *shdr, void *data) in inside_p()
161 Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr) in elf_get_section_covering()
168 type_p(Elf_Scn *scn, GElf_Shdr *shdr, void *data) in type_p()
176 Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr) in elf_get_section_type()
188 name_p(Elf_Scn *scn, GElf_Shdr *shdr, void *d) in name_p()
199 Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr) in elf_get_section_named()
[all …]
/external/elfutils/src/libebl/
Deblsectionstripp.c38 ebl_section_strip_p (Ebl *ebl, const GElf_Ehdr *ehdr, 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/src/backends/
Daarch64_symbol.c63 const char *name, const GElf_Shdr *destshdr) in aarch64_check_special_symbol()
74 GElf_Shdr shdr_mem; in aarch64_check_special_symbol()
75 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in aarch64_check_special_symbol()
Dalpha_symbol.c88 const GElf_Shdr *shdr, in alpha_check_special_section()
103 GElf_Shdr scn_shdr; in alpha_check_special_section()
136 const GElf_Shdr *destshdr __attribute__ ((unused))) in alpha_check_special_symbol()
Dppc_symbol.c98 GElf_Shdr shdr_mem; in find_dyn_got()
99 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in find_dyn_got()
125 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/src/libdwfl/
Doffline.c45 const GElf_Shdr *shdr __attribute__ ((unused)), in dwfl_offline_section_address()
67 GElf_Shdr shdr_mem; in dwfl_offline_section_address()
68 GElf_Shdr *sh = gelf_getshdr (scn, &shdr_mem); in dwfl_offline_section_address()
78 GElf_Shdr shdr_mem; in dwfl_offline_section_address()
79 GElf_Shdr *main_shdr = gelf_getshdr (scn, &shdr_mem); in dwfl_offline_section_address()
Drelocate.c48 GElf_Shdr refshdr_mem, *refshdr = gelf_getshdr (refscn, &refshdr_mem); in __libdwfl_relocate_value()
124 GElf_Shdr shdr_mem, *shdr = gelf_getshdr (scn, &shdr_mem); in relocate_getsym()
283 Elf_Scn *scn, GElf_Shdr *shdr, in relocate_section()
287 GElf_Shdr tshdr_mem; in relocate_section()
288 GElf_Shdr *tshdr = gelf_getshdr (tscn, &tshdr_mem); in relocate_section()
642 GElf_Shdr shdr_mem; in __libdwfl_relocate()
643 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in __libdwfl_relocate()
669 GElf_Shdr shdr_mem; in __libdwfl_relocate_section()
Ddwfl_report_elf.c73 GElf_Shdr shdr_mem; in __libdwfl_elf_address_range()
74 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in __libdwfl_elf_address_range()
106 GElf_Shdr prev_shdr_mem; in __libdwfl_elf_address_range()
107 GElf_Shdr *prev_shdr = gelf_getshdr (prev_scn, in __libdwfl_elf_address_range()
/external/elfutils/src/tests/
Ddwflsyms.c91 GElf_Shdr shdr; in elf_section_name()
101 GElf_Shdr shdr; in addr_in_section()
191 GElf_Shdr shdr_mem; in list_syms()
192 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in list_syms()
Dtest-elf_cntl_gelf_getshdr.c96 GElf_Shdr shdr_mem; in main()
97 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in main()
/external/linux-tools-perf/src/tools/perf/util/
Dsymbol-elf.c88 static inline const char *elf_sec__name(const GElf_Shdr *shdr, in elf_sec__name()
94 static inline int elf_sec__is_text(const GElf_Shdr *shdr, in elf_sec__is_text()
100 static inline bool elf_sec__is_data(const GElf_Shdr *shdr, in elf_sec__is_data()
106 static bool elf_sec__is_a(GElf_Shdr *shdr, Elf_Data *secstrs, in elf_sec__is_a()
122 GElf_Shdr shdr; in elf_addr_to_index()
139 GElf_Shdr *shp, const char *name, in elf_section_by_name()
188 GElf_Shdr shdr_plt; in dso__synthesize_plt_symbols()
190 GElf_Shdr shdr_rel_plt, shdr_dynsym; in dso__synthesize_plt_symbols()
320 GElf_Shdr shdr; in elf_read_build_id()
473 GElf_Shdr shdr; in filename__read_debuglink()
[all …]
/external/elfutils/src/libasm/
Dasm_newscn_ingrp.c70 GElf_Shdr shdr_mem;
71 GElf_Shdr *shdr = gelf_getshdr (result->data.main.scn, &shdr_mem);
/external/elfutils/src/libdwelf/
Ddwelf_elf_gnu_debuglink.c45 GElf_Shdr shdr_mem; in dwelf_elf_gnu_debuglink()
46 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in dwelf_elf_gnu_debuglink()

123