summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-11-02 13:44:56 -0400
committerPeter LaFosse <peter@vector35.com>2022-11-10 16:19:13 -0500
commit54c1e0c8a956e753f2ce0cb5564d24a01e74fab2 (patch)
tree9394390ebff3e8a0f4a8f3af894ff9d395b37b14 /python/highlevelil.py
parent77f1ac949a82a040afa3b2915fe783202988f7ce (diff)
Fix regression in BasicBlock outgoing_edges/incoming_edges source/target
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index bb62840b..b9bb3e88 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -2617,9 +2617,9 @@ class HighLevelILBasicBlock(basicblock.BasicBlock):
else:
return self.il_function[self.end + idx]
- def _create_instance(self, handle: core.BNBasicBlockHandle, view: 'binaryview.BinaryView'):
+ def _create_instance(self, handle: core.BNBasicBlockHandle):
"""Internal method by super to instantiate child instances"""
- return HighLevelILBasicBlock(handle, self.il_function, view)
+ return HighLevelILBasicBlock(handle, self.il_function, self.view)
def __hash__(self):
return hash((self.start, self.end, self.il_function))