Home
last modified time | relevance | path

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

123

/external/elfutils/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/src/
Dobjdump.c361 show_relocs_rel (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rel()
402 GElf_Shdr destshdr_mem; in show_relocs_rel()
403 GElf_Shdr *destshdr; in show_relocs_rel()
434 show_relocs_rela (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, in show_relocs_rela()
475 GElf_Shdr destshdr_mem; in show_relocs_rela()
476 GElf_Shdr *destshdr; in show_relocs_rela()
511 section_match (Elf *elf, uint32_t scnndx, GElf_Shdr *shdr, size_t shstrndx) in section_match()
548 GElf_Shdr shdr_mem; in show_relocs()
549 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_relocs()
559 GElf_Shdr destshdr_mem; in show_relocs()
[all …]
Delflint.c105 GElf_Shdr *shdr, int idx);
321 GElf_Shdr shdr_mem; in section_name()
322 GElf_Shdr *shdr; in section_name()
442 GElf_Shdr shdr_mem; in check_elf_header()
443 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
459 GElf_Shdr shdr_mem; in check_elf_header()
460 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
525 GElf_Shdr shdr_mem; in check_scn_group()
526 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in check_scn_group()
563 check_symtab (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_symtab()
[all …]
Dreadelf.c212 static void handle_relocs_rel (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
213 static void handle_relocs_rela (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
215 static void handle_symtab (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
217 static void handle_verneed (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
218 static void handle_verdef (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr);
220 GElf_Shdr *shdr);
766 GElf_Shdr shdr_mem; in print_ehdr()
767 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in print_ehdr()
778 GElf_Shdr shdr_mem; in print_ehdr()
779 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in print_ehdr()
[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()
375 GElf_Shdr shdr_mem; in update_sh_size()
376 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in update_sh_size()
387 adjust_relocs (Elf_Scn *outscn, Elf_Scn *inscn, const GElf_Shdr *shdr, in adjust_relocs()
388 size_t map[], const GElf_Shdr *symshdr) in adjust_relocs()
425 GElf_Shdr shdr_mem; in adjust_relocs()
426 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in adjust_relocs()
[all …]
Dsize.c424 GElf_Shdr shdr_mem; in show_sysv()
425 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv()
457 GElf_Shdr shdr_mem; in show_sysv()
458 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv()
508 GElf_Shdr shdr_mem; in show_sysv_one_line()
509 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_sysv_one_line()
555 GElf_Shdr shdr_mem; in show_bsd()
556 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in show_bsd()
Dfindtextrel.c266 GElf_Shdr shdr_mem; in process_file()
267 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
389 GElf_Shdr shdr_mem; in process_file()
390 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
525 GElf_Shdr shdr_mem; in check_rel()
526 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem); in check_rel()
/external/elfutils/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 *);
145 const char *, const GElf_Shdr *);
Dlibebl.h148 const GElf_Shdr *shdr, const char *name);
169 const GElf_Shdr *destshdr);
214 const GElf_Shdr *shdr, const char *name,
/external/elfutils/backends/
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()
Dalpha_symbol.c84 const GElf_Shdr *shdr, in alpha_check_special_section()
99 GElf_Shdr scn_shdr; in alpha_check_special_section()
Dsparc_symbol.c73 const GElf_Shdr *shdr, in sparc_check_special_section()
87 GElf_Shdr scn_shdr; in sparc_check_special_section()
/external/elfutils/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()
Ddwfl_report_elf.c89 GElf_Shdr shdr_mem; in __libdwfl_report_elf()
90 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in __libdwfl_report_elf()
122 GElf_Shdr prev_shdr_mem; in __libdwfl_report_elf()
123 GElf_Shdr *prev_shdr = gelf_getshdr (prev_scn, in __libdwfl_report_elf()
Drelocate.c63 GElf_Shdr refshdr_mem, *refshdr = gelf_getshdr (refscn, &refshdr_mem); in __libdwfl_relocate_value()
137 GElf_Shdr shdr_mem, *shdr = gelf_getshdr (scn, &shdr_mem); in relocate_getsym()
285 Elf_Scn *scn, GElf_Shdr *shdr, in relocate_section()
289 GElf_Shdr tshdr_mem; in relocate_section()
290 GElf_Shdr *tshdr = gelf_getshdr (tscn, &tshdr_mem); in relocate_section()
587 GElf_Shdr shdr_mem; in __libdwfl_relocate()
588 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in __libdwfl_relocate()
614 GElf_Shdr shdr_mem; in __libdwfl_relocate_section()
Dderelocate.c108 GElf_Shdr shdr_mem; in cache_sections()
109 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in cache_sections()
199 GElf_Shdr shdr_mem; in cache_sections()
200 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in cache_sections()
Ddwfl_module_addrsym.c79 GElf_Shdr shdr_mem; in dwfl_module_addrsym()
80 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in dwfl_module_addrsym()
/external/elfutils/libasm/
Dasm_newscn_ingrp.c67 GElf_Shdr shdr_mem;
68 GElf_Shdr *shdr = gelf_getshdr (result->data.main.scn, &shdr_mem);
Ddisasm_cb.c80 GElf_Shdr shdr_mem; in read_symtab_exec()
81 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in read_symtab_exec()
/external/elfutils/tests/
Dasm-tst7.c107 GElf_Shdr shdr_mem; in main()
108 GElf_Shdr *shdr; in main()
Dasm-tst8.c108 GElf_Shdr shdr_mem; in main()
109 GElf_Shdr *shdr; in main()

123