rename uc_mem_map_ex to uc_mem_map and all associated changes
This commit is contained in:
2
regress/map_crash.c
Normal file → Executable file
2
regress/map_crash.c
Normal file → Executable file
@@ -23,7 +23,7 @@ int main()
|
||||
return 1;
|
||||
}
|
||||
memset (buf, 0, size);
|
||||
if (!uc_mem_map (uh, UC_BUG_WRITE_ADDR, size)) {
|
||||
if (!uc_mem_map (uh, UC_BUG_WRITE_ADDR, size, UC_PROT_ALL)) {
|
||||
uc_mem_write (uh, UC_BUG_WRITE_ADDR, buf, size);
|
||||
}
|
||||
uc_close (&uh);
|
||||
|
||||
Reference in New Issue
Block a user