C# 클래스 LLDB.Target

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

공개 프로퍼티들

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

보호된 프로퍼티들

프로퍼티 타입 설명
__OriginalVTables void*[]
__PointerAdjustment int
__ownsNativeInstance bool

공개 메소드들

메소드 설명
AddModule ( LLDB module_spec ) : LLDB.Module
AddModule ( string path, string triple, string uuid ) : LLDB.Module
AddModule ( string path, string triple, string uuid_cstr, string symfile ) : LLDB.Module
AddModule ( LLDB module ) : bool
Attach ( LLDB attach_info, LLDB error ) : LLDB.Process
AttachToProcessWithID ( LLDB listener, int pid, LLDB error ) : LLDB.Process
AttachToProcessWithID ( LLDB listener, ulong pid, LLDB error ) : LLDB.Process

Attach to process with pid.

AttachToProcessWithName ( LLDB listener, string name, bool wait_for, LLDB error ) : LLDB.Process

Attach to process with name.

BreakpointCreateByAddress ( ulong address ) : LLDB.Breakpoint
BreakpointCreateByLocation ( LLDB file_spec, uint line ) : LLDB.Breakpoint
BreakpointCreateByLocation ( LLDB file_spec, uint line, ulong offset ) : LLDB.Breakpoint
BreakpointCreateByLocation ( string file, uint line ) : LLDB.Breakpoint
BreakpointCreateByName ( string symbol_name, LLDB module_list, LLDB comp_unit_list ) : LLDB.Breakpoint
BreakpointCreateByName ( string symbol_name, string module_name ) : LLDB.Breakpoint
BreakpointCreateByName ( string symbol_name, uint name_type_mask, LLDB module_list, LLDB comp_unit_list ) : LLDB.Breakpoint
BreakpointCreateByName ( string symbol_name, uint name_type_mask, LLDB symbol_language, LLDB module_list, LLDB comp_unit_list ) : LLDB.Breakpoint
BreakpointCreateByRegex ( string symbol_name_regex, LLDB module_list, LLDB comp_unit_list ) : LLDB.Breakpoint
BreakpointCreateByRegex ( string symbol_name_regex, LLDB symbol_language, LLDB module_list, LLDB comp_unit_list ) : LLDB.Breakpoint
BreakpointCreateByRegex ( string symbol_name_regex, string module_name ) : LLDB.Breakpoint
BreakpointCreateBySBAddress ( LLDB address ) : LLDB.Breakpoint
BreakpointCreateBySourceRegex ( string source_regex, LLDB module_list, LLDB source_file ) : LLDB.Breakpoint
BreakpointCreateBySourceRegex ( string source_regex, LLDB module_list, LLDB source_file, LLDB func_names ) : LLDB.Breakpoint
BreakpointCreateBySourceRegex ( string source_regex, LLDB source_file, string module_name ) : LLDB.Breakpoint
BreakpointCreateForException ( LLDB language, bool catch_bp, bool throw_bp ) : LLDB.Breakpoint
BreakpointDelete ( int break_id ) : bool
Clear ( ) : void
ClearModuleLoadAddress ( LLDB module ) : LLDB.Error

Clear the section base load addresses for all sections in a module.

ClearSectionLoadAddress ( LLDB section ) : LLDB.Error

Clear the base load address for a module section.

ConnectRemote ( LLDB listener, string url, string plugin_name, LLDB error ) : LLDB.Process

Connect to a remote debug server with url.

CreateValueFromAddress ( string name, LLDB addr, LLDB type ) : LLDB.Value
CreateValueFromData ( string name, LLDB data, LLDB type ) : LLDB.Value
CreateValueFromExpression ( string name, string expr ) : LLDB.Value
DeleteAllBreakpoints ( ) : bool
DeleteAllWatchpoints ( ) : bool
DeleteWatchpoint ( int watch_id ) : bool
DisableAllBreakpoints ( ) : bool
DisableAllWatchpoints ( ) : bool
Dispose ( ) : void
EnableAllBreakpoints ( ) : bool
EnableAllWatchpoints ( ) : bool
Equals ( object obj ) : bool
EvaluateExpression ( string expr ) : LLDB.Value
EvaluateExpression ( string expr, LLDB options ) : LLDB.Value
EventIsTargetEvent ( LLDB @event ) : bool
FindBreakpointByID ( int break_id ) : LLDB.Breakpoint
FindFirstGlobalVariable ( string name ) : LLDB.Value

Find the first global (or static) variable by name.

FindFirstType ( string type ) : LLDB.Type
FindFunctions ( string name, uint name_type_mask ) : LLDB.SymbolContextList

Find functions by name.

FindGlobalFunctions ( string name, uint max_matches, LLDB matchtype ) : LLDB.SymbolContextList

Find global functions by their name with pattern matching.

FindGlobalVariables ( string name, uint max_matches ) : LLDB.ValueList

Find global and static variables by name.

FindGlobalVariables ( string name, uint max_matches, LLDB matchtype ) : LLDB.ValueList

Find global and static variables by pattern.

FindModule ( LLDB file_spec ) : LLDB.Module
FindSymbols ( string name, LLDB type ) : LLDB.SymbolContextList
FindTypes ( string type ) : LLDB.TypeList
FindWatchpointByID ( int watch_id ) : LLDB.Watchpoint
GetBasicType ( LLDB type ) : LLDB.Type
GetBreakpointAtIndex ( uint idx ) : LLDB.Breakpoint
GetBroadcaster ( ) : LLDB.Broadcaster
GetDebugger ( ) : LLDB.Debugger
GetDescription ( LLDB description, LLDB description_level ) : bool
GetExecutable ( ) : LLDB.FileSpec
GetHashCode ( ) : int
GetInstructions ( LLDB base_addr, global buf, uint size ) : LLDB.InstructionList
GetInstructions ( ulong base_addr, global buf, uint size ) : LLDB.InstructionList
GetInstructionsWithFlavor ( LLDB base_addr, string flavor_string, global buf, uint size ) : LLDB.InstructionList
GetInstructionsWithFlavor ( ulong base_addr, string flavor_string, global buf, uint size ) : LLDB.InstructionList
GetLaunchInfo ( ) : LLDB.LaunchInfo
GetModuleAtIndex ( uint idx ) : LLDB.Module
GetModuleAtIndexFromEvent ( uint idx, LLDB @event ) : LLDB.Module
GetNumModulesFromEvent ( LLDB @event ) : uint
GetPlatform ( ) : LLDB.Platform

Return the platform object associated with the target.

After return, the platform object should be checked for

validity.

GetProcess ( ) : LLDB.Process
GetSourceManager ( ) : LLDB.SourceManager
GetTargetFromEvent ( LLDB @event ) : LLDB.Target
GetWatchpointAtIndex ( uint idx ) : LLDB.Watchpoint
Install ( ) : LLDB.Error

Install any binaries that need to be installed.

This function does nothing when debugging on the host system.

When connected to remote platforms, the target's main executable

and any modules that have their remote install path set will be

installed on the remote platform. If the main executable doesn't

have an install location set, it will be installed in the remote

platform's working directory.

IsValid ( ) : bool
Launch ( LLDB launch_info, LLDB error ) : LLDB.Process
Launch ( LLDB listener, 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 ) : LLDB.Process

Launch a new process.

Launch a new process by spawning a new process using the

target object's executable module's file as the file to launch.

Arguments are given in

and the environment variables

are in

Standard input and output files can be

optionally re-directed to

and

LaunchSimple ( sbyte argv, sbyte envp, string working_directory ) : LLDB.Process

Launch a new process with sensible defaults.

LoadCore ( string core_file ) : LLDB.Process
ReadInstructions ( LLDB base_addr, uint count ) : LLDB.InstructionList
ReadInstructions ( LLDB base_addr, uint count, string flavor_string ) : LLDB.InstructionList
ReadMemory ( LLDB addr, global buf, uint size, LLDB error ) : uint

Read target memory. If a target process is running then memory

is read from here. Otherwise the memory is read from the object

files. For a target whose bytes are sized as a multiple of host

bytes, the data read back will preserve the target's byte order.

RemoveModule ( LLDB module ) : bool
ResolveFileAddress ( ulong file_addr ) : LLDB.Address

Resolve a current file address into a section offset address.

ResolveLoadAddress ( ulong vm_addr ) : LLDB.Address

Resolve a current load address into a section offset address.

ResolvePastLoadAddress ( uint stop_id, ulong vm_addr ) : LLDB.Address

Resolve a current load address into a section offset address

using the process stop ID to identify a time in the past.

ResolveSymbolContextForAddress ( LLDB addr, uint resolve_scope ) : LLDB.SymbolContext
SetModuleLoadAddress ( LLDB module, long sections_offset ) : LLDB.Error

Slide all file addresses for all module sections so that

appears to loaded at these slide addresses.

When you need all sections within a module to be loaded at a

rigid slide from the addresses found in the module object file,

this function will allow you to easily and quickly slide all

module sections.

SetSectionLoadAddress ( LLDB section, ulong section_base_addr ) : LLDB.Error

Set the base load address for a module section.

Target ( ) : System
Target ( LLDB rhs ) : System
WatchAddress ( ulong addr, uint size, bool read, bool write, LLDB error ) : LLDB.Watchpoint
__CreateInstance ( Target native, bool skipVTables = false ) : Target
__CreateInstance ( global native, bool skipVTables = false ) : Target
operator ( ) : bool

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
Target ( void native, bool skipVTables = false ) : System

비공개 메소드들

메소드 설명
Target ( Target native, bool skipVTables = false ) : System
__CopyValue ( Target native ) : void*

메소드 상세

AddModule() 공개 메소드

public AddModule ( LLDB module_spec ) : LLDB.Module
module_spec LLDB
리턴 LLDB.Module

AddModule() 공개 메소드

public AddModule ( string path, string triple, string uuid ) : LLDB.Module
path string
triple string
uuid string
리턴 LLDB.Module

AddModule() 공개 메소드

public AddModule ( string path, string triple, string uuid_cstr, string symfile ) : LLDB.Module
path string
triple string
uuid_cstr string
symfile string
리턴 LLDB.Module

AddModule() 공개 메소드

public AddModule ( LLDB module ) : bool
module LLDB
리턴 bool

Attach() 공개 메소드

public Attach ( LLDB attach_info, LLDB error ) : LLDB.Process
attach_info LLDB
error LLDB
리턴 LLDB.Process

AttachToProcessWithID() 공개 메소드

public AttachToProcessWithID ( LLDB listener, int pid, LLDB error ) : LLDB.Process
listener LLDB
pid int
error LLDB
리턴 LLDB.Process

AttachToProcessWithID() 공개 메소드

Attach to process with pid.

public AttachToProcessWithID ( LLDB listener, ulong pid, LLDB error ) : LLDB.Process
listener LLDB /// An optional listener that will receive all process events. /// If /// is valid then /// will listen to all /// process events. If not valid, then this target's debugger /// (SBTarget::GetDebugger()) will listen to all process events. ///
pid ulong /// The process ID to attach to. ///
error LLDB /// An error explaining what went wrong if attach fails. ///
리턴 LLDB.Process

AttachToProcessWithName() 공개 메소드

Attach to process with name.

public AttachToProcessWithName ( LLDB listener, string name, bool wait_for, LLDB error ) : LLDB.Process
listener LLDB /// An optional listener that will receive all process events. /// If /// is valid then /// will listen to all /// process events. If not valid, then this target's debugger /// (SBTarget::GetDebugger()) will listen to all process events. ///
name string /// Basename of process to attach to. ///
wait_for bool /// If true wait for a new instance of 'name' to be launched. ///
error LLDB /// An error explaining what went wrong if attach fails. ///
리턴 LLDB.Process

BreakpointCreateByAddress() 공개 메소드

public BreakpointCreateByAddress ( ulong address ) : LLDB.Breakpoint
address ulong
리턴 LLDB.Breakpoint

BreakpointCreateByLocation() 공개 메소드

public BreakpointCreateByLocation ( LLDB file_spec, uint line ) : LLDB.Breakpoint
file_spec LLDB
line uint
리턴 LLDB.Breakpoint

BreakpointCreateByLocation() 공개 메소드

public BreakpointCreateByLocation ( LLDB file_spec, uint line, ulong offset ) : LLDB.Breakpoint
file_spec LLDB
line uint
offset ulong
리턴 LLDB.Breakpoint

BreakpointCreateByLocation() 공개 메소드

public BreakpointCreateByLocation ( string file, uint line ) : LLDB.Breakpoint
file string
line uint
리턴 LLDB.Breakpoint

BreakpointCreateByName() 공개 메소드

public BreakpointCreateByName ( string symbol_name, LLDB module_list, LLDB comp_unit_list ) : LLDB.Breakpoint
symbol_name string
module_list LLDB
comp_unit_list LLDB
리턴 LLDB.Breakpoint

BreakpointCreateByName() 공개 메소드

public BreakpointCreateByName ( string symbol_name, string module_name ) : LLDB.Breakpoint
symbol_name string
module_name string
리턴 LLDB.Breakpoint

BreakpointCreateByName() 공개 메소드

public BreakpointCreateByName ( string symbol_name, uint name_type_mask, LLDB module_list, LLDB comp_unit_list ) : LLDB.Breakpoint
symbol_name string
name_type_mask uint
module_list LLDB
comp_unit_list LLDB
리턴 LLDB.Breakpoint

BreakpointCreateByName() 공개 메소드

public BreakpointCreateByName ( string symbol_name, uint name_type_mask, LLDB symbol_language, LLDB module_list, LLDB comp_unit_list ) : LLDB.Breakpoint
symbol_name string
name_type_mask uint
symbol_language LLDB
module_list LLDB
comp_unit_list LLDB
리턴 LLDB.Breakpoint

BreakpointCreateByRegex() 공개 메소드

public BreakpointCreateByRegex ( string symbol_name_regex, LLDB module_list, LLDB comp_unit_list ) : LLDB.Breakpoint
symbol_name_regex string
module_list LLDB
comp_unit_list LLDB
리턴 LLDB.Breakpoint

BreakpointCreateByRegex() 공개 메소드

public BreakpointCreateByRegex ( string symbol_name_regex, LLDB symbol_language, LLDB module_list, LLDB comp_unit_list ) : LLDB.Breakpoint
symbol_name_regex string
symbol_language LLDB
module_list LLDB
comp_unit_list LLDB
리턴 LLDB.Breakpoint

BreakpointCreateByRegex() 공개 메소드

public BreakpointCreateByRegex ( string symbol_name_regex, string module_name ) : LLDB.Breakpoint
symbol_name_regex string
module_name string
리턴 LLDB.Breakpoint

BreakpointCreateBySBAddress() 공개 메소드

public BreakpointCreateBySBAddress ( LLDB address ) : LLDB.Breakpoint
address LLDB
리턴 LLDB.Breakpoint

BreakpointCreateBySourceRegex() 공개 메소드

public BreakpointCreateBySourceRegex ( string source_regex, LLDB module_list, LLDB source_file ) : LLDB.Breakpoint
source_regex string
module_list LLDB
source_file LLDB
리턴 LLDB.Breakpoint

BreakpointCreateBySourceRegex() 공개 메소드

public BreakpointCreateBySourceRegex ( string source_regex, LLDB module_list, LLDB source_file, LLDB func_names ) : LLDB.Breakpoint
source_regex string
module_list LLDB
source_file LLDB
func_names LLDB
리턴 LLDB.Breakpoint

BreakpointCreateBySourceRegex() 공개 메소드

public BreakpointCreateBySourceRegex ( string source_regex, LLDB source_file, string module_name ) : LLDB.Breakpoint
source_regex string
source_file LLDB
module_name string
리턴 LLDB.Breakpoint

BreakpointCreateForException() 공개 메소드

public BreakpointCreateForException ( LLDB language, bool catch_bp, bool throw_bp ) : LLDB.Breakpoint
language LLDB
catch_bp bool
throw_bp bool
리턴 LLDB.Breakpoint

BreakpointDelete() 공개 메소드

public BreakpointDelete ( int break_id ) : bool
break_id int
리턴 bool

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

ClearModuleLoadAddress() 공개 메소드

Clear the section base load addresses for all sections in a module.

public ClearModuleLoadAddress ( LLDB module ) : LLDB.Error
module LLDB /// The module to unload. ///
리턴 LLDB.Error

ClearSectionLoadAddress() 공개 메소드

Clear the base load address for a module section.

public ClearSectionLoadAddress ( LLDB section ) : LLDB.Error
section LLDB /// The section whose base load address will be cleared within /// this target. ///
리턴 LLDB.Error

ConnectRemote() 공개 메소드

Connect to a remote debug server with url.

public ConnectRemote ( LLDB listener, string url, string plugin_name, LLDB error ) : LLDB.Process
listener LLDB /// An optional listener that will receive all process events. /// If /// is valid then /// will listen to all /// process events. If not valid, then this target's debugger /// (SBTarget::GetDebugger()) will listen to all process events. ///
url string /// The url to connect to, e.g., 'connect://localhost:12345'. ///
plugin_name string /// The plugin name to be used; can be nullptr. ///
error LLDB /// An error explaining what went wrong if the connect fails. ///
리턴 LLDB.Process

CreateValueFromAddress() 공개 메소드

public CreateValueFromAddress ( string name, LLDB addr, LLDB type ) : LLDB.Value
name string
addr LLDB
type LLDB
리턴 LLDB.Value

CreateValueFromData() 공개 메소드

public CreateValueFromData ( string name, LLDB data, LLDB type ) : LLDB.Value
name string
data LLDB
type LLDB
리턴 LLDB.Value

CreateValueFromExpression() 공개 메소드

public CreateValueFromExpression ( string name, string expr ) : LLDB.Value
name string
expr string
리턴 LLDB.Value

DeleteAllBreakpoints() 공개 메소드

public DeleteAllBreakpoints ( ) : bool
리턴 bool

DeleteAllWatchpoints() 공개 메소드

public DeleteAllWatchpoints ( ) : bool
리턴 bool

DeleteWatchpoint() 공개 메소드

public DeleteWatchpoint ( int watch_id ) : bool
watch_id int
리턴 bool

DisableAllBreakpoints() 공개 메소드

public DisableAllBreakpoints ( ) : bool
리턴 bool

DisableAllWatchpoints() 공개 메소드

public DisableAllWatchpoints ( ) : bool
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EnableAllBreakpoints() 공개 메소드

public EnableAllBreakpoints ( ) : bool
리턴 bool

EnableAllWatchpoints() 공개 메소드

public EnableAllWatchpoints ( ) : bool
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

EvaluateExpression() 공개 메소드

public EvaluateExpression ( string expr ) : LLDB.Value
expr string
리턴 LLDB.Value

EvaluateExpression() 공개 메소드

public EvaluateExpression ( string expr, LLDB options ) : LLDB.Value
expr string
options LLDB
리턴 LLDB.Value

EventIsTargetEvent() 공개 정적인 메소드

public static EventIsTargetEvent ( LLDB @event ) : bool
@event LLDB
리턴 bool

FindBreakpointByID() 공개 메소드

public FindBreakpointByID ( int break_id ) : LLDB.Breakpoint
break_id int
리턴 LLDB.Breakpoint

FindFirstGlobalVariable() 공개 메소드

Find the first global (or static) variable by name.

public FindFirstGlobalVariable ( string name ) : LLDB.Value
name string /// The name of the global or static variable we are looking /// for. ///
리턴 LLDB.Value

FindFirstType() 공개 메소드

public FindFirstType ( string type ) : LLDB.Type
type string
리턴 LLDB.Type

FindFunctions() 공개 메소드

Find functions by name.

public FindFunctions ( string name, uint name_type_mask ) : LLDB.SymbolContextList
name string /// The name of the function we are looking for. ///
name_type_mask uint /// A logical OR of one or more FunctionNameType enum bits that /// indicate what kind of names should be used when doing the /// lookup. Bits include fully qualified names, base names, /// C++ methods, or ObjC selectors. /// See FunctionNameType for more details. ///
리턴 LLDB.SymbolContextList

FindGlobalFunctions() 공개 메소드

Find global functions by their name with pattern matching.

public FindGlobalFunctions ( string name, uint max_matches, LLDB matchtype ) : LLDB.SymbolContextList
name string /// The pattern to search for global or static variables ///
max_matches uint /// Allow the number of matches to be limited to ///
matchtype LLDB /// The match type to use. ///
리턴 LLDB.SymbolContextList

FindGlobalVariables() 공개 메소드

Find global and static variables by name.

public FindGlobalVariables ( string name, uint max_matches ) : LLDB.ValueList
name string /// The name of the global or static variable we are looking /// for. ///
max_matches uint /// Allow the number of matches to be limited to ///
리턴 LLDB.ValueList

FindGlobalVariables() 공개 메소드

Find global and static variables by pattern.

public FindGlobalVariables ( string name, uint max_matches, LLDB matchtype ) : LLDB.ValueList
name string /// The pattern to search for global or static variables ///
max_matches uint /// Allow the number of matches to be limited to ///
matchtype LLDB /// The match type to use. ///
리턴 LLDB.ValueList

FindModule() 공개 메소드

public FindModule ( LLDB file_spec ) : LLDB.Module
file_spec LLDB
리턴 LLDB.Module

FindSymbols() 공개 메소드

public FindSymbols ( string name, LLDB type ) : LLDB.SymbolContextList
name string
type LLDB
리턴 LLDB.SymbolContextList

FindTypes() 공개 메소드

public FindTypes ( string type ) : LLDB.TypeList
type string
리턴 LLDB.TypeList

FindWatchpointByID() 공개 메소드

public FindWatchpointByID ( int watch_id ) : LLDB.Watchpoint
watch_id int
리턴 LLDB.Watchpoint

GetBasicType() 공개 메소드

public GetBasicType ( LLDB type ) : LLDB.Type
type LLDB
리턴 LLDB.Type

GetBreakpointAtIndex() 공개 메소드

public GetBreakpointAtIndex ( uint idx ) : LLDB.Breakpoint
idx uint
리턴 LLDB.Breakpoint

GetBroadcaster() 공개 메소드

public GetBroadcaster ( ) : LLDB.Broadcaster
리턴 LLDB.Broadcaster

GetDebugger() 공개 메소드

public GetDebugger ( ) : LLDB.Debugger
리턴 LLDB.Debugger

GetDescription() 공개 메소드

public GetDescription ( LLDB description, LLDB description_level ) : bool
description LLDB
description_level LLDB
리턴 bool

GetExecutable() 공개 메소드

public GetExecutable ( ) : LLDB.FileSpec
리턴 LLDB.FileSpec

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetInstructions() 공개 메소드

public GetInstructions ( LLDB base_addr, global buf, uint size ) : LLDB.InstructionList
base_addr LLDB
buf global
size uint
리턴 LLDB.InstructionList

GetInstructions() 공개 메소드

public GetInstructions ( ulong base_addr, global buf, uint size ) : LLDB.InstructionList
base_addr ulong
buf global
size uint
리턴 LLDB.InstructionList

GetInstructionsWithFlavor() 공개 메소드

public GetInstructionsWithFlavor ( LLDB base_addr, string flavor_string, global buf, uint size ) : LLDB.InstructionList
base_addr LLDB
flavor_string string
buf global
size uint
리턴 LLDB.InstructionList

GetInstructionsWithFlavor() 공개 메소드

public GetInstructionsWithFlavor ( ulong base_addr, string flavor_string, global buf, uint size ) : LLDB.InstructionList
base_addr ulong
flavor_string string
buf global
size uint
리턴 LLDB.InstructionList

GetLaunchInfo() 공개 메소드

public GetLaunchInfo ( ) : LLDB.LaunchInfo
리턴 LLDB.LaunchInfo

GetModuleAtIndex() 공개 메소드

public GetModuleAtIndex ( uint idx ) : LLDB.Module
idx uint
리턴 LLDB.Module

GetModuleAtIndexFromEvent() 공개 정적인 메소드

public static GetModuleAtIndexFromEvent ( uint idx, LLDB @event ) : LLDB.Module
idx uint
@event LLDB
리턴 LLDB.Module

GetNumModulesFromEvent() 공개 정적인 메소드

public static GetNumModulesFromEvent ( LLDB @event ) : uint
@event LLDB
리턴 uint

GetPlatform() 공개 메소드

Return the platform object associated with the target.

After return, the platform object should be checked for

validity.

public GetPlatform ( ) : LLDB.Platform
리턴 LLDB.Platform

GetProcess() 공개 메소드

public GetProcess ( ) : LLDB.Process
리턴 LLDB.Process

GetSourceManager() 공개 메소드

public GetSourceManager ( ) : LLDB.SourceManager
리턴 LLDB.SourceManager

GetTargetFromEvent() 공개 정적인 메소드

public static GetTargetFromEvent ( LLDB @event ) : LLDB.Target
@event LLDB
리턴 LLDB.Target

GetWatchpointAtIndex() 공개 메소드

public GetWatchpointAtIndex ( uint idx ) : LLDB.Watchpoint
idx uint
리턴 LLDB.Watchpoint

Install() 공개 메소드

Install any binaries that need to be installed.

This function does nothing when debugging on the host system.

When connected to remote platforms, the target's main executable

and any modules that have their remote install path set will be

installed on the remote platform. If the main executable doesn't

have an install location set, it will be installed in the remote

platform's working directory.

public Install ( ) : LLDB.Error
리턴 LLDB.Error

IsValid() 공개 메소드

public IsValid ( ) : bool
리턴 bool

Launch() 공개 메소드

public Launch ( LLDB launch_info, LLDB error ) : LLDB.Process
launch_info LLDB
error LLDB
리턴 LLDB.Process

Launch() 공개 메소드

Launch a new process.

Launch a new process by spawning a new process using the

target object's executable module's file as the file to launch.

Arguments are given in

and the environment variables

are in

Standard input and output files can be

optionally re-directed to

and

public Launch ( LLDB listener, 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 ) : LLDB.Process
listener LLDB /// An optional listener that will receive all process events. /// If /// is valid then /// will listen to all /// process events. If not valid, then this target's debugger /// (SBTarget::GetDebugger()) will listen to all process events. ///
argv sbyte /// The argument array. ///
envp sbyte /// The environment array. ///
stdin_path string /// The path to use when re-directing the STDIN of the new /// process. If all stdXX_path arguments are nullptr, a pseudo /// terminal will be used. ///
stdout_path string /// The path to use when re-directing the STDOUT of the new /// process. If all stdXX_path arguments are nullptr, a pseudo /// terminal will be used. ///
stderr_path string /// The path to use when re-directing the STDERR of the new /// process. If all stdXX_path arguments are nullptr, a pseudo /// terminal will be used. ///
working_directory string /// The working directory to have the child process run in ///
launch_flags uint /// Flags to modify the launch ( ///
stop_at_entry bool /// If false do not stop the inferior at the entry point. ///
error LLDB /// An error object. Contains the reason if there is some failure. ///
리턴 LLDB.Process

LaunchSimple() 공개 메소드

Launch a new process with sensible defaults.

public LaunchSimple ( sbyte argv, sbyte envp, string working_directory ) : LLDB.Process
argv sbyte /// The argument array. ///
envp sbyte /// The environment array. ///
working_directory string /// The working directory to have the child process run in /// Default: listener /// Set to the target's debugger (SBTarget::GetDebugger()) /// Default: launch_flags /// Empty launch flags /// Default: stdin_path /// Default: stdout_path /// Default: stderr_path /// A pseudo terminal will be used. ///
리턴 LLDB.Process

LoadCore() 공개 메소드

public LoadCore ( string core_file ) : LLDB.Process
core_file string
리턴 LLDB.Process

ReadInstructions() 공개 메소드

public ReadInstructions ( LLDB base_addr, uint count ) : LLDB.InstructionList
base_addr LLDB
count uint
리턴 LLDB.InstructionList

ReadInstructions() 공개 메소드

public ReadInstructions ( LLDB base_addr, uint count, string flavor_string ) : LLDB.InstructionList
base_addr LLDB
count uint
flavor_string string
리턴 LLDB.InstructionList

ReadMemory() 공개 메소드

Read target memory. If a target process is running then memory

is read from here. Otherwise the memory is read from the object

files. For a target whose bytes are sized as a multiple of host

bytes, the data read back will preserve the target's byte order.

public ReadMemory ( LLDB addr, global buf, uint size, LLDB error ) : uint
addr LLDB /// A target address to read from. ///
buf global /// The buffer to read memory into. ///
size uint /// The maximum number of host bytes to read in the buffer passed /// into this call ///
error LLDB /// Error information is written here if the memory read fails. ///
리턴 uint

RemoveModule() 공개 메소드

public RemoveModule ( LLDB module ) : bool
module LLDB
리턴 bool

ResolveFileAddress() 공개 메소드

Resolve a current file address into a section offset address.

public ResolveFileAddress ( ulong file_addr ) : LLDB.Address
file_addr ulong
리턴 LLDB.Address

ResolveLoadAddress() 공개 메소드

Resolve a current load address into a section offset address.

public ResolveLoadAddress ( ulong vm_addr ) : LLDB.Address
vm_addr ulong /// A virtual address from the current process state that is to /// be translated into a section offset address. ///
리턴 LLDB.Address

ResolvePastLoadAddress() 공개 메소드

Resolve a current load address into a section offset address

using the process stop ID to identify a time in the past.

public ResolvePastLoadAddress ( uint stop_id, ulong vm_addr ) : LLDB.Address
stop_id uint /// Each time a process stops, the process stop ID integer gets /// incremented. These stop IDs are used to identify past times /// and can be used in history objects as a cheap way to store /// the time at which the sample was taken. Specifying /// UINT32_MAX will always resolve the address using the /// currently loaded sections. ///
vm_addr ulong /// A virtual address from the current process state that is to /// be translated into a section offset address. ///
리턴 LLDB.Address

ResolveSymbolContextForAddress() 공개 메소드

public ResolveSymbolContextForAddress ( LLDB addr, uint resolve_scope ) : LLDB.SymbolContext
addr LLDB
resolve_scope uint
리턴 LLDB.SymbolContext

SetModuleLoadAddress() 공개 메소드

Slide all file addresses for all module sections so that

appears to loaded at these slide addresses.

When you need all sections within a module to be loaded at a

rigid slide from the addresses found in the module object file,

this function will allow you to easily and quickly slide all

module sections.

public SetModuleLoadAddress ( LLDB module, long sections_offset ) : LLDB.Error
module LLDB /// The module to load. ///
sections_offset long /// An offset that will be applied to all section file addresses /// (the virtual addresses found in the object file itself). ///
리턴 LLDB.Error

SetSectionLoadAddress() 공개 메소드

Set the base load address for a module section.

public SetSectionLoadAddress ( LLDB section, ulong section_base_addr ) : LLDB.Error
section LLDB /// The section whose base load address will be set within this /// target. ///
section_base_addr ulong /// The base address for the section. ///
리턴 LLDB.Error

Target() 공개 메소드

public Target ( ) : System
리턴 System

Target() 공개 메소드

public Target ( LLDB rhs ) : System
rhs LLDB
리턴 System

Target() 보호된 메소드

protected Target ( void native, bool skipVTables = false ) : System
native void
skipVTables bool
리턴 System

WatchAddress() 공개 메소드

public WatchAddress ( ulong addr, uint size, bool read, bool write, LLDB error ) : LLDB.Watchpoint
addr ulong
size uint
read bool
write bool
error LLDB
리턴 LLDB.Watchpoint

__CreateInstance() 공개 정적인 메소드

public static __CreateInstance ( Target native, bool skipVTables = false ) : Target
native Target
skipVTables bool
리턴 Target

__CreateInstance() 공개 정적인 메소드

public static __CreateInstance ( global native, bool skipVTables = false ) : Target
native global
skipVTables bool
리턴 Target

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool

프로퍼티 상세

NativeToManagedMap 공개적으로 정적으로 프로퍼티

public static System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap
리턴 Target>.System.Collections.Concurrent.ConcurrentDictionary

__OriginalVTables 보호되어 있는 프로퍼티

protected void*[] __OriginalVTables
리턴 void*[]

__PointerAdjustment 보호되어 있는 프로퍼티

protected int __PointerAdjustment
리턴 int

__ownsNativeInstance 보호되어 있는 프로퍼티

protected bool __ownsNativeInstance
리턴 bool