mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-08 22:45:43 +00:00
bugfix read_reg -> reg_read
This commit is contained in:
parent
e44f8f2981
commit
09784d85c1
|
@ -88,7 +88,7 @@ class GdtRead(regress.RegressTest):
|
||||||
|
|
||||||
uc.emu_start(CODE_ADDR, CODE_ADDR+len(CODE))
|
uc.emu_start(CODE_ADDR, CODE_ADDR+len(CODE))
|
||||||
|
|
||||||
self.assertEqual(uc.read_reg(UC_X86_REG_ECX), 0x41414141)
|
self.assertEqual(uc.reg_read(UC_X86_REG_ECX), 0x41414141)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
regress.main()
|
regress.main()
|
||||||
|
|
Loading…
Reference in a new issue