summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-07-07 08:26:29 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-05 10:09:09 -0400
commit764063b2b44dbeba5f2f318c971e4f4acfb48427 (patch)
treee014fe6a859b97a653cef80dc9db66a06c706c37 /python/highlevelil.py
parentd376db916f5fc83f9e654edf23364d200839ac50 (diff)
Refactor Python Types
Remove _mutable types
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 073fbfda..2aadee13 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -401,7 +401,7 @@ class HighLevelILInstruction:
platform = None
if self.function.source_function:
platform = self.function.source_function.platform
- return types.Type(result.type, platform = platform, confidence = result.confidence)
+ return types.Type.create(core.BNNewTypeReference(result.type), platform = platform, confidence = result.confidence)
return None
def get_possible_values(self, options:List[DataFlowQueryOption]=[]) -> 'variable.PossibleValueSet':