Home
last modified time | relevance | path

Searched refs:GElf_Ehdr (Results 1 – 25 of 61) sorted by relevance

123

/external/elfutils/libelf/
Dgelf_getehdr.c42 GElf_Ehdr *
44 __gelf_getehdr_rdlock (Elf *elf, GElf_Ehdr *dest) in __gelf_getehdr_rdlock()
46 GElf_Ehdr *result = NULL; in __gelf_getehdr_rdlock()
96 GElf_Ehdr *
97 gelf_getehdr (Elf *elf, GElf_Ehdr *dest) in gelf_getehdr()
99 GElf_Ehdr *result; in gelf_getehdr()
Dgelf.h62 typedef Elf64_Ehdr GElf_Ehdr; typedef
163 extern GElf_Ehdr *gelf_getehdr (Elf *__elf, GElf_Ehdr *__dest);
166 extern int gelf_update_ehdr (Elf *__elf, GElf_Ehdr *__src);
Delf_getdata.c129 GElf_Ehdr ehdr_mem; in __libelf_data_type()
130 GElf_Ehdr *ehdr = __gelf_getehdr_rdlock (elf, &ehdr_mem); in __libelf_data_type()
271 GElf_Ehdr ehdr_mem; in __libelf_set_rawdata_wrlock()
272 GElf_Ehdr *ehdr = __gelf_getehdr_rdlock (elf, &ehdr_mem); in __libelf_set_rawdata_wrlock()
/external/elfutils/libdw/
Ddwarf_getcfi_elf.c74 const GElf_Ehdr *ehdr, GElf_Addr *eh_frame_vaddr, in parse_eh_frame_hdr()
126 getcfi_gnu_eh_frame (Elf *elf, const GElf_Ehdr *ehdr, const GElf_Phdr *phdr) in getcfi_gnu_eh_frame()
194 getcfi_phdr (Elf *elf, const GElf_Ehdr *ehdr) in getcfi_phdr()
215 getcfi_scn_eh_frame (Elf *elf, const GElf_Ehdr *ehdr, in getcfi_scn_eh_frame()
271 getcfi_shdr (Elf *elf, const GElf_Ehdr *ehdr) in getcfi_shdr()
322 GElf_Ehdr ehdr_mem; in dwarf_getcfi_elf()
323 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem); in dwarf_getcfi_elf()
Ddwarf_begin_elf.c68 check_section (Dwarf *result, GElf_Ehdr *ehdr, Elf_Scn *scn, bool inscngrp) in check_section()
217 global_read (Dwarf *result, Elf *elf, GElf_Ehdr *ehdr) in global_read()
229 scngrp_read (Dwarf *result, Elf *elf, GElf_Ehdr *ehdr, Elf_Scn *scngrp) in scngrp_read()
290 GElf_Ehdr *ehdr; in dwarf_begin_elf()
291 GElf_Ehdr ehdr_mem; in dwarf_begin_elf()
/external/elfutils/tests/
Dasm-tst1.c33 static const GElf_Ehdr expected_ehdr =
70 GElf_Ehdr ehdr_mem; in main()
71 GElf_Ehdr *ehdr; in main()
147 if (memcmp (ehdr, &expected_ehdr, sizeof (GElf_Ehdr)) != 0) in main()
Dasm-tst2.c33 static const GElf_Ehdr expected_ehdr =
70 GElf_Ehdr ehdr_mem; in main()
71 GElf_Ehdr *ehdr; in main()
163 if (memcmp (ehdr, &expected_ehdr, sizeof (GElf_Ehdr)) != 0) in main()
Dasm-tst9.c41 static const GElf_Ehdr expected_ehdr =
90 GElf_Ehdr ehdr_mem; in main()
91 GElf_Ehdr *ehdr; in main()
197 if (memcmp (ehdr, &expected_ehdr, sizeof (GElf_Ehdr)) != 0) in main()
Decp.c57 GElf_Ehdr ehdr_mem; in main()
58 GElf_Ehdr *ehdr; in main()
Dsectiondump.c80 GElf_Ehdr *ehdr; in handle_section()
81 GElf_Ehdr ehdr_mem; in handle_section()
Dasm-tst3.c62 GElf_Ehdr ehdr_mem; in main()
63 GElf_Ehdr *ehdr; in main()
Ddwflsyms.c90 GElf_Ehdr ehdr; in elf_section_name()
139 GElf_Ehdr ehdr; in list_syms()
/external/elfutils/libdwelf/
Ddwelf_elf_gnu_debuglink.c87 GElf_Ehdr ehdr_mem; in dwelf_elf_gnu_debuglink()
88 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem); in dwelf_elf_gnu_debuglink()
/external/elfutils/libasm/
Dasm_begin.c72 GElf_Ehdr *ehdr; in prepare_binary_output()
73 GElf_Ehdr ehdr_mem; in prepare_binary_output()
Ddisasm_cb.c120 GElf_Ehdr ehdr_mem; in read_symtab()
121 GElf_Ehdr *ehdr = gelf_getehdr (ctx->elf, &ehdr_mem); in read_symtab()
/external/google-breakpad/src/common/solaris/
Dfile_id.cc79 GElf_Ehdr elf_header; in FindElfTextSection()
84 if (gelf_getehdr(elf, &elf_header) == (GElf_Ehdr *)NULL) { in FindElfTextSection()
Ddump_symbols.cc212 bool IsValidElf(const GElf_Ehdr *elf_header) { in IsValidElf()
434 bool LoadSymbols(Elf *elf, GElf_Ehdr *elf_header, struct SymbolInfo *symbols, in LoadSymbols()
657 GElf_Ehdr elf_header; in WriteSymbolFile()
661 if (gelf_getehdr(elf, &elf_header) == (GElf_Ehdr *)NULL) { in WriteSymbolFile()
/external/elfutils/backends/
Dcommon-reloc.c114 GElf_Ehdr ehdr_mem; in EBLHOOK()
115 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem); in EBLHOOK()
/external/elfutils/libdwfl/
Drelocate.c320 const GElf_Ehdr * const ehdr, in relocate()
478 relocate_section (Dwfl_Module *mod, Elf *relocated, const GElf_Ehdr *ehdr, in relocate_section()
706 GElf_Ehdr ehdr_mem; in __libdwfl_relocate()
707 const GElf_Ehdr *ehdr = gelf_getehdr (debugfile, &ehdr_mem); in __libdwfl_relocate()
750 GElf_Ehdr ehdr_mem; in __libdwfl_relocate_section()
/external/elfutils/libebl/
Deblopenbackend.c184 static bool default_check_special_symbol (Elf *elf, GElf_Ehdr *ehdr,
399 GElf_Ehdr ehdr_mem; in ebl_openbackend()
400 GElf_Ehdr *ehdr; in ebl_openbackend()
683 GElf_Ehdr *ehdr __attribute__ ((unused)), in strong_alias()
Debl_check_special_symbol.c38 ebl_check_special_symbol (Ebl *ebl, GElf_Ehdr *ehdr, const GElf_Sym *sym, in ebl_check_special_symbol()
/external/elfutils/src/
Dreadelf.c246 static void print_ehdr (Ebl *ebl, GElf_Ehdr *ehdr);
247 static void print_shdr (Ebl *ebl, GElf_Ehdr *ehdr);
248 static void print_phdr (Ebl *ebl, GElf_Ehdr *ehdr);
251 static void print_relocs (Ebl *ebl, GElf_Ehdr *ehdr);
252 static void handle_relocs_rel (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn,
254 static void handle_relocs_rela (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn,
263 static void print_debug (Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr);
265 static void handle_notes (Ebl *ebl, GElf_Ehdr *ehdr);
267 static void print_attributes (Ebl *ebl, const GElf_Ehdr *ehdr);
831 GElf_Ehdr ehdr_mem; in process_elf_file()
[all …]
Darlib.c219 GElf_Ehdr ehdr_mem; in arlib_add_symbols()
220 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem); in arlib_add_symbols()
Delflint.c96 static void check_note_section (Ebl *ebl, GElf_Ehdr *ehdr,
354 check_elf_header (Ebl *ebl, GElf_Ehdr *ehdr, size_t size) in check_elf_header()
586 check_symtab (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_symtab()
1055 is_rel_dyn (Ebl *ebl, const GElf_Ehdr *ehdr, int idx, const GElf_Shdr *shdr, in is_rel_dyn()
1229 check_reloc_shdr (Ebl *ebl, const GElf_Ehdr *ehdr, const GElf_Shdr *shdr, in check_reloc_shdr()
1351 check_one_reloc (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *relshdr, int idx, in check_one_reloc()
1472 check_rela (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_rela()
1523 check_rel (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_rel()
1578 check_dynamic (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_dynamic()
1909 check_symtab_shndx (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_symtab_shndx()
[all …]
Dnm.c883 class_type_char (Elf *elf, const GElf_Ehdr *ehdr, GElf_Sym *sym) in class_type_char()
923 show_symbols_bsd (Elf *elf, const GElf_Ehdr *ehdr, GElf_Word strndx, in show_symbols_bsd()
1055 show_symbols_posix (Elf *elf, const GElf_Ehdr *ehdr, GElf_Word strndx, in show_symbols_posix()
1212 show_symbols (int fd, Ebl *ebl, GElf_Ehdr *ehdr, in show_symbols()
1519 GElf_Ehdr ehdr_mem; in handle_elf()
1520 GElf_Ehdr *ehdr; in handle_elf()

123