From 764063b2b44dbeba5f2f318c971e4f4acfb48427 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 7 Jul 2021 08:26:29 -0400 Subject: Refactor Python Types Remove _mutable types --- python/highlevelil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/highlevelil.py') 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': -- cgit v1.3.1