Home
last modified time | relevance | path

Searched refs:Elf32_Ehdr (Results 1 – 25 of 26) sorted by relevance

12

/aosp12/system/unwinding/libunwindstack/tests/
H A DMapInfoGetElfTest.cpp84 Elf32_Ehdr ehdr; in TEST_F()
85 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
118 Elf32_Ehdr ehdr; in TEST_F()
119 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
162 Elf32_Ehdr ehdr; in TEST_F()
191 Elf32_Ehdr ehdr; in TEST_F()
220 Elf32_Ehdr ehdr; in TEST_F()
250 Elf32_Ehdr ehdr; in TEST_F()
381 Elf32_Ehdr ehdr; in TEST_F()
397 Elf32_Ehdr ehdr; in InitMapInfo()
[all …]
H A DElfInterfaceTest.cpp211 SinglePtLoad<Elf32_Ehdr, Elf32_Phdr, Elf32_Dyn, ElfInterface32>(); in TEST_F()
485 Elf32_Ehdr ehdr = {}; in TEST_F()
590 SonameInit<Elf32_Ehdr, Elf32_Phdr, Elf32_Shdr, Elf32_Dyn>(); in TEST_F()
740 InitProgramHeadersMalformed<Elf32_Ehdr, Elf32_Phdr, ElfInterface32>(); in TEST_F()
1034 InitSectionHeadersOffsets<Elf32_Ehdr, Elf32_Shdr, ElfInterface32>(); in TEST_F()
1360 Elf32_Ehdr ehdr = {}; in TEST_F()
1386 Elf32_Ehdr ehdr = {}; in TEST_F()
1417 Elf32_Ehdr ehdr = {}; in TEST_F()
1474 Elf32_Ehdr ehdr = {}; in TEST_F()
1579 BuildID<Elf32_Ehdr, Elf32_Shdr, Elf32_Nhdr, ElfInterface32>(); in TEST_F()
[all …]
H A DJitDebugTest.cpp268 CreateElf<Elf32_Ehdr, Elf32_Shdr>(0x4000, ELFCLASS32, EM_ARM, 0x1500, 0x200); in TEST_F()
275 CreateElf<Elf32_Ehdr, Elf32_Shdr>(0x4000, ELFCLASS32, EM_ARM, 0x1500, 0x200); in TEST_F()
284 CreateElf<Elf32_Ehdr, Elf32_Shdr>(0x4000, ELFCLASS32, EM_ARM, 0x1500, 0x200); in TEST_F()
293 CreateElf<Elf32_Ehdr, Elf32_Shdr>(0x4000, ELFCLASS32, EM_ARM, 0x1500, 0x200); in TEST_F()
304 CreateElf<Elf32_Ehdr, Elf32_Shdr>(0x4000, ELFCLASS32, EM_ARM, 0x1500, 0x200); in TEST_F()
325 CreateElf<Elf32_Ehdr, Elf32_Shdr>(0x4000, ELFCLASS32, EM_ARM, 0x1500, 0x200); in TEST_F()
326 CreateElf<Elf32_Ehdr, Elf32_Shdr>(0x5000, ELFCLASS32, EM_ARM, 0x2000, 0x300); in TEST_F()
347 CreateElf<Elf32_Ehdr, Elf32_Shdr>(0x4000, ELFCLASS32, EM_ARM, 0x1500, 0x200); in TEST_F()
382 CreateElf<Elf32_Ehdr, Elf32_Shdr>(0x4000, ELFCLASS32, EM_ARM, 0x1500, 0x200); in TEST_F()
383 CreateElf<Elf32_Ehdr, Elf32_Shdr>(0x5000, ELFCLASS32, EM_ARM, 0x2300, 0x400); in TEST_F()
[all …]
H A DMapInfoCreateMemoryTest.cpp73 InitElf<Elf32_Ehdr, Elf32_Shdr>(elf32_at_map_.fd, 0x1000, 0x2000, ELFCLASS32); in SetUp()
256 Elf32_Ehdr ehdr = {}; in TEST_F()
257 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
289 Elf32_Ehdr ehdr = {}; in TEST_F()
290 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
331 Elf32_Ehdr ehdr = {}; in TEST_F()
332 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
374 Elf32_Ehdr ehdr = {}; in TEST_F()
375 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
H A DGenGnuDebugdata.cpp103 Elf32_Ehdr ehdr32; in main()
104 InitEhdr<Elf32_Ehdr>(&ehdr32, ELFCLASS32, EM_ARM); in main()
105 GenElf<Elf32_Ehdr, Elf32_Shdr>(&ehdr32, elf32_fd); in main()
H A DElfTestUtils.cpp134 template void TestInitEhdr<Elf32_Ehdr>(Elf32_Ehdr*, uint32_t, uint32_t);
137 template void TestInitGnuDebugdata<Elf32_Ehdr, Elf32_Shdr>(uint32_t, uint32_t, bool,
H A DElfTest.cpp49 Elf32_Ehdr ehdr; in InitElf32()
50 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, machine_type); in InitElf32()
265 TestInitGnuDebugdata<Elf32_Ehdr, Elf32_Shdr>(ELFCLASS32, EM_ARM, true, in TEST_F()
H A DMapInfoGetLoadBiasTest.cpp132 Elf32_Ehdr ehdr; in InitElfData()
H A DMapInfoGetBuildIDTest.cpp135 Elf32_Ehdr ehdr; in InitElfData()
H A DElfCacheTest.cpp43 Elf32_Ehdr ehdr32; in WriteElfFile()
H A DUnwinderTest.cpp1684 Elf32_Ehdr ehdr = {}; in TEST_F()
1685 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
/aosp12/system/update_engine/payload_generator/
H A Dxz_android.cc75 if (data.size() < sizeof(Elf32_Ehdr) || in GetFilterID()
79 const Elf32_Ehdr* header = reinterpret_cast<const Elf32_Ehdr*>(data.data()); in GetFilterID()
/aosp12/frameworks/compile/mclinker/lib/LD/
H A DELFReader.cpp46 const llvm::ELF::Elf32_Ehdr* hdr = in isELF()
47 reinterpret_cast<const llvm::ELF::Elf32_Ehdr*>(pELFHeader); in isELF()
261 const llvm::ELF::Elf32_Ehdr* hdr = in isMyEndian()
262 reinterpret_cast<const llvm::ELF::Elf32_Ehdr*>(pELFHeader); in isMyEndian()
269 const llvm::ELF::Elf32_Ehdr* hdr = in isMyMachine()
270 reinterpret_cast<const llvm::ELF::Elf32_Ehdr*>(pELFHeader); in isMyMachine()
279 const llvm::ELF::Elf32_Ehdr* hdr = in fileType()
280 reinterpret_cast<const llvm::ELF::Elf32_Ehdr*>(pELFHeader); in fileType()
305 const llvm::ELF::Elf32_Ehdr* ehdr = in readSectionHeaders()
306 reinterpret_cast<const llvm::ELF::Elf32_Ehdr*>(pELFHeader); in readSectionHeaders()
/aosp12/art/libelffile/elf/
H A Delf_utils.h34 typedef Elf32_Ehdr Ehdr;
/aosp12/system/unwinding/libunwindstack/
H A DElf.cpp344 return ElfInterface::GetLoadBias<Elf32_Ehdr, Elf32_Phdr>(memory); in GetLoadBias()
437 return ElfInterface::ReadBuildIDFromMemory<Elf32_Ehdr, Elf32_Shdr, Elf32_Nhdr>(memory); in GetBuildID()
H A DElfInterface.cpp637 template int64_t ElfInterface::GetLoadBias<Elf32_Ehdr, Elf32_Phdr>(Memory*);
640 template std::string ElfInterface::ReadBuildIDFromMemory<Elf32_Ehdr, Elf32_Shdr, Elf32_Nhdr>(
/aosp12/system/chre/platform/shared/include/chre/platform/shared/
H A Dloader_util.h164 } Elf32_Ehdr; typedef
/aosp12/frameworks/compile/mclinker/include/mcld/LD/
H A DELFReader.h39 typedef llvm::ELF::Elf32_Ehdr ELFHeader;
/aosp12/frameworks/compile/mclinker/include/mcld/ADT/
H A DSizeTraits.h51 typedef llvm::ELF::Elf32_Ehdr Ehdr;
/aosp12/system/update_engine/common/
H A Dutils.cc669 const Elf32_Ehdr* hdr = reinterpret_cast<const Elf32_Ehdr*>(buffer); in GetFileFormatELF()
672 if (size < offsetof(Elf32_Ehdr, e_machine) + sizeof(hdr->e_machine)) in GetFileFormatELF()
/aosp12/system/unwinding/libunwindstack/include/unwindstack/
H A DElfInterface.h54 using Ehdr = Elf32_Ehdr;
/aosp12/bionic/libc/kernel/uapi/linux/
H A Delf.h186 } Elf32_Ehdr; typedef
/aosp12/system/unwinding/libunwindstack/tests/fuzz/
H A DUnwinderComponentCreator.cpp343 PutElfInMemory<Elf32_Ehdr, Elf32_Shdr>(memory, offset, class_type, machine_type, pc, size); in PutElfFilesInMemory()
/aosp12/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.cpp445 reinterpret_cast<const llvm::ELF::Elf32_Ehdr*>(ELF_hdr)->e_flags; in mergeFlags()
/aosp12/bionic/tests/
H A Dmalloc_test.cpp980 Elf32_Ehdr ehdr; in IsDynamic()

12