9#ifndef LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_PYTHON_INTERFACES_SCRIPTEDPROCESSPYTHONINTERFACE_H
10#define LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_PYTHON_INTERFACES_SCRIPTEDPROCESSPYTHONINTERFACE_H
25 llvm::Expected<StructuredData::GenericSP>
31 llvm::SmallVector<AbstractMethodRequirement>
33 return llvm::SmallVector<AbstractMethodRequirement>(
34 {{
"read_memory_at_address", 4},
36 {
"get_scripted_thread_plugin"}});
47 std::optional<MemoryRegionInfo>
77 return "ScriptedProcessPythonInterface";
static llvm::raw_ostream & error(Stream &strm)
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
PluginInterface()=default
StructuredData::DictionarySP GetThreadsInfo() override
llvm::Expected< StructuredData::GenericSP > CreatePluginObject(const llvm::StringRef class_name, ExecutionContext &exe_ctx, StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj=nullptr) override
lldb::ScriptedThreadInterfaceSP CreateScriptedThreadInterface() override
StructuredData::DictionarySP GetMetadata() override
lldb::DataExtractorSP ReadMemoryAtAddress(lldb::addr_t address, size_t size, Status &error) override
StructuredData::ArraySP GetLoadedImages() override
std::optional< std::string > GetScriptedThreadPluginName() override
bool CreateBreakpoint(lldb::addr_t addr, Status &error) override
Status Attach(const ProcessAttachInfo &attach_info) override
std::optional< MemoryRegionInfo > GetMemoryRegionContainingAddress(lldb::addr_t address, Status &error) override
static llvm::StringRef GetPluginNameStatic()
llvm::SmallVector< AbstractMethodRequirement > GetAbstractMethodRequirements() const override
lldb::pid_t GetProcessID() override
lldb::offset_t WriteMemoryAtAddress(lldb::addr_t addr, lldb::DataExtractorSP data_sp, Status &error) override
ScriptedProcessPythonInterface(ScriptInterpreterPythonImpl &interpreter)
llvm::StringRef GetPluginName() override
StructuredData::DictionarySP GetCapabilities() override
ScriptedPythonInterface(ScriptInterpreterPythonImpl &interpreter)
std::shared_ptr< Dictionary > DictionarySP
std::shared_ptr< Array > ArraySP
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::ScriptedThreadInterface > ScriptedThreadInterfaceSP
std::shared_ptr< lldb_private::DataExtractor > DataExtractorSP