Exemple #1
0
 def elf(self):
     """Returns elftools.ELFFile object or None if not an ELF file."""
     if not self._elf and not self._elf_attempt:
         self._elf_attempt = True
         self._elf = elffileutils.obtain_elf(self.file_data)
     return self._elf
 def elf(self):
     """Returns elftools.ELFFile object or None if not an ELF file."""
     if not self._elf and not self._elf_attempt:
         self._elf_attempt = True
         self._elf = elffileutils.obtain_elf(self.file_data)
     return self._elf