mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 12:53:23 +08:00
[0.2.x] fixed : module::getTypedVarByTypeName
git-svn-id: https://pykd.svn.codeplex.com/svn@81603 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
e521125903
commit
a2e37c415e
@ -244,6 +244,8 @@ Module::getTypedVarByName( const std::string &symName )
|
|||||||
TypedVarPtr
|
TypedVarPtr
|
||||||
Module::getTypedVarByTypeName( const std::string &typeName, ULONG64 offset )
|
Module::getTypedVarByTypeName( const std::string &typeName, ULONG64 offset )
|
||||||
{
|
{
|
||||||
|
offset = addr64(offset);
|
||||||
|
|
||||||
TypeInfoPtr typeInfo = getTypeByName( typeName );
|
TypeInfoPtr typeInfo = getTypeByName( typeName );
|
||||||
|
|
||||||
return TypedVar::getTypedVar(typeInfo, VarDataMemory::factory(offset) );
|
return TypedVar::getTypedVar(typeInfo, VarDataMemory::factory(offset) );
|
||||||
|
Loading…
Reference in New Issue
Block a user