mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 04:13:22 +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()
|
ULONG Symbol::getLocType()
|
||||||
{
|
{
|
||||||
return callSymbol(get_locationType);
|
return callSymbol(get_locationType);
|
||||||
|
@ -103,6 +103,7 @@ public:
|
|||||||
ULONG getSymTag();
|
ULONG getSymTag();
|
||||||
|
|
||||||
ULONG getRva();
|
ULONG getRva();
|
||||||
|
ULONGLONG getVa();
|
||||||
|
|
||||||
ULONG getLocType();
|
ULONG getLocType();
|
||||||
|
|
||||||
|
@ -717,6 +717,8 @@ BOOST_PYTHON_MODULE( pykd )
|
|||||||
"Retrieves a reference to the class parent of the symbol" )
|
"Retrieves a reference to the class parent of the symbol" )
|
||||||
.def( "rva", &pyDia::Symbol::getRva,
|
.def( "rva", &pyDia::Symbol::getRva,
|
||||||
"Retrieves the relative virtual address (RVA) of the location")
|
"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,
|
.def( "symTag", &pyDia::Symbol::getSymTag,
|
||||||
"Retrieves the symbol type classifier: SymTagXxx" )
|
"Retrieves the symbol type classifier: SymTagXxx" )
|
||||||
.def( "locType", &pyDia::Symbol::getLocType,
|
.def( "locType", &pyDia::Symbol::getLocType,
|
||||||
|
Loading…
Reference in New Issue
Block a user