mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 21:03:23 +08:00
[~] updated : typedVar routine will return None if varibales's address is invalid.
git-svn-id: https://pykd.svn.codeplex.com/svn@61490 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
a7bd2fd5e8
commit
4ae55470b2
@ -7,6 +7,7 @@
|
|||||||
#include "dbgexcept.h"
|
#include "dbgexcept.h"
|
||||||
#include "dbgmem.h"
|
#include "dbgmem.h"
|
||||||
#include "dbgsystem.h"
|
#include "dbgsystem.h"
|
||||||
|
#include "dbgmem.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
@ -319,6 +320,9 @@ TypeInfo::TypeInfo( const std::string &moduleName, const std::string &typeName
|
|||||||
boost::python::object
|
boost::python::object
|
||||||
TypeInfo::load( ULONG64 addr ) const
|
TypeInfo::load( ULONG64 addr ) const
|
||||||
{
|
{
|
||||||
|
if ( !isOffsetValid( addr) )
|
||||||
|
return boost::python::object();
|
||||||
|
|
||||||
if ( m_pointer )
|
if ( m_pointer )
|
||||||
return ptrLoader( addr );
|
return ptrLoader( addr );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user