summaryrefslogtreecommitdiff
path: root/python/lowlevelil.py
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2024-05-24 15:21:48 -0400
committerJordan Wiens <jordan@psifertex.com>2024-05-24 15:21:48 -0400
commit99a857393b90457366f55e39e42364f02e3e10b4 (patch)
tree6db0ab4443fe88adfe09b1a17fc7d656897954c3 /python/lowlevelil.py
parent5ec6a03709395cd0cfd5193ebc3ed4abbfc5f597 (diff)
fix missing params in ILOperands and mark as deprecated in LLIL, HLIL
Diffstat (limited to 'python/lowlevelil.py')
-rw-r--r--python/lowlevelil.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index e3c3ccab..3cd4e7cc 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -322,6 +322,8 @@ class LowLevelILInstruction(BaseILInstruction):
expr_index: ExpressionIndex
instr: CoreLowLevelILInstruction
instr_index: Optional[InstructionIndex]
+ # ILOperations is deprecated and will be removed in a future version once BNIL Graph no longer uses it
+ # Use the visit methods visit, visit_all, and visit_operands
ILOperations: ClassVar[Dict[LowLevelILOperation, List[Tuple[str, str]]]] = {
LowLevelILOperation.LLIL_NOP: [], LowLevelILOperation.LLIL_SET_REG: [("dest", "reg"), ("src", "expr")],
LowLevelILOperation.LLIL_SET_REG_SPLIT: [("hi", "reg"), ("lo", "reg"),