Home
last modified time | relevance | path

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

123

/external/elfutils/0.153/libelf/
Dgelf_getshdr.c61 GElf_Shdr *
64 GElf_Shdr *dst;
66 GElf_Shdr *result = NULL;
118 result = memcpy (dst, shdr, sizeof (GElf_Shdr));
Dgelf.h86 typedef Elf64_Shdr GElf_Shdr; typedef
193 extern GElf_Shdr *gelf_getshdr (Elf_Scn *__scn, GElf_Shdr *__dst);
196 extern int gelf_update_shdr (Elf_Scn *__scn, GElf_Shdr *__src);
Dgelf_update_shdr.c62 gelf_update_shdr (Elf_Scn *scn, GElf_Shdr *src) in gelf_update_shdr()
120 (void) memcpy (shdr, src, sizeof (GElf_Shdr)); in gelf_update_shdr()
Delf32_checksum.c120 GElf_Shdr shdr_mem;
121 GElf_Shdr *shdr;
/external/elfutils/0.153/src/
Dobjdump.c369 show_relocs_x (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *symdata, in show_relocs_x()
393 GElf_Shdr destshdr_mem; in show_relocs_x()
394 GElf_Shdr *destshdr; in show_relocs_x()
425 show_relocs_rel (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rel()
445 show_relocs_rela (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rela()
465 section_match (Elf *elf, uint32_t scnndx, GElf_Shdr *shdr, size_t shstrndx) in section_match()
502 GElf_Shdr shdr_mem; in show_relocs()
503 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_relocs()
513 GElf_Shdr destshdr_mem; in show_relocs()
514 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (ebl->elf, in show_relocs()
[all …]
Delflint.c105 GElf_Shdr *shdr, int idx);
320 GElf_Shdr shdr_mem; in section_name()
321 GElf_Shdr *shdr; in section_name()
443 GElf_Shdr shdr_mem; in check_elf_header()
444 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
460 GElf_Shdr shdr_mem; in check_elf_header()
461 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
474 GElf_Shdr shdr_mem; in check_elf_header()
475 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
544 GElf_Shdr shdr_mem; in check_scn_group()
[all …]
Dunstrip.c278 GElf_Shdr shdr_mem; in copy_elf()
321 section_can_shrink (const GElf_Shdr *shdr) in section_can_shrink()
351 GElf_Shdr shdr_mem; in symtab_count_leading_section_symbols()
352 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, i), &shdr_mem); in symtab_count_leading_section_symbols()
372 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr()
382 GElf_Shdr shdr_mem; in update_sh_size()
383 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in update_sh_size()
393 adjust_relocs (Elf_Scn *outscn, Elf_Scn *inscn, const GElf_Shdr *shdr, in adjust_relocs()
394 size_t map[], const GElf_Shdr *symshdr) in adjust_relocs()
431 GElf_Shdr shdr_mem; in adjust_relocs()
[all …]
Dreadelf.c230 GElf_Shdr *shdr);
232 GElf_Shdr *shdr);
234 static void handle_symtab (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
236 static void handle_verneed (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
237 static void handle_verdef (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
239 GElf_Shdr *shdr);
813 GElf_Shdr shdr_mem; in print_ehdr()
814 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in print_ehdr()
830 GElf_Shdr shdr_mem; in print_ehdr()
831 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in print_ehdr()
[all …]
Dsize.c431 GElf_Shdr shdr_mem; in show_sysv()
432 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv()
464 GElf_Shdr shdr_mem; in show_sysv()
465 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv()
515 GElf_Shdr shdr_mem; in show_sysv_one_line()
516 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv_one_line()
562 GElf_Shdr shdr_mem; in show_bsd()
563 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_bsd()
Dfindtextrel.c271 GElf_Shdr shdr_mem; in process_file()
272 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
405 GElf_Shdr shdr_mem; in process_file()
406 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
541 GElf_Shdr shdr_mem; in check_rel()
542 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem); in check_rel()
/external/elfutils/0.153/libebl/
Deblsectionstripp.c59 ebl_section_strip_p (Ebl *ebl, const GElf_Ehdr *ehdr, const GElf_Shdr *shdr, in ebl_section_strip_p()
73 GElf_Shdr shdr_mem_l; in ebl_section_strip_p()
74 GElf_Shdr *shdr_l = gelf_getshdr (scn_l, &shdr_mem_l); in ebl_section_strip_p()
Debl-hooks.h90 const GElf_Shdr *, const char *);
146 const char *, const GElf_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/0.153/backends/
Dalpha_symbol.c85 const GElf_Shdr *shdr, in alpha_check_special_section()
100 GElf_Shdr scn_shdr; in alpha_check_special_section()
133 const GElf_Shdr *destshdr __attribute__ ((unused))) in alpha_check_special_symbol()
Dppc_symbol.c91 GElf_Shdr shdr_mem; in find_dyn_got()
92 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in find_dyn_got()
118 const char *name, const GElf_Shdr *destshdr) in ppc_check_special_symbol()
Dsparc_symbol.c73 const GElf_Shdr *shdr, in sparc_check_special_section()
87 GElf_Shdr scn_shdr; in sparc_check_special_section()
/external/elfutils/0.153/libdwfl/
Doffline.c66 const GElf_Shdr *shdr __attribute__ ((unused)), in dwfl_offline_section_address()
87 GElf_Shdr shdr_mem; in dwfl_offline_section_address()
88 GElf_Shdr *sh = gelf_getshdr (scn, &shdr_mem); in dwfl_offline_section_address()
98 GElf_Shdr shdr_mem; in dwfl_offline_section_address()
99 GElf_Shdr *main_shdr = gelf_getshdr (scn, &shdr_mem); in dwfl_offline_section_address()
Drelocate.c65 GElf_Shdr refshdr_mem, *refshdr = gelf_getshdr (refscn, &refshdr_mem); in __libdwfl_relocate_value()
141 GElf_Shdr shdr_mem, *shdr = gelf_getshdr (scn, &shdr_mem); in relocate_getsym()
298 Elf_Scn *scn, GElf_Shdr *shdr, in relocate_section()
302 GElf_Shdr tshdr_mem; in relocate_section()
303 GElf_Shdr *tshdr = gelf_getshdr (tscn, &tshdr_mem); in relocate_section()
614 GElf_Shdr shdr_mem; in __libdwfl_relocate()
615 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in __libdwfl_relocate()
641 GElf_Shdr shdr_mem; in __libdwfl_relocate_section()
Ddwfl_report_elf.c91 GElf_Shdr shdr_mem; in __libdwfl_report_elf()
92 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in __libdwfl_report_elf()
124 GElf_Shdr prev_shdr_mem; in __libdwfl_report_elf()
125 GElf_Shdr *prev_shdr = gelf_getshdr (prev_scn, in __libdwfl_report_elf()
Ddwfl_module_getsym.c83 GElf_Shdr shdr_mem; in dwfl_module_getsym()
84 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (mod->symfile->elf, shndx), in dwfl_module_getsym()
Dderelocate.c111 GElf_Shdr shdr_mem; in cache_sections()
112 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in cache_sections()
203 GElf_Shdr shdr_mem; in cache_sections()
204 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in cache_sections()
/external/elfutils/0.153/libasm/
Dasm_newscn_ingrp.c67 GElf_Shdr shdr_mem;
68 GElf_Shdr *shdr = gelf_getshdr (result->data.main.scn, &shdr_mem);
/external/linux-tools-perf/perf-3.12.0/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 …]
Dsymbol.h197 GElf_Shdr opdshdr;
200 GElf_Shdr symshdr;
204 GElf_Shdr dynshdr;

123