C# 클래스 LLDB.Process

상속: IDisposable
파일 보기 프로젝트 열기: tritao/LLDBSharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
NativeToManagedMap Process>.System.Collections.Concurrent.ConcurrentDictionary

보호된 프로퍼티들

프로퍼티 타입 설명
__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