Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
DElfTestUtils.h28 void TestInitEhdr(Ehdr* ehdr, uint32_t elf_class, uint32_t machine_type);
31 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()
199 ASSERT_EQ(static_cast<uint32_t>(EM_ARM), elf.machine_type()); in TEST_F()
211 ASSERT_EQ(static_cast<uint32_t>(EM_MIPS), elf.machine_type()); in TEST_F()
223 ASSERT_EQ(static_cast<uint32_t>(EM_386), elf.machine_type()); in TEST_F()
235 ASSERT_EQ(static_cast<uint32_t>(EM_AARCH64), 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()
91 EXPECT_EQ(static_cast<uint32_t>(EM_ARM), elf->machine_type()); in TEST_F()
111 EXPECT_EQ(static_cast<uint32_t>(EM_AARCH64), elf->machine_type()); in TEST_F()
138 EXPECT_EQ(static_cast<uint32_t>(EM_ARM), elf->machine_type()); in TEST_F()
154 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.cpp266 TEST_F(RegsTest, machine_type) { in TEST_F() argument
/system/update_engine/cros/
Domaha_request_params_unittest.cc62 string machine_type; in GetMachineType() local
63 if (!utils::ReadPipe("uname -m", &machine_type)) in GetMachineType()
66 size_t newline_pos = machine_type.find('\n'); in GetMachineType()
68 machine_type.erase(newline_pos); in GetMachineType()
69 return machine_type; in GetMachineType()
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp251 void PutElfInMemory(MemoryFake* memory, uint64_t offset, uint8_t class_type, uint8_t machine_type, in PutElfInMemory() argument
258 ehdr.e_machine = machine_type; in PutElfInMemory()
335 uint8_t machine_type = data_provider->ConsumeIntegral<uint8_t>(); in PutElfFilesInMemory() local
341 PutElfInMemory<Elf64_Ehdr, Elf64_Shdr>(memory, offset, class_type, machine_type, pc, size); in PutElfFilesInMemory()
343 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.cpp201 if (elf.machine_type() == EM_ARM) { in GetInfo()
/system/unwinding/libunwindstack/include/unwindstack/
DElf.h83 uint32_t machine_type() { return machine_type_; } in machine_type() function
/system/extras/simpleperf/scripts/
Dreport_html.py824 machine_type = self.arch
827 machine_type = '%s (%s) by %s, arch %s' % (model, name, manufacturer, self.arch)
828 record_info['machineType'] = machine_type