From 09784d85c18965787ec2d2316bd4be5caead4ce0 Mon Sep 17 00:00:00 2001 From: Sascha Schirra Date: Sun, 27 Mar 2016 11:26:57 +0200 Subject: [PATCH] bugfix read_reg -> reg_read --- tests/regress/x86_gdt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/regress/x86_gdt.py b/tests/regress/x86_gdt.py index 3565a74c..5f4234a4 100755 --- a/tests/regress/x86_gdt.py +++ b/tests/regress/x86_gdt.py @@ -88,7 +88,7 @@ class GdtRead(regress.RegressTest): 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__': - regress.main() \ No newline at end of file + regress.main()