mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[0.3.x] fixed : issue #13860 ( ypedVar.getAddress returns non properly extended address )
git-svn-id: https://pykd.svn.codeplex.com/svn@90943 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
82270f2067
commit
cbd0023bac
@ -349,6 +349,7 @@ class TypedVarTest( unittest.TestCase ):
|
|||||||
self.assertEqual( ( pykd.Location.Memory, tv.getAddress()), tv.getLocation() )
|
self.assertEqual( ( pykd.Location.Memory, tv.getAddress()), tv.getLocation() )
|
||||||
|
|
||||||
def testGetAddress(self):
|
def testGetAddress(self):
|
||||||
|
if not pykd.is64bitSystem():
|
||||||
tv = target.module.typedVar( "structTest", 0x80000000 )
|
tv = target.module.typedVar( "structTest", 0x80000000 )
|
||||||
self.assertEqual( 0xFFFFFFFF80000000, tv.getAddress() )
|
self.assertEqual( 0xFFFFFFFF80000000, tv.getAddress() )
|
||||||
self.assertEqual( 0xFFFFFFFF80000000, tv )
|
self.assertEqual( 0xFFFFFFFF80000000, tv )
|
||||||
|
Loading…
Reference in New Issue
Block a user