C# Class MonoDevelop.Debugger.Gdb.D.MemoryExamination

Part of a D Gdb Session. Contains methods to extract generic and D-related information out of the program's runtime memory.
Show file Open project: llucenic/MonoDevelop.Debugger.Gdb.D Class Usage Examples

Public Properties

Property Type Description
Session DGdbSession

Public Methods

Method Description
BuildAddressExpression ( string rawExpression, string nonRawFormat = "{0}" ) : string
CalcOffset ( int times = 1 ) : int
MemoryExamination ( DGdbSession sess ) : System
Read ( DArrayStruct arrayInfo, byte &data, int itemSize = 1 ) : bool
Read ( string exp, IntPtr &v ) : bool
Read ( string exp, int count, UIntPtr &v ) : bool
Read ( string exp, int length, byte &data ) : bool
Read ( string exp, int length, string &v, int charWidth = 1 ) : bool
Read ( string exp, uint length, byte &data ) : bool
ReadArray ( string arrayHeaderAddress, int itemSize = 1 ) : byte[]
ReadDArrayHeader ( string exp ) : DArrayStruct
ReadDynamicObjectTypeString ( string exp ) : string
ReadObjectBytes ( string exp ) : byte[]
ReadString ( string arrayHeaderAddress, int charWidth = 1 ) : string
enforceRawExpr ( string &exp ) : bool

Private Methods

Method Description
WriteMemory ( string addressExpression, byte data ) : GdbCommandResult
WriteMemory ( string addressExpression, string data ) : GdbCommandResult

Method Details

BuildAddressExpression() public static method

public static BuildAddressExpression ( string rawExpression, string nonRawFormat = "{0}" ) : string
rawExpression string
nonRawFormat string
return string

CalcOffset() public method

public CalcOffset ( int times = 1 ) : int
times int
return int

MemoryExamination() public method

public MemoryExamination ( DGdbSession sess ) : System
sess DGdbSession
return System

Read() public method

public Read ( DArrayStruct arrayInfo, byte &data, int itemSize = 1 ) : bool
arrayInfo DArrayStruct
data byte
itemSize int
return bool

Read() public method

public Read ( string exp, IntPtr &v ) : bool
exp string
v System.IntPtr
return bool

Read() public method

public Read ( string exp, int count, UIntPtr &v ) : bool
exp string
count int
v System.UIntPtr
return bool

Read() public method

public Read ( string exp, int length, byte &data ) : bool
exp string
length int
data byte
return bool

Read() public method

public Read ( string exp, int length, string &v, int charWidth = 1 ) : bool
exp string
length int
v string
charWidth int
return bool

Read() public method

public Read ( string exp, uint length, byte &data ) : bool
exp string
length uint
data byte
return bool

ReadArray() public method

public ReadArray ( string arrayHeaderAddress, int itemSize = 1 ) : byte[]
arrayHeaderAddress string
itemSize int
return byte[]

ReadDArrayHeader() public method

public ReadDArrayHeader ( string exp ) : DArrayStruct
exp string
return DArrayStruct

ReadDynamicObjectTypeString() public method

public ReadDynamicObjectTypeString ( string exp ) : string
exp string
return string

ReadObjectBytes() public method

public ReadObjectBytes ( string exp ) : byte[]
exp string
return byte[]

ReadString() public method

public ReadString ( string arrayHeaderAddress, int charWidth = 1 ) : string
arrayHeaderAddress string
charWidth int
return string

enforceRawExpr() public static method

public static enforceRawExpr ( string &exp ) : bool
exp string
return bool

Property Details

Session public property

public DGdbSession Session
return DGdbSession