Searched refs:ei_class (Results 1 – 4 of 4) sorted by relevance
/development/python-packages/gdbrunner/ |
D | __init__.py | 304 ei_class = ord(binary[0x4]) # 1 = 32-bit, 2 = 64-bit 307 assert ei_class == 1 or ei_class == 2 313 assert ei_class == 1 316 assert ei_class == 2 319 assert ei_class == 1 322 assert ei_class == 2 325 if ei_class == 1:
|
/development/vndk/tools/definition-tool/tools/ |
D | remove_dt_needed.py | 112 ei_class = _extract_buf_byte(buf, EI_CLASS) 113 if ei_class not in (ELFCLASS32, ELFCLASS64): 115 is_32bit = ei_class == ELFCLASS32
|
/development/vndk/tools/definition-tool/tests/ |
D | test_elf.py | 70 elf = ELF(ei_class=ELF.ELFCLASS32, ei_data=ELF.ELFDATA2LSB, 165 self.assertEqual(ELF.ELFCLASS64, res.ei_class)
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 524 def __init__(self, ei_class=ELFCLASSNONE, ei_data=ELFDATANONE, e_machine=0, argument 529 self.ei_class = ei_class 557 return self._ELF_CLASS_NAMES.get(self.ei_class, 'None') 572 return self.ei_class == ELF.ELFCLASS32 577 return self.ei_class == ELF.ELFCLASS64 645 self.ei_class = buf[ELF.EI_CLASS] 646 if self.ei_class not in (ELF.ELFCLASS32, ELF.ELFCLASS64): 844 self.ei_class = ELF.get_ei_class_from_name(value) 2228 self.get_lib_dict(lib.elf.ei_class)[path] = lib 2232 del self.get_lib_dict(lib.elf.ei_class)[lib.path]
|