Home
last modified time | relevance | path

Searched refs:e_machine (Results 1 – 3 of 3) sorted by relevance

/development/vndk/tools/definition-tool/tests/
Dtest_elf.py71 e_machine=183, dt_rpath=['a'], dt_runpath=['b'],
99 self.assertEqual('EM_NONE', ELF(e_machine=0).elf_machine_name)
100 self.assertEqual('EM_386', ELF(e_machine=3).elf_machine_name)
101 self.assertEqual('EM_MIPS', ELF(e_machine=8).elf_machine_name)
102 self.assertEqual('EM_ARM', ELF(e_machine=40).elf_machine_name)
103 self.assertEqual('EM_X86_64', ELF(e_machine=62).elf_machine_name)
104 self.assertEqual('EM_AARCH64', ELF(e_machine=183).elf_machine_name)
167 self.assertEqual(183, res.e_machine)
/development/python-packages/gdbrunner/
D__init__.py299 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/definition-tool/
Dvndk_definition_tool.py524 def __init__(self, ei_class=ELFCLASSNONE, ei_data=ELFDATANONE, e_machine=0, argument
531 self.e_machine = e_machine
567 return self.ELF_MACHINES.get(self.e_machine, str(self.e_machine))
718 self.e_machine = header.e_machine
848 self.e_machine = ELF.get_e_machine_from_name(value)
2302 if elf.e_machine not in ELF.ELF_MACHINES: