pykd/test/scripts/regtest.py
SND\kernelnet_cp 7329a9f7bc [0.1.x] cleaned project
git-svn-id: https://pykd.svn.codeplex.com/svn@69712 9b283d60-5439-405e-af05-b73fd8c4d996
2017-11-08 17:06:26 +04:00

34 lines
874 B
Python

#import unittest
#import pykd
#import target
#class CpuRegTest( unittest.TestCase ):
# def testBasic(self):
# try:
# reg = pykd.cpuReg(0)
# self.assertTrue(True)
# except pykd.BaseException:
# pass
# def testGPR(self):
# if pykd.is64bitSystem():
# rax = pykd.cpuReg("rax")
# self.assertEqual( rax, pykd.reg("rax") )
# rip = pykd.cpuReg("rip")
# self.assertEqual( rip, pykd.reg("rip") )
# else:
# eax = pykd.cpuReg("eax")
# self.assertEqual( eax, pykd.reg("eax") )
# eip = pykd.cpuReg("eip")
# self.assertEqual( eip, pykd.reg("eip") )