From 37f160280844440c7f85b4feb3cfffb0f264c0b9 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Thu, 16 May 2019 19:13:54 -0700 Subject: incoming edges fix --- python/basicblock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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)) -- cgit v1.3.1