Fix Python 3 samples (#836)
This commit is contained in:

committed by
Nguyen Anh Quynh

parent
014ccfb94a
commit
85e0a54e35
@ -431,7 +431,7 @@ def test_i386_inout():
|
||||
def test_i386_context_save():
|
||||
print("Save/restore CPU context in opaque blob")
|
||||
address = 0
|
||||
code = '\x40' # inc eax
|
||||
code = b'\x40' # inc eax
|
||||
try:
|
||||
# Initialize emulator
|
||||
mu = Uc(UC_ARCH_X86, UC_MODE_32)
|
||||
|
Reference in New Issue
Block a user