Home
last modified time | relevance | path

Searched refs:ei_class (Results 1 – 4 of 4) sorted by relevance

/development/python-packages/gdbrunner/
D__init__.py292 ei_class = ord(binary[0x4]) # 1 = 32-bit, 2 = 64-bit
295 assert ei_class == 1 or ei_class == 2
301 assert ei_class == 1
304 assert ei_class == 2
307 assert ei_class == 1
310 assert ei_class == 2
313 if ei_class == 1:
/development/vndk/tools/definition-tool/tools/
Dremove_dt_needed.py112 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/
Dtest_elf.py65 elf = ELF(ei_class=ELF.ELFCLASS32, ei_data=ELF.ELFDATA2LSB,
154 self.assertEqual(ELF.ELFCLASS64, res.ei_class)
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py412 def __init__(self, ei_class=ELFCLASSNONE, ei_data=ELFDATANONE, e_machine=0, argument
417 self.ei_class = ei_class
442 return self._ELF_CLASS_NAMES.get(self.ei_class, 'None')
454 return self.ei_class == ELF.ELFCLASS32
458 return self.ei_class == ELF.ELFCLASS64
520 self.ei_class = buf[ELF.EI_CLASS]
521 if self.ei_class not in (ELF.ELFCLASS32, ELF.ELFCLASS64):
714 self.ei_class = ELF.get_ei_class_from_name(value)
1753 self.get_lib_dict(lib.elf.ei_class)[path] = lib
1756 del self.get_lib_dict(lib.elf.ei_class)[lib.path]