summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
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 60addda5..c9126eb5 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -816,6 +816,7 @@ class HighLevelILInstruction(BaseILInstruction):
:param HighLevelILVisitorCallback cb: Callback function that takes the name of the operand, the operand, operand type, and parent instruction
:return: True if all instructions were visited, False if the callback returned False
+
"""
if cb(name, self, "HighLevelILInstruction", parent) == False:
return False
@@ -861,6 +862,7 @@ class HighLevelILInstruction(BaseILInstruction):
:param HighLevelILVisitorCallback cb: Callback function that takes the name of the operand, the operand, operand type, and parent instruction
:return: True if all instructions were visited, False if the callback returned False
+
:Example:
>>> def visitor(_a, inst, _c, _d) -> bool:
>>> if isinstance(inst, Constant):