@@ -820,18 +820,18 @@ When the program is stopped at the beginning of the 'read' function in libc, we
820
820
(lldb) frame variable
821
821
(int) fd = 3
822
822
823
- Writing Target Stop-Hooks in Python:
824
- ------------------------------------
825
-
826
- Stop hooks fire whenever the process stops just before control is returned to the
827
- user. Stop hooks can either be a set of lldb command-line commands, or can
828
- be implemented by a suitably defined Python class. The Python based stop-hooks
829
- can also be passed as set of -key -value pairs when they are added, and those
830
- will get packaged up into a SBStructuredData Dictionary and passed to the
831
- constructor of the Python object managing the stop hook. This allows for
832
- parametrization of the stop hooks.
833
-
834
- To add a Python-based stop hook, first define a class with the following methods:
823
+ Writing Target Stop-Hooks in Python:
824
+ ------------------------------------
825
+
826
+ Stop hooks fire whenever the process stops just before control is returned to the
827
+ user. Stop hooks can either be a set of lldb command-line commands, or can
828
+ be implemented by a suitably defined Python class. The Python based stop-hooks
829
+ can also be passed as set of -key -value pairs when they are added, and those
830
+ will get packaged up into a SBStructuredData Dictionary and passed to the
831
+ constructor of the Python object managing the stop hook. This allows for
832
+ parametrization of the stop hooks.
833
+
834
+ To add a Python-based stop hook, first define a class with the following methods:
835
835
836
836
+--------------------+---------------------------------------+------------------------------------------------------------------------------------------------------------------+
837
837
| Name | Arguments | Description |
0 commit comments