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

Method __init__

python/flowgraph.py:88–98  ·  view source on GitHub ↗
(self, graph=None, handle=None)

Source from the content-addressed store, hash-verified

86
87class FlowGraphNode:
88 def __init__(self, graph=None, handle=None):
89 _handle = handle
90 if _handle is None:
91 if graph is None:
92 raise ValueError("flow graph node must be associated with a graph")
93 _handle = core.BNCreateFlowGraphNode(graph.handle)
94 assert _handle is not None
95 self.handle = _handle
96 self._graph = graph
97 if self._graph is None:
98 self._graph = FlowGraph(handle=core.BNGetFlowGraphNodeOwner(self.handle))
99
100 def __del__(self):
101 if core is not None:

Callers

nothing calls this directly

Calls 1

FlowGraphClass · 0.70

Tested by

no test coverage detected