mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 04:13:22 +08:00
[0.1.x] + FIXME: support typedVar witout RVA
git-svn-id: https://pykd.svn.codeplex.com/svn@73161 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
fc9014b440
commit
153766deb4
@ -21,8 +21,10 @@ class TypedVarTest( unittest.TestCase ):
|
|||||||
self.assertEqual( -2, target.module.typedVar( "g_shortValue" ) )
|
self.assertEqual( -2, target.module.typedVar( "g_shortValue" ) )
|
||||||
self.assertEqual( -4, target.module.typedVar( "g_longValue" ) )
|
self.assertEqual( -4, target.module.typedVar( "g_longValue" ) )
|
||||||
self.assertEqual( -8, target.module.typedVar( "g_longlongValue" ) )
|
self.assertEqual( -8, target.module.typedVar( "g_longlongValue" ) )
|
||||||
try: self.assertEqual( True, target.module.typedVar( "g_constBoolValue" ) )
|
try:
|
||||||
except pykd.DiaException: self.assertTrue( False )
|
self.assertEqual( True, target.module.typedVar( "g_constBoolValue" ) )
|
||||||
|
except pykd.BaseException:
|
||||||
|
self.assertFalse( "FIXME: constants without RVA is not supported" )
|
||||||
|
|
||||||
def testGetAddress( self ):
|
def testGetAddress( self ):
|
||||||
tv = target.module.typedVar( "structTest", target.module.g_structTest )
|
tv = target.module.typedVar( "structTest", target.module.g_structTest )
|
||||||
|
Loading…
Reference in New Issue
Block a user