@ -159,8 +159,8 @@ class Init(regress.RegressTest):
|
|||||||
except UcError as e:
|
except UcError as e:
|
||||||
print("ERROR: %s" % e)
|
print("ERROR: %s" % e)
|
||||||
|
|
||||||
# now print out some registers
|
rdx = mu.reg_read(UC_X86_REG_RDX)
|
||||||
print(">>> Emulation done. Below is the CPU context")
|
self.assertEqual(rdx, 0xbabe, "RDX contains the wrong value. Eflags modification failed.")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Reference in New Issue
Block a user