Searched refs:e_machine (Results 1 – 4 of 4) sorted by relevance
/development/vndk/tools/definition-tool/tests/ |
D | test_elf.py | 66 e_machine=183, dt_rpath=['a'], dt_runpath=['b'], 91 self.assertEqual('EM_NONE', ELF(e_machine=0).elf_machine_name) 92 self.assertEqual('EM_386', ELF(e_machine=3).elf_machine_name) 93 self.assertEqual('EM_MIPS', ELF(e_machine=8).elf_machine_name) 94 self.assertEqual('EM_ARM', ELF(e_machine=40).elf_machine_name) 95 self.assertEqual('EM_X86_64', ELF(e_machine=62).elf_machine_name) 96 self.assertEqual('EM_AARCH64', ELF(e_machine=183).elf_machine_name) 156 self.assertEqual(183, res.e_machine)
|
/development/python-packages/gdbrunner/ |
D | __init__.py | 299 e_machine = ord(binary[0x13]) << 8 | ord(binary[0x12]) 300 if e_machine == 0x28: 303 elif e_machine == 0xB7: 306 elif e_machine == 0x03: 309 elif e_machine == 0x3E: 312 elif e_machine == 0x08: 318 raise RuntimeError("unknown architecture: 0x{:x}".format(e_machine))
|
/development/vndk/tools/vtable-dumper/ |
D | elf_handling.cpp | 241 if (ElfHeader->e_machine == EM_MIPS) { in relocateSym() 362 if (ElfHeader->e_machine == EM_ARM || in getAddendFromSection() 363 ElfHeader->e_machine == EM_MIPS) { in getAddendFromSection()
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 412 def __init__(self, ei_class=ELFCLASSNONE, ei_data=ELFDATANONE, e_machine=0, argument 419 self.e_machine = e_machine 450 return self.ELF_MACHINES.get(self.e_machine, str(self.e_machine)) 592 self.e_machine = header.e_machine 718 self.e_machine = ELF.get_e_machine_from_name(value) 1889 if elf.e_machine not in ELF.ELF_MACHINES:
|