9#ifndef LLDB_INTERPRETER_SCRIPTEDPROCESSINTERFACE_H
10#define LLDB_INTERPRETER_SCRIPTEDPROCESSINTERFACE_H
39 virtual std::optional<MemoryRegionInfo>
41 error.SetErrorString(
"ScriptedProcess have no memory region.");
55 virtual lldb::DataExtractorSP
90 virtual std::optional<std::string>
GetName() {
return std::nullopt; }
94 virtual std::optional<std::string>
GetQueue() {
return std::nullopt; }
static llvm::raw_ostream & error(Stream &strm)
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
virtual lldb::DataExtractorSP ReadMemoryAtAddress(lldb::addr_t address, size_t size, Status &error)
virtual lldb::ScriptedThreadInterfaceSP CreateScriptedThreadInterface()
virtual StructuredData::DictionarySP GetThreadsInfo()
virtual std::optional< std::string > GetScriptedThreadPluginName()
virtual lldb::pid_t GetProcessID()
virtual StructuredData::DictionarySP GetMetadata()
virtual StructuredData::ArraySP GetLoadedImages()
virtual StructuredData::DictionarySP GetThreadWithID(lldb::tid_t tid)
virtual bool ShouldStop()
StructuredData::GenericSP CreatePluginObject(llvm::StringRef class_name, ExecutionContext &exe_ctx, StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj=nullptr) override
virtual StructuredData::DictionarySP GetRegistersForThread(lldb::tid_t tid)
virtual std::optional< MemoryRegionInfo > GetMemoryRegionContainingAddress(lldb::addr_t address, Status &error)
virtual StructuredData::DictionarySP GetStopReason()
virtual std::optional< std::string > GetRegisterContext()
virtual StructuredData::ArraySP GetExtendedInfo()
virtual StructuredData::ArraySP GetStackFrames()
virtual lldb::StateType GetState()
virtual std::optional< std::string > GetName()
virtual lldb::tid_t GetThreadID()
virtual std::optional< std::string > GetQueue()
virtual StructuredData::DictionarySP GetRegisterInfo()
StructuredData::GenericSP CreatePluginObject(llvm::StringRef class_name, ExecutionContext &exe_ctx, StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj=nullptr) override
std::shared_ptr< Generic > GenericSP
std::shared_ptr< Dictionary > DictionarySP
std::shared_ptr< Array > ArraySP
#define LLDB_INVALID_THREAD_ID
#define LLDB_INVALID_PROCESS_ID
A class that represents a running process on the host machine.
StateType
Process and Thread States.