mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 12:28:14 +00:00
add regress/memmap_segfault2.py
This commit is contained in:
parent
cd0fe763ab
commit
c633ac5314
1 changed files with 6 additions and 0 deletions
6
regress/memmap_segfault2.py
Normal file
6
regress/memmap_segfault2.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
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 'Not reached on x86_64 Linux.'
|
Loading…
Reference in a new issue