From 54c1e0c8a956e753f2ce0cb5564d24a01e74fab2 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 2 Nov 2022 13:44:56 -0400 Subject: Fix regression in BasicBlock outgoing_edges/incoming_edges source/target --- python/highlevelil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/highlevelil.py') 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)) -- cgit v1.3.1