Added MSVC bindings for uc_reg_write_batch() and uc_reg_read_batch() and fixed UC_HOOK_INSN hooking.

This commit is contained in:
xorstream
2016-05-10 23:29:11 +10:00
parent 4b45869437
commit 544942cc64
3 changed files with 27 additions and 1 deletions

View File

@ -9,7 +9,13 @@ extern "C" {
#endif
#include <stdint.h>
#ifdef _MSC_VER
typedef int bool;
#define false 0
#define true 1
#else
#include <stdbool.h>
#endif
#include <stdarg.h>
#if defined(UNICORN_HAS_OSXKERNEL)
#include <libkern/libkern.h>