Home
last modified time | relevance | path

Searched refs:machine_type (Results 1 – 12 of 12) sorted by relevance

/system/unwinding/libunwindstack/tests/
DElfTestUtils.h27 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,
DElfTest.cpp48 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 …]
DElfTestUtils.cpp37 void TestInitEhdr(Ehdr* ehdr, uint32_t elf_class, uint32_t machine_type) { in TestInitEhdr() argument
45 ehdr->e_machine = machine_type; in TestInitEhdr()
DMapInfoGetElfTest.cpp52 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()
DJitDebugTest.cpp89 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()
DRegsTest.cpp282 TEST_F(RegsTest, machine_type) { in TEST_F() argument
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp245 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/
Dunwind_symbols.cpp73 switch (elf.machine_type()) { in main()
Dunwind_info.cpp130 if (elf.machine_type() == EM_ARM) { in GetElfInfo()
Dunwind_reg_info.cpp208 if (elf.machine_type() == EM_ARM) { in GetInfo()
/system/unwinding/libunwindstack/include/unwindstack/
DElf.h80 uint32_t machine_type() { return machine_type_; } in machine_type() function
/system/extras/simpleperf/scripts/
Dreport_html.py879 machine_type = self.arch
882 machine_type = '%s (%s) by %s, arch %s' % (model, name, manufacturer, self.arch)
883 record_info['machineType'] = machine_type