C# Класс LLDB.Target

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

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

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

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

Свойство Тип Описание
__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