diff options
| author | KyleMiles <krm504@nyu.edu> | 2023-11-29 15:32:23 -0500 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2023-11-29 15:32:23 -0500 |
| commit | 7d908fc9ac59a7c8816a38bf97e693d369c186c9 (patch) | |
| tree | 81b75620928cd70adea7b2ea3eea0ca85cfb5ed7 /python | |
| parent | 66fe34a49322d0a63d8f6efe00ca20d9a2c4ce05 (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')
| -rw-r--r-- | python/highlevelil.py | 4 |
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]]: |
