Searched refs:machine_type (Results 1 – 6 of 6) sorted by relevance
69 string machine_type; in GetMachineType() local70 if (!utils::ReadPipe("uname -m", &machine_type)) in GetMachineType()73 size_t newline_pos = machine_type.find('\n'); in GetMachineType()75 machine_type.erase(newline_pos); in GetMachineType()76 return machine_type; in GetMachineType()
211 Regs* Regs::RemoteGet(pid_t pid, uint32_t* machine_type) { in RemoteGet() argument224 *machine_type = EM_386; in RemoteGet()227 *machine_type = EM_X86_64; in RemoteGet()230 *machine_type = EM_ARM; in RemoteGet()233 *machine_type = EM_AARCH64; in RemoteGet()
60 uint32_t machine_type() { return machine_type_; } in machine_type() function
115 if (elf.machine_type() == EM_ARM) { in main()
60 static Regs* RemoteGet(pid_t pid, uint32_t* machine_type);
171 ASSERT_EQ(static_cast<uint32_t>(EM_ARM), elf.machine_type()); in TEST_F()183 ASSERT_EQ(static_cast<uint32_t>(EM_386), elf.machine_type()); in TEST_F()195 ASSERT_EQ(static_cast<uint32_t>(EM_AARCH64), elf.machine_type()); in TEST_F()207 ASSERT_EQ(static_cast<uint32_t>(EM_X86_64), elf.machine_type()); in TEST_F()