mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[0.1.x] + get virtual address for DIA Symbol
git-svn-id: https://pykd.svn.codeplex.com/svn@75580 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
2248aa0845
commit
b9b8e855b1
@ -144,6 +144,13 @@ ULONG Symbol::getRva()
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
ULONGLONG Symbol::getVa()
|
||||
{
|
||||
return callSymbol(get_virtualAddress);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
ULONG Symbol::getLocType()
|
||||
{
|
||||
return callSymbol(get_locationType);
|
||||
|
@ -103,6 +103,7 @@ public:
|
||||
ULONG getSymTag();
|
||||
|
||||
ULONG getRva();
|
||||
ULONGLONG getVa();
|
||||
|
||||
ULONG getLocType();
|
||||
|
||||
|
@ -717,6 +717,8 @@ BOOST_PYTHON_MODULE( pykd )
|
||||
"Retrieves a reference to the class parent of the symbol" )
|
||||
.def( "rva", &pyDia::Symbol::getRva,
|
||||
"Retrieves the relative virtual address (RVA) of the location")
|
||||
.def( "va", &pyDia::Symbol::getVa,
|
||||
"Retrieves the virtual address (VA) of the location")
|
||||
.def( "symTag", &pyDia::Symbol::getSymTag,
|
||||
"Retrieves the symbol type classifier: SymTagXxx" )
|
||||
.def( "locType", &pyDia::Symbol::getLocType,
|
||||
|
Loading…
Reference in New Issue
Block a user