C# Class MemoScope.Core.Dac.AbstractDacFinder

Inheritance: IDisposable
Show file Open project: fremag/MemoScope.Net

Protected Properties

Property Type Description
dbgHelpLib LibrarySafeHandle
process System.Diagnostics.Process
searchPath string

Public Methods

Method Description
Dispose ( ) : void
FindDac ( Microsoft.Diagnostics.Runtime.ClrInfo clrInfo ) : string
FindDac ( string dacname, uint timestamp, uint fileSize ) : string
Init ( ) : void

Protected Methods

Method Description
AbstractDacFinder ( string localCache ) : System
InitDbgHelpModule ( ) : void
SymCleanup ( IntPtr hProcess ) : bool
SymFindFileInPath ( IntPtr hProcess, string searchPath, string filename, uint id, uint two, uint three, uint flags, StringBuilder filePath, IntPtr callback, IntPtr context ) : bool
SymInitialize ( IntPtr hProcess, string symPath, bool fInvadeProcess ) : bool

Private Methods

Method Description
FreeLibrary ( IntPtr hModule ) : bool
LoadLibrary ( string name ) : LibrarySafeHandle

Method Details

AbstractDacFinder() protected method

protected AbstractDacFinder ( string localCache ) : System
localCache string
return System

Dispose() public method

public Dispose ( ) : void
return void

FindDac() public method

public FindDac ( Microsoft.Diagnostics.Runtime.ClrInfo clrInfo ) : string
clrInfo Microsoft.Diagnostics.Runtime.ClrInfo
return string

FindDac() public method

public FindDac ( string dacname, uint timestamp, uint fileSize ) : string
dacname string
timestamp uint
fileSize uint
return string

Init() public method

public Init ( ) : void
return void

InitDbgHelpModule() protected abstract method

protected abstract InitDbgHelpModule ( ) : void
return void

SymCleanup() protected abstract method

protected abstract SymCleanup ( IntPtr hProcess ) : bool
hProcess System.IntPtr
return bool

SymFindFileInPath() protected abstract method

protected abstract SymFindFileInPath ( IntPtr hProcess, string searchPath, string filename, uint id, uint two, uint three, uint flags, StringBuilder filePath, IntPtr callback, IntPtr context ) : bool
hProcess System.IntPtr
searchPath string
filename string
id uint
two uint
three uint
flags uint
filePath StringBuilder
callback System.IntPtr
context System.IntPtr
return bool

SymInitialize() protected abstract method

protected abstract SymInitialize ( IntPtr hProcess, string symPath, bool fInvadeProcess ) : bool
hProcess System.IntPtr
symPath string
fInvadeProcess bool
return bool

Property Details

dbgHelpLib protected property

protected LibrarySafeHandle dbgHelpLib
return LibrarySafeHandle

process protected property

protected Process,System.Diagnostics process
return System.Diagnostics.Process

searchPath protected property

protected string searchPath
return string