llvm-project/lldb/examples/python
Med Ismail Bennani f3176f5fed [lldb/bindings] Add Python ScriptedProcess base class to lldb module
In order to facilitate the writting of Scripted Processes, this patch
introduces a `ScriptedProcess` python base class in the lldb module.

The base class holds the python interface with all the - abstract -
methods that need to be implemented by the inherited class but also some
methods that can be overwritten.

This patch also provides an example of a Scripted Process with the
`MyScriptedProcess` class.

rdar://65508855

Differential Revision: https://reviews.llvm.org/D95712

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
2021-03-23 18:24:47 +01:00
..
scripted_process [lldb/bindings] Add Python ScriptedProcess base class to lldb module 2021-03-23 18:24:47 +01:00
armv7_cortex_m_target_defintion.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
bsd.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
cmdtemplate.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
crashlog.py [lldb] Update crashlog script for JSON changes 2021-03-09 10:44:34 -08:00
delta.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
diagnose_nsstring.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
diagnose_unwind.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
dict_utils.py
disasm-stress-test.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
disasm.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
disassembly_mode.py
file_extract.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
gdb_disassemble.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
gdbremote.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
globals.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
in_call_stack.py [Examples] Move structured-data unpacking out of the loop. (NFC) 2019-11-22 15:43:39 -08:00
jump.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
lldb_module_utils.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
lldbtk.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
mach_o.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
memory.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
operating_system.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
performance.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
process_events.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
pytracer.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
sbvalue.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
scripted_step.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
shadow.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
sources.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
stacks.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
step_and_print.py
symbolication.py [lldb] Refactor the Symbolicator initializer 2020-12-03 14:31:59 -08:00
types.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
x86_64_linux_target_definition.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
x86_64_qemu_target_definition.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
x86_64_target_definition.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00