summaryrefslogtreecommitdiff
path: root/python/highlevelil.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/highlevelil.py
parent5ec6a03709395cd0cfd5193ebc3ed4abbfc5f597 (diff)
fix missing params in ILOperands and mark as deprecated in LLIL, HLIL
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 34bfef91..8e3f9696 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -146,6 +146,8 @@ class HighLevelILInstruction(BaseILInstruction):
core_instr: CoreHighLevelILInstruction
as_ast: bool
instr_index: 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[Mapping[HighLevelILOperation, List[Tuple[str, str]]]] = {
HighLevelILOperation.HLIL_NOP: [], HighLevelILOperation.HLIL_BLOCK: [("body", "expr_list")],
HighLevelILOperation.HLIL_IF: [("condition", "expr"), ("true", "expr"),