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

Class FlowGraphEdge

python/flowgraph.py:43–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42
43class FlowGraphEdge:
44 def __init__(self, branch_type, source, target, points, back_edge, style):
45 self.type = BranchType(branch_type)
46 self.source = source
47 self.target = target
48 self.points = points
49 self.back_edge = back_edge
50 self.style = style
51
52 def __repr__(self):
53 return "<%s: %s>" % (self.type.name, repr(self.target))
54
55 def __eq__(self, other):
56 return (self.type, self.source, self.target, self.points, self.back_edge,
57 self.style) == (other.type, other.source, other.target, other.points, other.back_edge, other.style)
58
59 def __hash__(self):
60 return hash((self.type, self.source, self.target, self.points, self.back_edge, self.style))
61
62
63class EdgeStyle:

Callers 2

outgoing_edgesMethod · 0.70
incoming_edgesMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected