/aosp_15_r20/system/unwinding/libunwindstack/tests/ |
H A D | MapInfoGetElfTest.cpp | 52 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 D | ElfInterfaceTest.cpp | 185 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 D | MapInfoCreateMemoryTest.cpp | 49 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 D | GenGnuDebugdata.cpp | 30 void InitEhdr(Ehdr* ehdr, uint32_t elf_class, uint32_t machine) { in InitEhdr() 44 void GenElf(Ehdr* ehdr, int fd) { in GenElf()
|
H A D | ElfTestUtils.cpp | 37 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 D | elfheaders.c | 111 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 D | rmodule.c | 439 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 D | dwarf_getcfi_elf.c | 44 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 D | dwarf_begin_elf.c | 323 GElf_Ehdr ehdr; in valid_p() local 532 GElf_Ehdr *ehdr; in dwarf_begin_elf() local
|
/aosp_15_r20/external/elfutils/src/ |
H A D | elflint.c | 341 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 D | readelf.c | 984 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 D | nm.c | 879 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 D | ElfInterface.cpp | 195 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 D | disasm-a32.cc | 99 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 D | elf_begin.c | 82 } 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 D | elf_getdata.c | 118 __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 D | gelf_update_ehdr.c | 58 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 D | relocate.c | 327 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 D | dwfl_module_getdwarf.c | 82 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 D | linux_dumper.cc | 656 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 D | newfile.c | 26 print_ehdr (Elf32_Ehdr *ehdr) in print_ehdr() 85 Elf32_Ehdr *ehdr = elf32_getehdr (elf); in main() local
|
H A D | dwflsyms.c | 89 GElf_Ehdr ehdr; in elf_section_name() local 138 GElf_Ehdr ehdr; in list_syms() local
|
H A D | fillfile.c | 100 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 D | MapData.cpp | 92 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 D | load.c | 141 Elf64_Ehdr *ehdr; in encl_get_entry() local 180 Elf64_Ehdr *ehdr; in encl_load() local
|