mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[0.2.x] ~create typed var by some address
git-svn-id: https://pykd.svn.codeplex.com/svn@82838 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
4da6671e23
commit
60963e6a9f
@ -201,7 +201,7 @@ std::string Module::print()
|
||||
TypedVarPtr
|
||||
Module::getTypedVarByAddr( ULONG64 offset )
|
||||
{
|
||||
offset = prepareVa(offset);
|
||||
offset = addr64(offset);
|
||||
|
||||
SymbolPtr symVar = getSymSession()->findByRva( (ULONG)(offset - m_base ) );
|
||||
|
||||
@ -233,7 +233,7 @@ Module::getTypedVarByName( const std::string &symName )
|
||||
TypedVarPtr
|
||||
Module::getTypedVarByTypeName( const std::string &typeName, ULONG64 offset )
|
||||
{
|
||||
offset = prepareVa(offset);
|
||||
offset = addr64(offset);
|
||||
|
||||
TypeInfoPtr typeInfo = getTypeByName( typeName );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user