llvm-project/lldb/examples
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
..
customization Python 2/3 compat: StringIO 2019-03-25 15:23:34 +00:00
darwin/heap_find [lldb/examples] Add missing declaration in heap.py 2020-09-24 08:44:45 -07:00
functions [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
interposing/darwin/fd_interposing [lldb] NFC remove DISALLOW_COPY_AND_ASSIGN 2020-06-02 13:23:53 -04:00
lookup [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
plugins/commands Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
python [lldb/bindings] Add Python ScriptedProcess base class to lldb module 2021-03-23 18:24:47 +01:00
scripting Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
summaries Python 2/3 compat: str vs basestring 2019-03-25 15:21:29 +00:00
synthetic Fix libstdc++ data formatters for python3 2019-03-18 15:42:08 +00:00
test [lldb] Remove LLDB session dir and just store test traces in the respective test build directory 2020-12-04 11:43:10 +01:00