pykd
1
2import unittest3import target4import pykd5
6class DbgcmdTest( unittest.TestCase ):7
8def testDbgCommand( self ):9self.assertNotEqual( "", pykd.dbgCommand("lm") )10
11# def testDbgExt( self ):
12# #ext = pykd.loadExt( "ext" )
13# #self.assertNotEqual( "", ext.call("help", "") )
14
15def testExpr( self ):16self.assertEqual( 8, pykd.expr( "poi(targetapp!g_ulonglongValue)" ) )17
18