summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2022-12-22 15:20:53 -0500
committerJosh Ferrell <josh@vector35.com>2022-12-22 15:21:30 -0500
commit4cf96b9c87f3203944c49207bf48611c92e79071 (patch)
tree6d06b356d4faaa3ed9ea67ffa9d12784fc1ebe30 /python/highlevelil.py
parentb5124b220868851108193f44b9111d4039ff7b12 (diff)
Fix getting constant data from HighLevelILConstData
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 b4bd9f42..fc9477cd 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -1407,7 +1407,7 @@ class HighLevelILConst(HighLevelILInstruction, Constant):
class HighLevelILConstData(HighLevelILInstruction, Constant):
@property
def constant(self) -> 'databuffer.DataBuffer':
- return self.function.source_function.view.get_constant_data(self._get_int(0))
+ return self.function.source_function.view.get_constant_data(self.get_int(0))
@property
def operands(self) -> List[HighLevelILOperandType]: