/system/unwinding/libunwindstack/tests/ |
D | ElfTestUtils.h | 27 void TestInitEhdr(Ehdr* ehdr, uint32_t elf_class, uint32_t machine_type); 30 void TestInitGnuDebugdata(uint32_t elf_class, uint32_t machine_type, bool init_gnu_debudata,
|
D | ElfTest.cpp | 48 void InitElf32(uint32_t machine_type) { in InitElf32() argument 50 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, machine_type); in InitElf32() 57 if (machine_type == EM_ARM) { in InitElf32() 72 if (machine_type == EM_ARM) { in InitElf32() 86 void InitElf64(uint32_t machine_type) { in InitElf64() argument 88 TestInitEhdr<Elf64_Ehdr>(&ehdr, ELFCLASS64, machine_type); in InitElf64() 198 ASSERT_EQ(static_cast<uint32_t>(EM_ARM), elf.machine_type()); in TEST_F() 210 ASSERT_EQ(static_cast<uint32_t>(EM_386), elf.machine_type()); in TEST_F() 222 ASSERT_EQ(static_cast<uint32_t>(EM_AARCH64), elf.machine_type()); in TEST_F() 234 ASSERT_EQ(static_cast<uint32_t>(EM_RISCV), elf.machine_type()); in TEST_F() [all …]
|
D | ElfTestUtils.cpp | 37 void TestInitEhdr(Ehdr* ehdr, uint32_t elf_class, uint32_t machine_type) { in TestInitEhdr() argument 45 ehdr->e_machine = machine_type; in TestInitEhdr()
|
D | MapInfoGetElfTest.cpp | 52 static void InitElf(uint64_t sh_offset, Ehdr* ehdr, uint8_t class_type, uint8_t machine_type) { in InitElf() argument 56 ehdr->e_machine = machine_type; in InitElf() 90 EXPECT_EQ(static_cast<uint32_t>(EM_ARM), elf->machine_type()); in TEST_F() 109 EXPECT_EQ(static_cast<uint32_t>(EM_AARCH64), elf->machine_type()); in TEST_F() 134 EXPECT_EQ(static_cast<uint32_t>(EM_ARM), elf->machine_type()); in TEST_F() 149 EXPECT_EQ(static_cast<uint32_t>(EM_AARCH64), elf->machine_type()); in TEST_F()
|
D | JitDebugTest.cpp | 89 void CreateElf(uint64_t offset, uint8_t class_type, uint8_t machine_type, uint32_t pc, in CreateElf() argument 99 ehdr.e_machine = machine_type; in CreateElf()
|
D | RegsTest.cpp | 282 TEST_F(RegsTest, machine_type) { in TEST_F() argument
|
/system/unwinding/libunwindstack/tests/fuzz/ |
D | UnwinderComponentCreator.cpp | 245 void PutElfInMemory(MemoryFake* memory, uint64_t offset, uint8_t class_type, uint8_t machine_type, in PutElfInMemory() argument 252 ehdr.e_machine = machine_type; in PutElfInMemory() 329 uint8_t machine_type = data_provider->ConsumeIntegral<uint8_t>(); in PutElfFilesInMemory() local 335 PutElfInMemory<Elf64_Ehdr, Elf64_Shdr>(memory, offset, class_type, machine_type, pc, size); in PutElfFilesInMemory() 337 PutElfInMemory<Elf32_Ehdr, Elf32_Shdr>(memory, offset, class_type, machine_type, pc, size); in PutElfFilesInMemory()
|
/system/unwinding/libunwindstack/tools/ |
D | unwind_symbols.cpp | 73 switch (elf.machine_type()) { in main()
|
D | unwind_info.cpp | 130 if (elf.machine_type() == EM_ARM) { in GetElfInfo()
|
D | unwind_reg_info.cpp | 208 if (elf.machine_type() == EM_ARM) { in GetInfo()
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | Elf.h | 80 uint32_t machine_type() { return machine_type_; } in machine_type() function
|
/system/extras/simpleperf/scripts/ |
D | report_html.py | 879 machine_type = self.arch 882 machine_type = '%s (%s) by %s, arch %s' % (model, name, manufacturer, self.arch) 883 record_info['machineType'] = machine_type
|