2010-07-06 22:49:02 +08:00
|
|
|
#pragma once
|
|
|
|
|
2010-07-26 18:55:12 +08:00
|
|
|
#include <string>
|
|
|
|
|
2010-07-06 22:49:02 +08:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
bool
|
|
|
|
is64bitSystem();
|
|
|
|
|
|
|
|
inline
|
|
|
|
int
|
|
|
|
ptrSize() {
|
|
|
|
return is64bitSystem() ? 8 : 4;
|
|
|
|
}
|
|
|
|
|
2010-07-26 18:55:12 +08:00
|
|
|
std::string
|
|
|
|
dbgSymPath();
|
|
|
|
|
2010-08-16 23:04:22 +08:00
|
|
|
std::string
|
|
|
|
getPdbFile( ULONG64 moduleBase );
|
|
|
|
|
|
|
|
std::string
|
|
|
|
getImageFile( ULONG64 moduleBase );
|
|
|
|
|
|
|
|
void
|
|
|
|
reloadSymbols( const char * moduleName );
|
2010-07-26 18:55:12 +08:00
|
|
|
|
2010-07-06 22:49:02 +08:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|