From 99a857393b90457366f55e39e42364f02e3e10b4 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Fri, 24 May 2024 15:21:48 -0400 Subject: fix missing params in ILOperands and mark as deprecated in LLIL, HLIL --- python/highlevelil.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/highlevelil.py') 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"), -- cgit v1.3.1