diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2024-02-26 14:53:17 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2024-02-26 14:53:17 -0500 |
| commit | fb7bef063f982495e2b23a115c34ead37b449483 (patch) | |
| tree | fbb5c295645467384cbe96b8ceee75ecdb5a24d3 /python/highlevelil.py | |
| parent | fda777533bb72e0aee1a9dcfde12f50bed0694d8 (diff) | |
fix plugincommand docs
Diffstat (limited to 'python/highlevelil.py')
| -rw-r--r-- | python/highlevelil.py | 2 |
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): |
