summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2023-11-29 15:32:23 -0500
committerKyleMiles <krm504@nyu.edu>2023-11-29 15:32:23 -0500
commit7d908fc9ac59a7c8816a38bf97e693d369c186c9 (patch)
tree81b75620928cd70adea7b2ea3eea0ca85cfb5ed7 /python/highlevelil.py
parent66fe34a49322d0a63d8f6efe00ca20d9a2c4ce05 (diff)
Fix typo HighLevelILIntrinsicSsa's `dest_memory` and `src_memory` properties that was preventing them from returning the right values
See https://github.com/Vector35/binaryninja-api/pull/4769#issuecomment-1830708130 for more context.
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 4795ff7f..976d23f4 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -2067,11 +2067,11 @@ class HighLevelILIntrinsicSsa(HighLevelILInstruction, SSA):
@property
def dest_memory(self) -> int:
- return self.get_int(2)
+ return self.get_int(3)
@property
def src_memory(self) -> int:
- return self.get_int(3)
+ return self.get_int(4)
@property
def detailed_operands(self) -> List[Tuple[str, HighLevelILOperandType, str]]: