From 7d908fc9ac59a7c8816a38bf97e693d369c186c9 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Wed, 29 Nov 2023 15:32:23 -0500 Subject: 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. --- python/highlevelil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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]]: -- cgit v1.3.1