[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:
SND\EreTIk_cp 2013-03-06 14:18:12 +00:00 committed by Mikhail I. Izmestev
parent 4da6671e23
commit 60963e6a9f

View File

@ -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 );