llvm-project/lldb/source/Plugins/ScriptInterpreter/Python
Med Ismail Bennani 680ca7f21a [lldb/Plugins] Add ability to load modules to Scripted Processes
This patch introduces a new way to load modules programatically with
Scripted Processes. To do so, the scripted process blueprint holds a
list of dictionary describing the modules to load, which their path or
uuid, load address and eventually a slide offset.

LLDB will fetch that list after launching the ScriptedProcess, and
iterate over each entry to create the module that will be loaded in the
Scripted Process' target.

The patch also refactors the StackCoreScriptedProcess test to stop
inside the `libbaz` module and make sure it's loaded correctly and that
we can fetch some variables from it.

rdar://74520238

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
2022-03-04 13:35:28 -08:00
..
CMakeLists.txt [lldb] fix -print-script-interpreter-info on windows 2021-11-16 13:50:20 -08:00
PythonDataObjects.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
PythonDataObjects.h [lldb] Fix D114722 for python<=3.6 2022-01-19 12:49:46 +01:00
PythonReadline.cpp [lldb][NFC] Use C++ versions of the deprecated C standard library headers 2021-05-26 12:46:12 +02:00
PythonReadline.h
SWIGPythonBridge.cpp [lldb/Interpreter] Add ScriptInterpreter Wrapper for ScriptedProcess 2021-03-23 18:24:47 +01:00
SWIGPythonBridge.h [lldb/python] Use PythonObject in LLDBSwigPython functions 2022-01-18 10:28:58 +01:00
ScriptInterpreterPython.cpp [lldb] Remove FileSystem::Initialize from FileCollector 2022-03-03 13:22:38 -08:00
ScriptInterpreterPython.h [lldb] Clarify StructuredDataImpl ownership 2021-12-13 21:04:51 +01:00
ScriptInterpreterPythonImpl.h [lldb] Initialize Python exactly once 2022-01-19 09:56:55 -08:00
ScriptedProcessPythonInterface.cpp [lldb/Plugins] Add ability to load modules to Scripted Processes 2022-03-04 13:35:28 -08:00
ScriptedProcessPythonInterface.h [lldb/Plugins] Add ability to load modules to Scripted Processes 2022-03-04 13:35:28 -08:00
ScriptedPythonInterface.cpp [lldb/Plugin] Add artificial stackframe loading in ScriptedThread 2022-02-16 11:44:07 -08:00
ScriptedPythonInterface.h [lldb/Plugin] Add artificial stackframe loading in ScriptedThread 2022-02-16 11:44:07 -08:00
ScriptedThreadPythonInterface.cpp [lldb/Plugin] Add artificial stackframe loading in ScriptedThread 2022-02-16 11:44:07 -08:00
ScriptedThreadPythonInterface.h [lldb/Plugins] Add support of multiple ScriptedThreads in a ScriptedProcess 2022-01-24 20:25:53 +01:00
lldb-python.h Work around a module build failure on the bots. 2022-01-20 13:39:48 -08:00