Construct a ElfFileSimple from bytes or a bytearray
(self, data)
| 309 | """Wrapper for elf object which allows easy access to symbols and rom""" |
| 310 | |
| 311 | def __init__(self, data): |
| 312 | """Construct a ElfFileSimple from bytes or a bytearray""" |
| 313 | super(ElfFileSimple, self).__init__(BytesIO(data)) |
| 314 | self.symbols = self._read_symbol_table() |
| 315 | |
| 316 | def _read_symbol_table(self): |
| 317 | """Read the symbol table into the field "symbols" for easy use""" |
nothing calls this directly
no test coverage detected