(self, data)
| 42 | |
| 43 | class GenericHeaders(object): |
| 44 | def __init__(self, data): |
| 45 | self.fields = [] |
| 46 | self.fields.append(("Type", data.view_type)) |
| 47 | if data.platform is not None: |
| 48 | self.fields.append(("Platform", data.platform.name)) |
| 49 | if data.is_valid_offset(data.entry_point): |
| 50 | self.fields.append(("Entry Point", "0x%x" % data.entry_point, "code")) |
| 51 | self.columns = 1 |
| 52 | |
| 53 | |
| 54 | class PEHeaders(object): |
nothing calls this directly
no test coverage detected