llvm-project/lldb/source/Plugins/ScriptInterpreter
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
..
Lua [lldb] Fix the build after 8b3b66ea63 2022-03-03 13:57:33 -08:00
None [lldb] Remove ConstString from Process, ScriptInterpreter and StructuredData plugin names 2021-10-28 10:15:03 +02:00
Python [lldb/Plugins] Add ability to load modules to Scripted Processes 2022-03-04 13:35:28 -08:00
CMakeLists.txt [lldb/Lua] Add Boilerplate for a Lua Script Interpreter 2019-12-19 10:13:51 -08:00