mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-07 15:34:17 +00:00
Fix Python 3 samples (#836)
This commit is contained in:
parent
014ccfb94a
commit
85e0a54e35
4 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue