Searched refs:get_e_machine_from_name (Results 1 – 2 of 2) sorted by relevance
58 self.assertEqual(0, ELF.get_e_machine_from_name('EM_NONE'))59 self.assertEqual(3, ELF.get_e_machine_from_name('EM_386'))60 self.assertEqual(8, ELF.get_e_machine_from_name('EM_MIPS'))61 self.assertEqual(40, ELF.get_e_machine_from_name('EM_ARM'))62 self.assertEqual(62, ELF.get_e_machine_from_name('EM_X86_64'))63 self.assertEqual(183, ELF.get_e_machine_from_name('EM_AARCH64'))
514 def get_e_machine_from_name(name): member in ELF848 self.e_machine = ELF.get_e_machine_from_name(value)