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.py70 elf = ELF(ei_class=ELF.ELFCLASS32, ei_data=ELF.ELFDATA2LSB,
165 self.assertEqual(ELF.ELFCLASS64, res.ei_class)
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py524 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)
2141 self.get_lib_dict(lib.elf.ei_class)[path] = lib
2145 del self.get_lib_dict(lib.elf.ei_class)[lib.path]