mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
18 lines
434 B
Python
18 lines
434 B
Python
![]() |
|
||
|
import unittest
|
||
|
import target
|
||
|
import pykd
|
||
|
|
||
|
class DbgcmdTest( unittest.TestCase ):
|
||
|
|
||
|
def testDbgCommand( self ):
|
||
|
self.assertNotEqual( "", pykd.dbgCommand("lm") )
|
||
|
|
||
|
# def testDbgExt( self ):
|
||
|
# #ext = pykd.loadExt( "ext" )
|
||
|
# #self.assertNotEqual( "", ext.call("help", "") )
|
||
|
|
||
|
def testExpr( self ):
|
||
|
self.assertEqual( 8, pykd.expr( "poi(targetapp!g_ulonglongValue)" ) )
|
||
|
|