Home
last modified time | relevance | path

Searched defs:ehdr (Results 1 – 25 of 165) sorted by relevance

1234567

/aosp_15_r20/system/unwinding/libunwindstack/tests/
H A DMapInfoGetElfTest.cpp52 static void InitElf(uint64_t sh_offset, Ehdr* ehdr, uint8_t class_type, uint8_t machine_type) { in InitElf()
82 Elf32_Ehdr ehdr; in TEST_F() local
101 Elf64_Ehdr ehdr; in TEST_F() local
114 Elf32_Ehdr ehdr; in TEST_F() local
155 Elf32_Ehdr ehdr; in TEST_F() local
183 Elf32_Ehdr ehdr; in TEST_F() local
213 Elf32_Ehdr ehdr; in TEST_F() local
243 Elf32_Ehdr ehdr; in TEST_F() local
271 Elf64_Ehdr ehdr; in TEST_F() local
302 Elf64_Ehdr ehdr; in TEST_F() local
[all …]
H A DElfInterfaceTest.cpp185 Ehdr ehdr = {}; in SinglePtLoad() local
223 Ehdr ehdr = {}; in MultipleExecutablePtLoads() local
290 Ehdr ehdr = {}; in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr() local
359 Ehdr ehdr = {}; in NonExecutablePtLoads() local
416 Ehdr ehdr = {}; in ManyPhdrs() local
486 Elf32_Ehdr ehdr = {}; in TEST_F() local
520 Ehdr ehdr = {}; in SonameInit() local
725 Ehdr ehdr = {}; in InitProgramHeadersMalformed() local
748 Ehdr ehdr = {}; in InitSectionHeadersMalformed() local
773 Ehdr ehdr = {}; in InitSectionHeadersMalformedSymData() local
[all …]
H A DMapInfoCreateMemoryTest.cpp49 Ehdr ehdr; in InitElf() local
255 Elf32_Ehdr ehdr = {}; in TEST_F() local
288 Elf32_Ehdr ehdr = {}; in TEST_F() local
330 Elf32_Ehdr ehdr = {}; in TEST_F() local
373 Elf32_Ehdr ehdr = {}; in TEST_F() local
410 Elf64_Ehdr ehdr; in TEST_F() local
450 Elf64_Ehdr ehdr = {}; in TEST_F() local
H A DGenGnuDebugdata.cpp30 void InitEhdr(Ehdr* ehdr, uint32_t elf_class, uint32_t machine) { in InitEhdr()
44 void GenElf(Ehdr* ehdr, int fd) { in GenElf()
H A DElfTestUtils.cpp37 void TestInitEhdr(Ehdr* ehdr, uint32_t elf_class, uint32_t machine_type) { in TestInitEhdr()
62 Ehdr ehdr; in TestInitGnuDebugdata() local
/aosp_15_r20/external/coreboot/util/cbfstool/
H A Delfheaders.c111 const Elf32_Ehdr *ehdr = input; in iself() local
120 elf_eident(struct buffer *input, Elf64_Ehdr *ehdr) in elf_eident()
142 elf_ehdr(struct buffer *input, Elf64_Ehdr *ehdr, struct xdr *xdr, int bit64) in elf_ehdr()
244 Elf64_Ehdr *ehdr; in phdr_read() local
286 Elf64_Ehdr *ehdr; in shdr_read() local
319 Elf64_Ehdr *ehdr; in reloc_read() local
388 Elf64_Ehdr *ehdr; in strtab_read() local
426 Elf64_Ehdr *ehdr; in symtab_read() local
491 Elf64_Ehdr *ehdr; in parse_elf() local
578 Elf64_Ehdr *ehdr, in elf_headers()
[all …]
H A Drmodule.c439 Elf64_Ehdr *ehdr; in populate_rmodule_info() local
512 Elf64_Ehdr ehdr; in write_elf() local
792 int rmodule_stage_to_elf(Elf64_Ehdr *ehdr, struct buffer *buff) in rmodule_stage_to_elf()
/aosp_15_r20/external/elfutils/libdw/
H A Ddwarf_getcfi_elf.c44 allocate_cfi (Elf *elf, const GElf_Ehdr *ehdr, GElf_Addr vaddr) in allocate_cfi()
76 const GElf_Ehdr *ehdr, GElf_Addr *eh_frame_vaddr, in parse_eh_frame_hdr()
128 getcfi_gnu_eh_frame (Elf *elf, const GElf_Ehdr *ehdr, const GElf_Phdr *phdr) in getcfi_gnu_eh_frame()
196 getcfi_phdr (Elf *elf, const GElf_Ehdr *ehdr) in getcfi_phdr()
217 getcfi_scn_eh_frame (Elf *elf, const GElf_Ehdr *ehdr, in getcfi_scn_eh_frame()
273 getcfi_shdr (Elf *elf, const GElf_Ehdr *ehdr) in getcfi_shdr()
325 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem); in dwarf_getcfi_elf() local
H A Ddwarf_begin_elf.c323 GElf_Ehdr ehdr; in valid_p() local
532 GElf_Ehdr *ehdr; in dwarf_begin_elf() local
/aosp_15_r20/external/elfutils/src/
H A Delflint.c341 check_elf_header (Ebl *ebl, GElf_Ehdr *ehdr, size_t size) in check_elf_header()
604 check_symtab (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_symtab()
1077 is_rel_dyn (Ebl *ebl, const GElf_Ehdr *ehdr, int idx, const GElf_Shdr *shdr, in is_rel_dyn()
1251 check_reloc_shdr (Ebl *ebl, const GElf_Ehdr *ehdr, const GElf_Shdr *shdr, in check_reloc_shdr()
1383 check_one_reloc (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *relshdr, int idx, in check_one_reloc()
1504 check_rela (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_rela()
1555 check_rel (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_rel()
1605 check_relr (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_relr()
1636 check_dynamic (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_dynamic()
1968 check_symtab_shndx (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_symtab_shndx()
[all …]
H A Dreadelf.c984 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem); in process_elf_file() local
1128 print_ehdr (Ebl *ebl, GElf_Ehdr *ehdr) in print_ehdr()
1279 print_shdr (Ebl *ebl, GElf_Ehdr *ehdr) in print_shdr()
1415 print_phdr (Ebl *ebl, GElf_Ehdr *ehdr) in print_phdr()
2059 print_relocs (Ebl *ebl, Dwfl_Module *mod, GElf_Ehdr *ehdr) in print_relocs()
2085 handle_relocs_rel (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr) in handle_relocs_rel()
2274 handle_relocs_rela (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr) in handle_relocs_rela()
2921 GElf_Ehdr *ehdr = gelf_getehdr (ebl->elf, &ehdr_mem); in handle_dynamic_symtab() local
4005 print_attributes (Ebl *ebl, const GElf_Ehdr *ehdr) in print_attributes()
5650 Ebl *ebl, GElf_Ehdr *ehdr __attribute__ ((unused)), in print_debug_abbrev_section()
[all …]
H A Dnm.c879 class_type_char (Elf *elf, const GElf_Ehdr *ehdr, GElf_Sym *sym) in class_type_char()
928 show_symbols_bsd (Elf *elf, const GElf_Ehdr *ehdr, GElf_Word strndx, in show_symbols_bsd()
1060 show_symbols_posix (Elf *elf, const GElf_Ehdr *ehdr, GElf_Word strndx, in show_symbols_posix()
1226 show_symbols (int fd, Ebl *ebl, GElf_Ehdr *ehdr, in show_symbols()
1540 GElf_Ehdr *ehdr; in handle_elf() local
/aosp_15_r20/system/unwinding/libunwindstack/
H A DElfInterface.cpp195 EhdrType ehdr; in ReadAllHeaders() local
211 EhdrType ehdr; in GetLoadBias() local
232 void ElfInterfaceImpl<ElfTypes>::ReadProgramHeaders(const EhdrType& ehdr, int64_t* load_bias) { in ReadProgramHeaders()
336 void ElfInterfaceImpl<ElfTypes>::ReadSectionHeaders(const EhdrType& ehdr) { in ReadSectionHeaders()
590 EhdrType ehdr; in GetMaxSize() local
623 EhdrType ehdr; in GetBuildIDInfo() local
/aosp_15_r20/external/vixl/examples/aarch32/
H A Ddisasm-a32.cc99 explicit SectionLocator(const Elf32_Ehdr* ehdr) { in SectionLocator()
122 void LocateSymbols(const Elf32_Ehdr* ehdr, in LocateSymbols()
169 StaticSymbolVisitor(const Elf32_Ehdr* ehdr, SymbolTable* symbols) in StaticSymbolVisitor()
240 const Elf32_Ehdr* ehdr = reinterpret_cast<const Elf32_Ehdr*>(base_addr); in main() local
/aosp_15_r20/external/elfutils/libelf/
H A Delf_begin.c82 } ehdr; in get_shnum() local
345 uintptr_t ehdr = (uintptr_t) map_address + offset; in file_read_elf() local
447 uintptr_t ehdr = (uintptr_t) map_address + offset; in file_read_elf() local
596 Elf64_Ehdr ehdr; in read_unmmaped_file() member
H A Delf_getdata.c118 __libelf_data_type (GElf_Ehdr *ehdr, int sh_type, GElf_Xword align) in __libelf_data_type()
273 GElf_Ehdr *ehdr = __gelf_getehdr_rdlock (elf, &ehdr_mem); in __libelf_set_rawdata_wrlock() local
369 GElf_Ehdr *ehdr = __gelf_getehdr_rdlock (elf, &ehdr_mem); in __libelf_set_rawdata_wrlock() local
H A Dgelf_update_ehdr.c58 Elf32_Ehdr *ehdr = elf->state.elf32.ehdr; in gelf_update_ehdr() local
97 Elf64_Ehdr *ehdr = elf->state.elf64.ehdr; in gelf_update_ehdr() local
/aosp_15_r20/external/elfutils/libdwfl/
H A Drelocate.c327 const GElf_Ehdr * const ehdr, in relocate()
502 relocate_section (Dwfl_Module *mod, Elf *relocated, const GElf_Ehdr *ehdr, in relocate_section()
756 const GElf_Ehdr *ehdr = gelf_getehdr (debugfile, &ehdr_mem); in __libdwfl_relocate() local
814 GElf_Ehdr *ehdr = gelf_getehdr (relocated, &ehdr_mem); in __libdwfl_relocate_section() local
H A Ddwfl_module_getdwarf.c82 GElf_Ehdr ehdr_mem, *ehdr = gelf_getehdr (file->elf, &ehdr_mem); in open_elf() local
315 } ehdr; in find_prelink_address_sync() local
705 GElf_Ehdr *ehdr) in translate_offs()
827 GElf_Ehdr *ehdr = gelf_getehdr (mod->main.elf, &ehdr_mem); in find_dynsym() local
/aosp_15_r20/external/google-breakpad/src/client/linux/minidump_writer/
H A Dlinux_dumper.cc656 bool LinuxDumper::GetLoadedElfHeader(uintptr_t start_addr, ElfW(Ehdr)* ehdr) { in GetLoadedElfHeader()
663 void LinuxDumper::ParseLoadedElfProgramHeaders(ElfW(Ehdr)* ehdr, in ParseLoadedElfProgramHeaders()
712 uintptr_t LinuxDumper::GetEffectiveLoadBias(ElfW(Ehdr)* ehdr, in GetEffectiveLoadBias()
740 ElfW(Ehdr) ehdr; in LatePostprocessMappings() local
/aosp_15_r20/external/elfutils/tests/
H A Dnewfile.c26 print_ehdr (Elf32_Ehdr *ehdr) in print_ehdr()
85 Elf32_Ehdr *ehdr = elf32_getehdr (elf); in main() local
H A Ddwflsyms.c89 GElf_Ehdr ehdr; in elf_section_name() local
138 GElf_Ehdr ehdr; in list_syms() local
H A Dfillfile.c100 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem); in create_strtab() local
227 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem); in check_elf() local
/aosp_15_r20/bionic/libc/malloc_debug/
H A DMapData.cpp92 ElfW(Ehdr) ehdr; in Init() local
110 ElfW(Ehdr) ehdr; in GetLoadBias() local
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/sgx/
H A Dload.c141 Elf64_Ehdr *ehdr; in encl_get_entry() local
180 Elf64_Ehdr *ehdr; in encl_load() local

1234567