C# Class LLDB.Data

Inheritance: IDisposable
显示文件 Open project: tritao/LLDBSharp Class Usage Examples

Public Properties

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

Protected Properties

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

Public Methods

Method Description
Append ( LLDB rhs ) : bool
Clear ( ) : void
CreateDataFromCString ( LLDB endian, uint addr_byte_size, string data ) : LLDB.Data
CreateDataFromDoubleArray ( LLDB endian, uint addr_byte_size, double &array, uint array_len ) : LLDB.Data
CreateDataFromSInt32Array ( LLDB endian, uint addr_byte_size, int &array, uint array_len ) : LLDB.Data
CreateDataFromSInt64Array ( LLDB endian, uint addr_byte_size, long &array, uint array_len ) : LLDB.Data
CreateDataFromUInt32Array ( LLDB endian, uint addr_byte_size, uint &array, uint array_len ) : LLDB.Data
CreateDataFromUInt64Array ( LLDB endian, uint addr_byte_size, ulong &array, uint array_len ) : LLDB.Data
Data ( ) : System
Data ( LLDB rhs ) : System
Dispose ( ) : void
GetAddress ( LLDB error, ulong offset ) : ulong
GetDescription ( LLDB description, ulong base_addr ) : bool
GetDouble ( LLDB error, ulong offset ) : double
GetFloat ( LLDB error, ulong offset ) : float
GetLongDouble ( LLDB error, ulong offset ) : void*
GetSignedInt16 ( LLDB error, ulong offset ) : short
GetSignedInt32 ( LLDB error, ulong offset ) : int
GetSignedInt64 ( LLDB error, ulong offset ) : long
GetSignedInt8 ( LLDB error, ulong offset ) : sbyte
GetString ( LLDB error, ulong offset ) : string
GetUnsignedInt16 ( LLDB error, ulong offset ) : ushort
GetUnsignedInt32 ( LLDB error, ulong offset ) : uint
GetUnsignedInt64 ( LLDB error, ulong offset ) : ulong
GetUnsignedInt8 ( LLDB error, ulong offset ) : byte
IsValid ( ) : bool
ReadRawData ( LLDB error, ulong offset, global buf, uint size ) : uint
SetData ( LLDB error, global buf, uint size, LLDB endian, byte addr_size ) : void
SetDataFromCString ( string data ) : bool
SetDataFromDoubleArray ( double &array, uint array_len ) : bool
SetDataFromSInt32Array ( int &array, uint array_len ) : bool
SetDataFromSInt64Array ( long &array, uint array_len ) : bool
SetDataFromUInt32Array ( uint &array, uint array_len ) : bool
SetDataFromUInt64Array ( ulong &array, uint array_len ) : bool
__CreateInstance ( Data native, bool skipVTables = false ) : Data
__CreateInstance ( global native, bool skipVTables = false ) : Data

Protected Methods

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

Private Methods

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

Method Details

Append() public method

public Append ( LLDB rhs ) : bool
rhs LLDB
return bool

Clear() public method

public Clear ( ) : void
return void

CreateDataFromCString() public static method

public static CreateDataFromCString ( LLDB endian, uint addr_byte_size, string data ) : LLDB.Data
endian LLDB
addr_byte_size uint
data string
return LLDB.Data

CreateDataFromDoubleArray() public static method

public static CreateDataFromDoubleArray ( LLDB endian, uint addr_byte_size, double &array, uint array_len ) : LLDB.Data
endian LLDB
addr_byte_size uint
array double
array_len uint
return LLDB.Data

CreateDataFromSInt32Array() public static method

public static CreateDataFromSInt32Array ( LLDB endian, uint addr_byte_size, int &array, uint array_len ) : LLDB.Data
endian LLDB
addr_byte_size uint
array int
array_len uint
return LLDB.Data

CreateDataFromSInt64Array() public static method

public static CreateDataFromSInt64Array ( LLDB endian, uint addr_byte_size, long &array, uint array_len ) : LLDB.Data
endian LLDB
addr_byte_size uint
array long
array_len uint
return LLDB.Data

CreateDataFromUInt32Array() public static method

public static CreateDataFromUInt32Array ( LLDB endian, uint addr_byte_size, uint &array, uint array_len ) : LLDB.Data
endian LLDB
addr_byte_size uint
array uint
array_len uint
return LLDB.Data

CreateDataFromUInt64Array() public static method

public static CreateDataFromUInt64Array ( LLDB endian, uint addr_byte_size, ulong &array, uint array_len ) : LLDB.Data
endian LLDB
addr_byte_size uint
array ulong
array_len uint
return LLDB.Data

Data() public method

public Data ( ) : System
return System

Data() public method

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

Data() protected method

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

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

GetAddress() public method

public GetAddress ( LLDB error, ulong offset ) : ulong
error LLDB
offset ulong
return ulong

GetDescription() public method

public GetDescription ( LLDB description, ulong base_addr ) : bool
description LLDB
base_addr ulong
return bool

GetDouble() public method

public GetDouble ( LLDB error, ulong offset ) : double
error LLDB
offset ulong
return double

GetFloat() public method

public GetFloat ( LLDB error, ulong offset ) : float
error LLDB
offset ulong
return float

GetLongDouble() public method

public GetLongDouble ( LLDB error, ulong offset ) : void*
error LLDB
offset ulong
return void*

GetSignedInt16() public method

public GetSignedInt16 ( LLDB error, ulong offset ) : short
error LLDB
offset ulong
return short

GetSignedInt32() public method

public GetSignedInt32 ( LLDB error, ulong offset ) : int
error LLDB
offset ulong
return int

GetSignedInt64() public method

public GetSignedInt64 ( LLDB error, ulong offset ) : long
error LLDB
offset ulong
return long

GetSignedInt8() public method

public GetSignedInt8 ( LLDB error, ulong offset ) : sbyte
error LLDB
offset ulong
return sbyte

GetString() public method

public GetString ( LLDB error, ulong offset ) : string
error LLDB
offset ulong
return string

GetUnsignedInt16() public method

public GetUnsignedInt16 ( LLDB error, ulong offset ) : ushort
error LLDB
offset ulong
return ushort

GetUnsignedInt32() public method

public GetUnsignedInt32 ( LLDB error, ulong offset ) : uint
error LLDB
offset ulong
return uint

GetUnsignedInt64() public method

public GetUnsignedInt64 ( LLDB error, ulong offset ) : ulong
error LLDB
offset ulong
return ulong

GetUnsignedInt8() public method

public GetUnsignedInt8 ( LLDB error, ulong offset ) : byte
error LLDB
offset ulong
return byte

IsValid() public method

public IsValid ( ) : bool
return bool

ReadRawData() public method

public ReadRawData ( LLDB error, ulong offset, global buf, uint size ) : uint
error LLDB
offset ulong
buf global
size uint
return uint

SetData() public method

public SetData ( LLDB error, global buf, uint size, LLDB endian, byte addr_size ) : void
error LLDB
buf global
size uint
endian LLDB
addr_size byte
return void

SetDataFromCString() public method

public SetDataFromCString ( string data ) : bool
data string
return bool

SetDataFromDoubleArray() public method

public SetDataFromDoubleArray ( double &array, uint array_len ) : bool
array double
array_len uint
return bool

SetDataFromSInt32Array() public method

public SetDataFromSInt32Array ( int &array, uint array_len ) : bool
array int
array_len uint
return bool

SetDataFromSInt64Array() public method

public SetDataFromSInt64Array ( long &array, uint array_len ) : bool
array long
array_len uint
return bool

SetDataFromUInt32Array() public method

public SetDataFromUInt32Array ( uint &array, uint array_len ) : bool
array uint
array_len uint
return bool

SetDataFromUInt64Array() public method

public SetDataFromUInt64Array ( ulong &array, uint array_len ) : bool
array ulong
array_len uint
return bool

__CreateInstance() public static method

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

__CreateInstance() public static method

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

Property Details

NativeToManagedMap public_oe static_oe property

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

__OriginalVTables protected_oe property

protected void*[] __OriginalVTables
return void*[]

__PointerAdjustment protected_oe property

protected int __PointerAdjustment
return int

__ownsNativeInstance protected_oe property

protected bool __ownsNativeInstance
return bool