mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 12:24:52 +08:00
[0.1.x] fix: check platform type
git-svn-id: https://pykd.svn.codeplex.com/svn@71449 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
1bdfc6e278
commit
6bca1aa262
@ -153,7 +153,7 @@ PointerTypeInfo::PointerTypeInfo( pyDia::SymbolPtr &symbol )
|
|||||||
PointerTypeInfo::PointerTypeInfo( pyDia::SymbolPtr &symScope, const std::string &symName )
|
PointerTypeInfo::PointerTypeInfo( pyDia::SymbolPtr &symScope, const std::string &symName )
|
||||||
{
|
{
|
||||||
m_derefType = TypeInfo::getTypeInfo( symScope, symName );
|
m_derefType = TypeInfo::getTypeInfo( symScope, symName );
|
||||||
m_size = symScope->getMachineType() == CV_CFL_X64 ? 8 : 4;
|
m_size = (symScope->getMachineType() == IMAGE_FILE_MACHINE_AMD64) ? 8 : 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user