added memmap regression scripts
This commit is contained in:
8
regress/memmap_assert.py
Executable file
8
regress/memmap_assert.py
Executable file
@ -0,0 +1,8 @@
|
||||
#!/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"
|
Reference in New Issue
Block a user