MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / __init__

Method __init__

python/examples/triage/headers.py:44–51  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

42
43class 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
54class PEHeaders(object):

Callers

nothing calls this directly

Calls 2

is_valid_offsetMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected