C# Класс LLDB.Process

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
NativeToManagedMap Process>.System.Collections.Concurrent.ConcurrentDictionary

Защищенные свойства (Protected)

Свойство Тип Описание
__OriginalVTables void*[]
__PointerAdjustment int
__ownsNativeInstance bool

Открытые методы

Метод Описание
AppendEventStateReport ( LLDB @event, LLDB result ) : void
Clear ( ) : void
Continue ( ) : LLDB.Error
CreateOSPluginThread ( ulong tid, ulong context ) : LLDB.Thread
Destroy ( ) : LLDB.Error
Detach ( ) : LLDB.Error
Detach ( bool keep_stopped ) : LLDB.Error
Dispose ( ) : void
EventIsProcessEvent ( LLDB @event ) : bool
GetAsyncProfileData ( sbyte dst, uint dst_len ) : uint
GetBroadcaster ( ) : LLDB.Broadcaster
GetDescription ( LLDB description ) : bool
GetExtendedBacktraceTypeAtIndex ( uint idx ) : string

Return the name of one of the thread-origin extended backtrace

methods.

GetHistoryThreads ( ulong addr ) : LLDB.ThreadCollection
GetInterruptedFromEvent ( LLDB @event ) : bool
GetNumRestartedReasonsFromEvent ( LLDB @event ) : uint
GetNumSupportedHardwareWatchpoints ( LLDB error ) : uint
GetProcessFromEvent ( LLDB @event ) : LLDB.Process
GetQueueAtIndex ( uint index ) : LLDB.Queue
GetRestartedFromEvent ( LLDB @event ) : bool
GetRestartedReasonAtIndexFromEvent ( LLDB @event, uint idx ) : string
GetSTDERR ( sbyte dst, uint dst_len ) : uint
GetSTDOUT ( sbyte dst, uint dst_len ) : uint
GetSelectedThread ( ) : LLDB.Thread
GetStateFromEvent ( LLDB @event ) : LLDB.StateType
GetStopEventForStopID ( uint stop_id ) : LLDB.Event

Note that it wasn't fully implemented and tracks only the stop

event for the last natural stop ID.

GetStopID ( bool include_expression_stops ) : uint
GetTarget ( ) : LLDB.Target
GetThreadAtIndex ( uint index ) : LLDB.Thread
GetThreadByID ( ulong sb_thread_id ) : LLDB.Thread
GetThreadByIndexID ( uint index_id ) : LLDB.Thread
GetUnixSignals ( ) : LLDB.UnixSignals
IsInstrumentationRuntimePresent ( LLDB type ) : bool
IsValid ( ) : bool
Kill ( ) : LLDB.Error
LoadImage ( LLDB remote_image_spec, LLDB &error ) : uint

Load a shared library into this process.

LoadImage ( LLDB local_image_spec, LLDB remote_image_spec, LLDB &error ) : uint

Load a shared library into this process.

Process ( ) : System
Process ( LLDB rhs ) : System
PutSTDIN ( string src, uint src_len ) : uint
ReadCStringFromMemory ( ulong addr, global buf, uint size, LLDB error ) : uint
ReadMemory ( ulong addr, global buf, uint size, LLDB error ) : uint
ReadPointerFromMemory ( ulong addr, LLDB error ) : ulong
ReadUnsignedFromMemory ( ulong addr, uint byte_size, LLDB error ) : ulong
RemoteAttachToProcessWithID ( ulong pid, LLDB error ) : bool

Remote connection related functions. These will fail if the

process is not in eStateConnected. They are intended for use

when connecting to an externally managed debugserver instance.

RemoteLaunch ( sbyte argv, sbyte envp, string stdin_path, string stdout_path, string stderr_path, string working_directory, uint launch_flags, bool stop_at_entry, LLDB error ) : bool
ReportEventState ( LLDB @event, global @out ) : void
SaveCore ( string file_name ) : LLDB.Error
SendAsyncInterrupt ( ) : void
SendEventData ( string data ) : LLDB.Error
SetSelectedThread ( LLDB thread ) : bool
SetSelectedThreadByID ( ulong tid ) : bool
SetSelectedThreadByIndexID ( uint index_id ) : bool
Signal ( int signal ) : LLDB.Error
Stop ( ) : LLDB.Error
UnloadImage ( uint image_token ) : LLDB.Error
WriteMemory ( ulong addr, global buf, uint size, LLDB error ) : uint
__CreateInstance ( Process native, bool skipVTables = false ) : Process
__CreateInstance ( global native, bool skipVTables = false ) : Process

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void
Process ( void native, bool skipVTables = false ) : System

Приватные методы

Метод Описание
Process ( Process native, bool skipVTables = false ) : System
__CopyValue ( Process native ) : void*

Описание методов

AppendEventStateReport() публичный Метод

public AppendEventStateReport ( LLDB @event, LLDB result ) : void
@event LLDB
result LLDB
Результат void

Clear() публичный Метод

public Clear ( ) : void
Результат void

Continue() публичный Метод

public Continue ( ) : LLDB.Error
Результат LLDB.Error

CreateOSPluginThread() публичный Метод

public CreateOSPluginThread ( ulong tid, ulong context ) : LLDB.Thread
tid ulong
context ulong
Результат LLDB.Thread

Destroy() публичный Метод

public Destroy ( ) : LLDB.Error
Результат LLDB.Error

Detach() публичный Метод

public Detach ( ) : LLDB.Error
Результат LLDB.Error

Detach() публичный Метод

public Detach ( bool keep_stopped ) : LLDB.Error
keep_stopped bool
Результат LLDB.Error

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EventIsProcessEvent() публичный статический Метод

public static EventIsProcessEvent ( LLDB @event ) : bool
@event LLDB
Результат bool

GetAsyncProfileData() публичный Метод

public GetAsyncProfileData ( sbyte dst, uint dst_len ) : uint
dst sbyte
dst_len uint
Результат uint

GetBroadcaster() публичный Метод

public GetBroadcaster ( ) : LLDB.Broadcaster
Результат LLDB.Broadcaster

GetDescription() публичный Метод

public GetDescription ( LLDB description ) : bool
description LLDB
Результат bool

GetExtendedBacktraceTypeAtIndex() публичный Метод

Return the name of one of the thread-origin extended backtrace

methods.

public GetExtendedBacktraceTypeAtIndex ( uint idx ) : string
idx uint /// The index of the name to return. They will be returned in /// the order that the user will most likely want to see them. /// e.g. if the type at index 0 is not available for a thread, /// see if the type at index 1 provides an extended backtrace. ///
Результат string

GetHistoryThreads() публичный Метод

public GetHistoryThreads ( ulong addr ) : LLDB.ThreadCollection
addr ulong
Результат LLDB.ThreadCollection

GetInterruptedFromEvent() публичный статический Метод

public static GetInterruptedFromEvent ( LLDB @event ) : bool
@event LLDB
Результат bool

GetNumRestartedReasonsFromEvent() публичный статический Метод

public static GetNumRestartedReasonsFromEvent ( LLDB @event ) : uint
@event LLDB
Результат uint

GetNumSupportedHardwareWatchpoints() публичный Метод

public GetNumSupportedHardwareWatchpoints ( LLDB error ) : uint
error LLDB
Результат uint

GetProcessFromEvent() публичный статический Метод

public static GetProcessFromEvent ( LLDB @event ) : LLDB.Process
@event LLDB
Результат LLDB.Process

GetQueueAtIndex() публичный Метод

public GetQueueAtIndex ( uint index ) : LLDB.Queue
index uint
Результат LLDB.Queue

GetRestartedFromEvent() публичный статический Метод

public static GetRestartedFromEvent ( LLDB @event ) : bool
@event LLDB
Результат bool

GetRestartedReasonAtIndexFromEvent() публичный статический Метод

public static GetRestartedReasonAtIndexFromEvent ( LLDB @event, uint idx ) : string
@event LLDB
idx uint
Результат string

GetSTDERR() публичный Метод

public GetSTDERR ( sbyte dst, uint dst_len ) : uint
dst sbyte
dst_len uint
Результат uint

GetSTDOUT() публичный Метод

public GetSTDOUT ( sbyte dst, uint dst_len ) : uint
dst sbyte
dst_len uint
Результат uint

GetSelectedThread() публичный Метод

public GetSelectedThread ( ) : LLDB.Thread
Результат LLDB.Thread

GetStateFromEvent() публичный статический Метод

public static GetStateFromEvent ( LLDB @event ) : LLDB.StateType
@event LLDB
Результат LLDB.StateType

GetStopEventForStopID() публичный Метод

Note that it wasn't fully implemented and tracks only the stop

event for the last natural stop ID.

public GetStopEventForStopID ( uint stop_id ) : LLDB.Event
stop_id uint /// The ID of the stop event to return. ///
Результат LLDB.Event

GetStopID() публичный Метод

public GetStopID ( bool include_expression_stops ) : uint
include_expression_stops bool
Результат uint

GetTarget() публичный Метод

public GetTarget ( ) : LLDB.Target
Результат LLDB.Target

GetThreadAtIndex() публичный Метод

public GetThreadAtIndex ( uint index ) : LLDB.Thread
index uint
Результат LLDB.Thread

GetThreadByID() публичный Метод

public GetThreadByID ( ulong sb_thread_id ) : LLDB.Thread
sb_thread_id ulong
Результат LLDB.Thread

GetThreadByIndexID() публичный Метод

public GetThreadByIndexID ( uint index_id ) : LLDB.Thread
index_id uint
Результат LLDB.Thread

GetUnixSignals() публичный Метод

public GetUnixSignals ( ) : LLDB.UnixSignals
Результат LLDB.UnixSignals

IsInstrumentationRuntimePresent() публичный Метод

public IsInstrumentationRuntimePresent ( LLDB type ) : bool
type LLDB
Результат bool

IsValid() публичный Метод

public IsValid ( ) : bool
Результат bool

Kill() публичный Метод

public Kill ( ) : LLDB.Error
Результат LLDB.Error

LoadImage() публичный Метод

Load a shared library into this process.

public LoadImage ( LLDB remote_image_spec, LLDB &error ) : uint
remote_image_spec LLDB /// The path for the shared library on the target what you want /// to load. ///
error LLDB /// An error object that gets filled in with any errors that /// might occur when trying to load the shared library. ///
Результат uint

LoadImage() публичный Метод

Load a shared library into this process.

public LoadImage ( LLDB local_image_spec, LLDB remote_image_spec, LLDB &error ) : uint
local_image_spec LLDB /// The file spec that points to the shared library that you /// want to load if the library is located on the host. The /// library will be copied over to the location specified by /// remote_image_spec or into the current working directory with /// the same filename if the remote_image_spec isn't specified. ///
remote_image_spec LLDB /// If local_image_spec is specified then the location where the /// library should be copied over from the host. If /// local_image_spec isn't specified, then the path for the /// shared library on the target what you want to load. ///
error LLDB /// An error object that gets filled in with any errors that /// might occur when trying to load the shared library. ///
Результат uint

Process() публичный Метод

public Process ( ) : System
Результат System

Process() публичный Метод

public Process ( LLDB rhs ) : System
rhs LLDB
Результат System

Process() защищенный Метод

protected Process ( void native, bool skipVTables = false ) : System
native void
skipVTables bool
Результат System

PutSTDIN() публичный Метод

public PutSTDIN ( string src, uint src_len ) : uint
src string
src_len uint
Результат uint

ReadCStringFromMemory() публичный Метод

public ReadCStringFromMemory ( ulong addr, global buf, uint size, LLDB error ) : uint
addr ulong
buf global
size uint
error LLDB
Результат uint

ReadMemory() публичный Метод

public ReadMemory ( ulong addr, global buf, uint size, LLDB error ) : uint
addr ulong
buf global
size uint
error LLDB
Результат uint

ReadPointerFromMemory() публичный Метод

public ReadPointerFromMemory ( ulong addr, LLDB error ) : ulong
addr ulong
error LLDB
Результат ulong

ReadUnsignedFromMemory() публичный Метод

public ReadUnsignedFromMemory ( ulong addr, uint byte_size, LLDB error ) : ulong
addr ulong
byte_size uint
error LLDB
Результат ulong

RemoteAttachToProcessWithID() публичный Метод

Remote connection related functions. These will fail if the

process is not in eStateConnected. They are intended for use

when connecting to an externally managed debugserver instance.

public RemoteAttachToProcessWithID ( ulong pid, LLDB error ) : bool
pid ulong
error LLDB
Результат bool

RemoteLaunch() публичный Метод

public RemoteLaunch ( sbyte argv, sbyte envp, string stdin_path, string stdout_path, string stderr_path, string working_directory, uint launch_flags, bool stop_at_entry, LLDB error ) : bool
argv sbyte
envp sbyte
stdin_path string
stdout_path string
stderr_path string
working_directory string
launch_flags uint
stop_at_entry bool
error LLDB
Результат bool

ReportEventState() публичный Метод

public ReportEventState ( LLDB @event, global @out ) : void
@event LLDB
@out global
Результат void

SaveCore() публичный Метод

public SaveCore ( string file_name ) : LLDB.Error
file_name string
Результат LLDB.Error

SendAsyncInterrupt() публичный Метод

public SendAsyncInterrupt ( ) : void
Результат void

SendEventData() публичный Метод

public SendEventData ( string data ) : LLDB.Error
data string
Результат LLDB.Error

SetSelectedThread() публичный Метод

public SetSelectedThread ( LLDB thread ) : bool
thread LLDB
Результат bool

SetSelectedThreadByID() публичный Метод

public SetSelectedThreadByID ( ulong tid ) : bool
tid ulong
Результат bool

SetSelectedThreadByIndexID() публичный Метод

public SetSelectedThreadByIndexID ( uint index_id ) : bool
index_id uint
Результат bool

Signal() публичный Метод

public Signal ( int signal ) : LLDB.Error
signal int
Результат LLDB.Error

Stop() публичный Метод

public Stop ( ) : LLDB.Error
Результат LLDB.Error

UnloadImage() публичный Метод

public UnloadImage ( uint image_token ) : LLDB.Error
image_token uint
Результат LLDB.Error

WriteMemory() публичный Метод

public WriteMemory ( ulong addr, global buf, uint size, LLDB error ) : uint
addr ulong
buf global
size uint
error LLDB
Результат uint

__CreateInstance() публичный статический Метод

public static __CreateInstance ( Process native, bool skipVTables = false ) : Process
native Process
skipVTables bool
Результат Process

__CreateInstance() публичный статический Метод

public static __CreateInstance ( global native, bool skipVTables = false ) : Process
native global
skipVTables bool
Результат Process

Описание свойств

NativeToManagedMap публичное статическое свойство

public static System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap
Результат Process>.System.Collections.Concurrent.ConcurrentDictionary

__OriginalVTables защищенное свойство

protected void*[] __OriginalVTables
Результат void*[]

__PointerAdjustment защищенное свойство

protected int __PointerAdjustment
Результат int

__ownsNativeInstance защищенное свойство

protected bool __ownsNativeInstance
Результат bool