Fix some invalid code in regress

This commit is contained in:
Hoang-Vu Dang
2016-07-04 00:57:48 -05:00
parent fa12de87f9
commit 3151451c87
2 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ class VldrPcInsn(regress.RegressTest):
# this should throw an error
# the eax test is just to prove the second instruction doesn't execute
try:
uc.emu_start(0x1000, len(code))
uc.emu_start(0x1000, 0x1000 + len(code))
except UcError:
return
self.assertEqual(uc.reg_read(UC_X86_REG_EAX), 1)