diff options
author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-03-03 19:30:56 -0800 |
---|---|---|
committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-03-03 19:33:02 -0800 |
commit | f190ec6882706d30c606e62986512371925288a9 (patch) | |
tree | a8f45942a38b3bf8ab67aacff8eda3c4c4a02ad6 /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | e02a355f9846d5ec9cd64b086674770ecc795c26 (diff) | |
download | llvm-f190ec6882706d30c606e62986512371925288a9.zip llvm-f190ec6882706d30c606e62986512371925288a9.tar.gz llvm-f190ec6882706d30c606e62986512371925288a9.tar.bz2 |
[lldb/Plugins] Add memory writing capabilities to Scripted Process
This patch adds memory writing capabilities to the Scripted Process plugin.
This allows to user to get a target address and a memory buffer on the
python scripted process implementation that the user can make processing
on before performing the actual write.
This will also be used to write trap instruction to a real process
memory to set a breakpoint.
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
-rw-r--r-- | lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp index 1a8ad86..59ba0b7 100644 --- a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp +++ b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp @@ -286,3 +286,8 @@ python::PythonObject lldb_private::python::ToSWIGWrapper(lldb::ProcessLaunchInfoSP) { return python::PythonObject(); } + +python::PythonObject +lldb_private::python::ToSWIGWrapper(lldb::DataExtractorSP) { + return python::PythonObject(); +} |