C# Class LLDB.ModuleSpec

Inheritance: IDisposable
Show file Open project: tritao/LLDBSharp Class Usage Examples

Public Properties

Property Type Description
NativeToManagedMap ModuleSpec>.System.Collections.Concurrent.ConcurrentDictionary

Protected Properties

Property Type Description
__OriginalVTables void*[]
__PointerAdjustment int
__ownsNativeInstance bool

Public Methods

Method Description
Clear ( ) : void
Dispose ( ) : void
GetDescription ( LLDB description ) : bool
GetFileSpec ( ) : LLDB.FileSpec

Get const accessor for the module file.

This function returns the file for the module on the host system

that is running LLDB. This can differ from the path on the

platform since we might be doing remote debugging.

GetPlatformFileSpec ( ) : LLDB.FileSpec

Get accessor for the module platform file.

Platform file refers to the path of the module as it is known on

the remote system on which it is being debugged. For local

debugging this is always the same as Module::GetFileSpec(). But

remote debugging might mention a file '/usr/lib/liba.dylib'

which might be locally downloaded and cached. In this case the

platform file could be something like:

'/tmp/lldb/platform-cache/remote.host.computer/usr/lib/liba.dylib'

The file could also be cached in a local developer kit directory.

GetSymbolFileSpec ( ) : LLDB.FileSpec
IsValid ( ) : bool
ModuleSpec ( ) : System
ModuleSpec ( LLDB rhs ) : System
SetUUIDBytes ( byte uuid, uint uuid_len ) : bool
__CreateInstance ( ModuleSpec native, bool skipVTables = false ) : ModuleSpec
__CreateInstance ( global native, bool skipVTables = false ) : ModuleSpec

Protected Methods

Method Description
Dispose ( bool disposing ) : void
ModuleSpec ( void native, bool skipVTables = false ) : System

Private Methods

Method Description
ModuleSpec ( ModuleSpec native, bool skipVTables = false ) : System
__CopyValue ( ModuleSpec native ) : void*

Method Details

Clear() public method

public Clear ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetDescription() public method

public GetDescription ( LLDB description ) : bool
description LLDB
return bool

GetFileSpec() public method

Get const accessor for the module file.

This function returns the file for the module on the host system

that is running LLDB. This can differ from the path on the

platform since we might be doing remote debugging.

public GetFileSpec ( ) : LLDB.FileSpec
return LLDB.FileSpec

GetPlatformFileSpec() public method

Get accessor for the module platform file.

Platform file refers to the path of the module as it is known on

the remote system on which it is being debugged. For local

debugging this is always the same as Module::GetFileSpec(). But

remote debugging might mention a file '/usr/lib/liba.dylib'

which might be locally downloaded and cached. In this case the

platform file could be something like:

'/tmp/lldb/platform-cache/remote.host.computer/usr/lib/liba.dylib'

The file could also be cached in a local developer kit directory.

public GetPlatformFileSpec ( ) : LLDB.FileSpec
return LLDB.FileSpec

GetSymbolFileSpec() public method

public GetSymbolFileSpec ( ) : LLDB.FileSpec
return LLDB.FileSpec

IsValid() public method

public IsValid ( ) : bool
return bool

ModuleSpec() public method

public ModuleSpec ( ) : System
return System

ModuleSpec() public method

public ModuleSpec ( LLDB rhs ) : System
rhs LLDB
return System

ModuleSpec() protected method

protected ModuleSpec ( void native, bool skipVTables = false ) : System
native void
skipVTables bool
return System

SetUUIDBytes() public method

public SetUUIDBytes ( byte uuid, uint uuid_len ) : bool
uuid byte
uuid_len uint
return bool

__CreateInstance() public static method

public static __CreateInstance ( ModuleSpec native, bool skipVTables = false ) : ModuleSpec
native ModuleSpec
skipVTables bool
return ModuleSpec

__CreateInstance() public static method

public static __CreateInstance ( global native, bool skipVTables = false ) : ModuleSpec
native global
skipVTables bool
return ModuleSpec

Property Details

NativeToManagedMap public static property

public static System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap
return ModuleSpec>.System.Collections.Concurrent.ConcurrentDictionary

__OriginalVTables protected property

protected void*[] __OriginalVTables
return void*[]

__PointerAdjustment protected property

protected int __PointerAdjustment
return int

__ownsNativeInstance protected property

protected bool __ownsNativeInstance
return bool