mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 16:08:15 +00:00
8 lines
229 B
Python
Executable file
8 lines
229 B
Python
Executable file
#!/usr/bin/python
|
|
|
|
from unicorn import *
|
|
uc = Uc(UC_ARCH_X86, UC_MODE_32)
|
|
uc.mem_map(0x0000, 0x2000)
|
|
uc.mem_map(0x2000, 0x4000)
|
|
uc.mem_write(0x1000, 0x1004 * ' ')
|
|
print 'If not reached, then we have BUG (crash on x86_64 Linux).'
|