Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
DMapInfoGetElfTest.cpp82 Elf32_Ehdr ehdr; in TEST_F()
83 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
114 Elf32_Ehdr ehdr; in TEST_F()
115 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
125 TestInitGnuDebugdata<Elf32_Ehdr, Elf32_Shdr>(ELFCLASS32, EM_ARM, true, in TEST_F()
155 Elf32_Ehdr ehdr; in TEST_F()
156 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
183 Elf32_Ehdr ehdr; in TEST_F()
184 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
213 Elf32_Ehdr ehdr; in TEST_F()
[all …]
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 …]
DElfInterfaceTest.cpp211 SinglePtLoad<Elf32_Ehdr, Elf32_Phdr, Elf32_Dyn, ElfInterface32>(); in TEST_F()
278 MultipleExecutablePtLoads<Elf32_Ehdr, Elf32_Phdr, Elf32_Dyn, ElfInterface32>(); in TEST_F()
345 MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr<Elf32_Ehdr, Elf32_Phdr, Elf32_Dyn, in TEST_F()
404 NonExecutablePtLoads<Elf32_Ehdr, Elf32_Phdr, Elf32_Dyn, ElfInterface32>(); in TEST_F()
475 ElfInterfaceTest::ManyPhdrs<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()
611 SonameInit<Elf32_Ehdr, Elf32_Phdr, Elf32_Shdr, Elf32_Dyn>(SONAME_DTNULL_AFTER); in TEST_F()
632 SonameInit<Elf32_Ehdr, Elf32_Phdr, Elf32_Shdr, Elf32_Dyn>(SONAME_DTSIZE_SMALL); in TEST_F()
655 SonameInit<Elf32_Ehdr, Elf32_Phdr, Elf32_Shdr, Elf32_Dyn>(SONAME_MISSING_MAP); in TEST_F()
[all …]
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()
DMapInfoCreateMemoryTest.cpp73 InitElf<Elf32_Ehdr, Elf32_Shdr>(elf32_at_map_.fd, 0x1000, 0x2000, ELFCLASS32); in SetUp()
255 Elf32_Ehdr ehdr = {}; in TEST_F()
256 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
288 Elf32_Ehdr ehdr = {}; in TEST_F()
289 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
330 Elf32_Ehdr ehdr = {}; in TEST_F()
331 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
373 Elf32_Ehdr ehdr = {}; in TEST_F()
374 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
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,
DMapInfoGetLoadBiasTest.cpp132 Elf32_Ehdr ehdr; in InitElfData()
DElfTest.cpp49 Elf32_Ehdr ehdr; in InitElf32()
50 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, machine_type); in InitElf32()
275 TestInitGnuDebugdata<Elf32_Ehdr, Elf32_Shdr>(ELFCLASS32, EM_ARM, true, in TEST_F()
DMapInfoGetBuildIDTest.cpp135 Elf32_Ehdr ehdr; in InitElfData()
DElfCacheTest.cpp114 Elf32_Ehdr ehdr; in WriteElfFile()
DUnwinderTest.cpp1700 Elf32_Ehdr ehdr = {}; in TEST_F()
1701 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
/system/update_engine/payload_generator/
Dxz_android.cc74 if (data.size() < sizeof(Elf32_Ehdr) || in GetFilterID()
78 const Elf32_Ehdr* header = reinterpret_cast<const Elf32_Ehdr*>(data.data()); in GetFilterID()
/system/unwinding/libunwindstack/
DElf.cpp348 return ElfInterface::GetLoadBias<Elf32_Ehdr, Elf32_Phdr>(memory); in GetLoadBias()
433 return ElfInterface::ReadBuildIDFromMemory<Elf32_Ehdr, Elf32_Shdr, Elf32_Nhdr>(memory); in GetBuildID()
DElfInterface.cpp654 template int64_t ElfInterface::GetLoadBias<Elf32_Ehdr, Elf32_Phdr>(Memory*);
657 template std::string ElfInterface::ReadBuildIDFromMemory<Elf32_Ehdr, Elf32_Shdr, Elf32_Nhdr>(
/system/chre/platform/shared/include/chre/platform/shared/
Dloader_util.h171 } Elf32_Ehdr; typedef
/system/unwinding/libunwindstack/include/unwindstack/
DElfInterface.h53 using Ehdr = Elf32_Ehdr;
/system/update_engine/common/
Dutils.cc724 const Elf32_Ehdr* hdr = reinterpret_cast<const Elf32_Ehdr*>(buffer); in GetFileFormatELF()
727 if (size < offsetof(Elf32_Ehdr, e_machine) + sizeof(hdr->e_machine)) in GetFileFormatELF()
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp343 PutElfInMemory<Elf32_Ehdr, Elf32_Shdr>(memory, offset, class_type, machine_type, pc, size); in PutElfFilesInMemory()