C# Class Dia2Sharp.Sym

ファイルを表示 Open project: ShaneK2/inVtero.net Class Usage Examples

Public Properties

Property Type Description
StructInfo Dictionary>
hCurrentProcess System.IntPtr

Public Methods

Method Description
GetStruct ( String Name, long memRead = null ) : dynamic
Initalize ( String SymPath, DebugHelp Options = DebugHelp.SymOptions.SYMOPT_DEBUG ) : Sym
StructMemberInfo ( string PDBFile, string Struct, string Member ) : int>.Tuple

Perform full symbol walk scanning for a struct/member position and length TODO: make safe for type collisions in other pdb's

xStructInfo ( string PDBFile, string Struct, long memRead = null ) : dynamic

Private Methods

Method Description
ClassCollectSym ( IDiaSymbol Detail ) : void
CollectCompileDetails ( IDiaSymbol detail, String ModName, String BlockName ) : void
DumpStructs ( IDiaSymbol Master, string preName, string Search, int CurrOffset ) : void
FuncCollectSym ( IDiaSymbol Detail, uint tag, String ModName, String BlockName ) : void
xDumpStructs ( dynamic Info, IDiaSymbol Master, string preName, int CurrOffset, long memRead = null ) : dynamic

Method for native type reflection into DLR TODO: Perf check + handle .Dictionary references

Method Details

GetStruct() public method

public GetStruct ( String Name, long memRead = null ) : dynamic
Name String
memRead long
return dynamic

Initalize() public static method

public static Initalize ( String SymPath, DebugHelp Options = DebugHelp.SymOptions.SYMOPT_DEBUG ) : Sym
SymPath String
Options DebugHelp
return Sym

StructMemberInfo() public method

Perform full symbol walk scanning for a struct/member position and length TODO: make safe for type collisions in other pdb's
public StructMemberInfo ( string PDBFile, string Struct, string Member ) : int>.Tuple
PDBFile string d:\dev\symbols\ntkrnlmp.pdb\DD08DD42692B43F199A079D60E79D2171\ntkrnlmp.pdb
Struct string _EPROCESS
Member string Pcb.DirectoryTableBase
return int>.Tuple

xStructInfo() public method

public xStructInfo ( string PDBFile, string Struct, long memRead = null ) : dynamic
PDBFile string
Struct string
memRead long
return dynamic

Property Details

StructInfo public_oe property

public Dictionary> StructInfo
return Dictionary>

hCurrentProcess public_oe static_oe property

public static IntPtr,System hCurrentProcess
return System.IntPtr