mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-25 05:15:36 +00:00
9 lines
164 B
Python
9 lines
164 B
Python
|
#!/usr/bin/env python
|
||
|
|
||
|
import unicorn
|
||
|
|
||
|
u = unicorn.Uc(unicorn.UC_ARCH_X86, unicorn.UC_MODE_32)
|
||
|
u.mem_map(0x2000, 0)
|
||
|
u.mem_map(0x4000, 1)
|
||
|
print "I am never reached"
|