summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2019-05-16 19:13:54 -0700
committerJordan Wiens <jordan@psifertex.com>2019-05-16 19:13:54 -0700
commit37f160280844440c7f85b4feb3cfffb0f264c0b9 (patch)
tree1b6f7f8e90f05bd4157c1d691e7a45c336f1c449 /python
parentc23bc7b85c9dfa8b8263880dae300a6fc77286ee (diff)
incoming edges fix
Diffstat (limited to 'python')
-rw-r--r--python/basicblock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/basicblock.py b/python/basicblock.py
index 23827f9f..1577ec4f 100644
--- a/python/basicblock.py
+++ b/python/basicblock.py
@@ -274,7 +274,7 @@ class BasicBlock(object):
for i in range(0, count.value):
branch_type = BranchType(edges[i].type)
if edges[i].target:
- target = self._create_instance(core.BNNewBasicBlockReference(edges[i].target), G)
+ target = self._create_instance(core.BNNewBasicBlockReference(edges[i].target), self.view)
else:
target = None
result.append(BasicBlockEdge(branch_type, target, self, edges[i].backEdge, edges[i].fallThrough))