diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2024-02-29 13:21:16 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2024-02-29 13:21:16 -0500 |
| commit | 9e1de1b3dda78250012f4e03963e4d8916a8c8cd (patch) | |
| tree | d4499c7b2aed659ca1fe361b31bd921e7c6f4d10 /python/highlevelil.py | |
| parent | b7c8e9bfbae0eec8d7be47cd42f61c14542cc28c (diff) | |
link from traverse APIs to examples
Diffstat (limited to 'python/highlevelil.py')
| -rw-r--r-- | python/highlevelil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py index c9126eb5..7efbcbb8 100644 --- a/python/highlevelil.py +++ b/python/highlevelil.py @@ -783,7 +783,7 @@ class HighLevelILInstruction(BaseILInstruction): """ ``traverse`` is a generator that allows you to traverse the HLIL AST in a depth-first manner. It will yield the result of the callback function for each node in the AST. Arguments can be passed to the callback function using - ``args`` and ``kwargs``. + ``args`` and ``kwargs``. See the `Developer Docs <https://docs.binary.ninja/dev/concepts.html#walking-ils>`_ for more examples. :param Callable[[HighLevelILInstruction, Any], Any] cb: The callback function to call for each node in the HighLevelILInstruction :param Any args: Custom user-defined arguments @@ -2552,7 +2552,7 @@ class HighLevelILFunction: def traverse(self, cb: Callable[['HighLevelILInstruction', Any], Any], *args: Any, **kwargs: Any) -> Iterator[Any]: """ ``traverse`` iterates through all the instructions in the HighLevelILInstruction and calls the callback function for - each instruction and sub-instruction. + each instruction and sub-instruction. See the `Developer Docs <https://docs.binary.ninja/dev/concepts.html#walking-ils>`_ for more examples. :param Callable[[HighLevelILInstruction, Any], Any] cb: The callback function to call for each node in the HighLevelILInstruction :param Any args: Custom user-defined arguments |
