LLDB  mainline
Public Member Functions | Protected Member Functions | Friends | List of all members
lldb_private::ScriptedProcessInterface Class Reference

#include <ScriptedProcessInterface.h>

Inheritance diagram for lldb_private::ScriptedProcessInterface:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::ScriptedProcessInterface:
Collaboration graph
[legend]

Public Member Functions

StructuredData::GenericSP CreatePluginObject (llvm::StringRef class_name, ExecutionContext &exe_ctx, StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj=nullptr) override
 
virtual Status Launch ()
 
virtual Status Resume ()
 
virtual bool ShouldStop ()
 
virtual Status Stop ()
 
virtual llvm::Optional< MemoryRegionInfoGetMemoryRegionContainingAddress (lldb::addr_t address, Status &error)
 
virtual StructuredData::DictionarySP GetThreadsInfo ()
 
virtual StructuredData::DictionarySP GetThreadWithID (lldb::tid_t tid)
 
virtual StructuredData::DictionarySP GetRegistersForThread (lldb::tid_t tid)
 
virtual lldb::DataExtractorSP ReadMemoryAtAddress (lldb::addr_t address, size_t size, Status &error)
 
virtual StructuredData::DictionarySP GetLoadedImages ()
 
virtual lldb::pid_t GetProcessID ()
 
virtual bool IsAlive ()
 
virtual llvm::Optional< std::stringGetScriptedThreadPluginName ()
 
- Public Member Functions inherited from lldb_private::ScriptedInterface
 ScriptedInterface ()=default
 
virtual ~ScriptedInterface ()=default
 
template<typename T = StructuredData::ObjectSP>
bool CheckStructuredDataObject (llvm::StringRef caller, T obj, Status &error)
 

Protected Member Functions

virtual lldb::ScriptedThreadInterfaceSP CreateScriptedThreadInterface ()
 

Friends

class ScriptedThread
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::ScriptedInterface
template<typename Ret >
static Ret ErrorWithMessage (llvm::StringRef caller_name, llvm::StringRef error_msg, Status &error, uint32_t log_caterogy=LIBLLDB_LOG_PROCESS)
 
- Protected Attributes inherited from lldb_private::ScriptedInterface
StructuredData::GenericSP m_object_instance_sp
 

Detailed Description

Definition at line 22 of file ScriptedProcessInterface.h.

Member Function Documentation

◆ CreatePluginObject()

StructuredData::GenericSP lldb_private::ScriptedProcessInterface::CreatePluginObject ( llvm::StringRef  class_name,
ExecutionContext exe_ctx,
StructuredData::DictionarySP  args_sp,
StructuredData::Generic script_obj = nullptr 
)
inlineoverridevirtual

◆ CreateScriptedThreadInterface()

virtual lldb::ScriptedThreadInterfaceSP lldb_private::ScriptedProcessInterface::CreateScriptedThreadInterface ( )
inlineprotectedvirtual

Definition at line 72 of file ScriptedProcessInterface.h.

Referenced by lldb_private::ScriptedThread::Create().

◆ GetLoadedImages()

virtual StructuredData::DictionarySP lldb_private::ScriptedProcessInterface::GetLoadedImages ( )
inlinevirtual

Definition at line 60 of file ScriptedProcessInterface.h.

◆ GetMemoryRegionContainingAddress()

virtual llvm::Optional<MemoryRegionInfo> lldb_private::ScriptedProcessInterface::GetMemoryRegionContainingAddress ( lldb::addr_t  address,
Status error 
)
inlinevirtual

Definition at line 40 of file ScriptedProcessInterface.h.

References error().

◆ GetProcessID()

virtual lldb::pid_t lldb_private::ScriptedProcessInterface::GetProcessID ( )
inlinevirtual

◆ GetRegistersForThread()

virtual StructuredData::DictionarySP lldb_private::ScriptedProcessInterface::GetRegistersForThread ( lldb::tid_t  tid)
inlinevirtual

Definition at line 51 of file ScriptedProcessInterface.h.

◆ GetScriptedThreadPluginName()

virtual llvm::Optional<std::string> lldb_private::ScriptedProcessInterface::GetScriptedThreadPluginName ( )
inlinevirtual

Definition at line 66 of file ScriptedProcessInterface.h.

Referenced by lldb_private::ScriptedThread::Create().

◆ GetThreadsInfo()

virtual StructuredData::DictionarySP lldb_private::ScriptedProcessInterface::GetThreadsInfo ( )
inlinevirtual

◆ GetThreadWithID()

virtual StructuredData::DictionarySP lldb_private::ScriptedProcessInterface::GetThreadWithID ( lldb::tid_t  tid)
inlinevirtual

Definition at line 47 of file ScriptedProcessInterface.h.

◆ IsAlive()

virtual bool lldb_private::ScriptedProcessInterface::IsAlive ( )
inlinevirtual

Definition at line 64 of file ScriptedProcessInterface.h.

Referenced by lldb_private::ScriptedProcess::IsAlive().

◆ Launch()

virtual Status lldb_private::ScriptedProcessInterface::Launch ( )
inlinevirtual

Definition at line 31 of file ScriptedProcessInterface.h.

Referenced by lldb_private::ScriptedProcess::DoLaunch().

◆ ReadMemoryAtAddress()

virtual lldb::DataExtractorSP lldb_private::ScriptedProcessInterface::ReadMemoryAtAddress ( lldb::addr_t  address,
size_t  size,
Status error 
)
inlinevirtual

◆ Resume()

virtual Status lldb_private::ScriptedProcessInterface::Resume ( )
inlinevirtual

Definition at line 33 of file ScriptedProcessInterface.h.

Referenced by lldb_private::ScriptedProcess::DoResume().

◆ ShouldStop()

virtual bool lldb_private::ScriptedProcessInterface::ShouldStop ( )
inlinevirtual

Definition at line 35 of file ScriptedProcessInterface.h.

◆ Stop()

virtual Status lldb_private::ScriptedProcessInterface::Stop ( )
inlinevirtual

Definition at line 37 of file ScriptedProcessInterface.h.

Referenced by lldb_private::ScriptedProcess::DoStop().

Friends And Related Function Documentation

◆ ScriptedThread

friend class ScriptedThread
friend

Definition at line 71 of file ScriptedProcessInterface.h.


The documentation for this class was generated from the following file: