From 60963e6a9f5f554e2350a5746d949c788d9b3bf5 Mon Sep 17 00:00:00 2001 From: "SND\\EreTIk_cp" Date: Wed, 6 Mar 2013 14:18:12 +0000 Subject: [PATCH] [0.2.x] ~create typed var by some address git-svn-id: https://pykd.svn.codeplex.com/svn@82838 9b283d60-5439-405e-af05-b73fd8c4d996 --- pykd/module.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pykd/module.cpp b/pykd/module.cpp index 824452f..0ac28ac 100644 --- a/pykd/module.cpp +++ b/pykd/module.cpp @@ -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 );