Add some fixes to the tests.

My mem_nofree test fails on the latest code as apparently my address and
sizes overlap each other.

The mem_unmap test failed as the invalid memory hook case was incorrect.
This commit is contained in:
farmdve
2016-01-05 18:02:54 +02:00
parent 075ccadbe9
commit 264c4c1b54
2 changed files with 3 additions and 3 deletions

View File

@@ -5,8 +5,8 @@
#include <unicorn/unicorn.h>
#define ADDRESS1 0x1000000
#define ADDRESS2 0x2000000
#define ADDRESS1 0x10000000
#define ADDRESS2 0x20000000
#define SIZE (80 * 1024 * 1024)
static void VM_exec()