File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ def __init__(
6262 self ._multithread = multithread
6363 self ._log_filter = None
6464 self ._internal_exception = None
65- self ._uc = None
6665 self ._stop_options = stop
6766
6867 ##################################
@@ -151,8 +150,6 @@ def __init__(
151150
152151 self ._arch = select_arch (archtype , endian , thumb )(self )
153152
154- self .uc = self .arch .uc
155-
156153 # Once we finish setting up arch, we can init QlCoreStructs and QlCoreHooks
157154 if not self .interpreter :
158155 QlCoreStructs .__init__ (self , self .arch .endian , self .arch .bits )
@@ -472,11 +469,7 @@ def uc(self) -> 'Uc':
472469
473470 Type: Uc
474471 """
475- return self ._uc
476-
477- @uc .setter
478- def uc (self , u : 'Uc' ):
479- self ._uc = u
472+ return self .arch .uc
480473
481474 @property
482475 def stop_options (self ) -> QL_STOP :
Original file line number Diff line number Diff line change @@ -461,7 +461,6 @@ def __read_str_array(addr: int) -> Iterator[str]:
461461 if hasattr (ql .arch , 'msr' ):
462462 ql .arch .msr .uc = uc
463463
464- ql .uc = uc
465464 QlCoreHooks .__init__ (ql , uc )
466465
467466 ql .os .load ()
You can’t perform that action at this time.
0 commit comments