Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
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()
130 TestInitGnuDebugdata<Elf32_Ehdr, Elf32_Shdr>(ELFCLASS32, EM_ARM, true, in TEST_F()
162 Elf32_Ehdr ehdr; in TEST_F()
163 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
191 Elf32_Ehdr ehdr; in TEST_F()
192 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
220 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()
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,
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()
DMapInfoGetLoadBiasTest.cpp132 Elf32_Ehdr ehdr; in InitElfData()
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()
DMapInfoGetBuildIDTest.cpp135 Elf32_Ehdr ehdr; in InitElfData()
DElfCacheTest.cpp43 Elf32_Ehdr ehdr32; in WriteElfFile()
DUnwinderTest.cpp1684 Elf32_Ehdr ehdr = {}; in TEST_F()
1685 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, EM_ARM); in TEST_F()
/system/update_engine/payload_generator/
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()
/system/unwinding/libunwindstack/
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()
DElfInterface.cpp637 template int64_t ElfInterface::GetLoadBias<Elf32_Ehdr, Elf32_Phdr>(Memory*);
640 template std::string ElfInterface::ReadBuildIDFromMemory<Elf32_Ehdr, Elf32_Shdr, Elf32_Nhdr>(
/system/chre/platform/shared/include/chre/platform/shared/
Dloader_util.h164 } Elf32_Ehdr; typedef
/system/unwinding/libunwindstack/include/unwindstack/
DElfInterface.h54 using Ehdr = Elf32_Ehdr;
/system/update_engine/common/
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()
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp343 PutElfInMemory<Elf32_Ehdr, Elf32_Shdr>(memory, offset, class_type, machine_type, pc, size); in PutElfFilesInMemory()