mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 21:03:23 +08:00
[0.1.x] +DIA: undecorated name getter
git-svn-id: https://pykd.svn.codeplex.com/svn@74747 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
6faae9a14c
commit
07c4634708
@ -687,6 +687,8 @@ BOOST_PYTHON_MODULE( pykd )
|
|||||||
"Retrieves the number of bits or bytes of memory used by the object represented by this symbol" )
|
"Retrieves the number of bits or bytes of memory used by the object represented by this symbol" )
|
||||||
.def( "name", &pyDia::Symbol::getName,
|
.def( "name", &pyDia::Symbol::getName,
|
||||||
"Retrieves the name of the symbol" )
|
"Retrieves the name of the symbol" )
|
||||||
|
.def( "undecoratedName", &pyDia::Symbol::getUndecoratedName,
|
||||||
|
"Retrieves the undecorated name for a C++ decorated, or linkage, name" )
|
||||||
.def( "type", &pyDia::Symbol::getType,
|
.def( "type", &pyDia::Symbol::getType,
|
||||||
"Retrieves the symbol that represents the type for this symbol" )
|
"Retrieves the symbol that represents the type for this symbol" )
|
||||||
.def( "indexType", &pyDia::Symbol::getIndexType,
|
.def( "indexType", &pyDia::Symbol::getIndexType,
|
||||||
|
@ -106,8 +106,13 @@ std::string Symbol::getName()
|
|||||||
return retValue.asStr();
|
return retValue.asStr();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string getBasicName();
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
std::string Symbol::getUndecoratedName()
|
||||||
|
{
|
||||||
|
autoBstr retValue( callSymbol(get_undecoratedName) );
|
||||||
|
return retValue.asStr();
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
@ -94,6 +94,7 @@ public:
|
|||||||
ULONGLONG getSize();
|
ULONGLONG getSize();
|
||||||
|
|
||||||
std::string getName();
|
std::string getName();
|
||||||
|
std::string getUndecoratedName();
|
||||||
|
|
||||||
SymbolPtr getType();
|
SymbolPtr getType();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user