package unicorn
// For Unicorn Engine. AUTO-GENERATED FILE, DO NOT EDIT [unicorn_const.go]
const (

	API_MAJOR = 0
	API_MINOR = 9
	SECOND_SCALE = 1000000
	MILISECOND_SCALE = 1000
	ARCH_ARM = 1
	ARCH_ARM64 = 2
	ARCH_MIPS = 3
	ARCH_X86 = 4
	ARCH_PPC = 5
	ARCH_SPARC = 6
	ARCH_M68K = 7
	ARCH_MAX = 8

	MODE_LITTLE_ENDIAN = 0

	MODE_ARM = 0
	MODE_16 = 2
	MODE_32 = 4
	MODE_64 = 8
	MODE_THUMB = 16
	MODE_MCLASS = 32
	MODE_V8 = 64
	MODE_MICRO = 16
	MODE_MIPS3 = 32
	MODE_MIPS32R6 = 64
	MODE_V9 = 16
	MODE_QPX = 16
	MODE_BIG_ENDIAN = 1073741824
	MODE_MIPS32 = 4
	MODE_MIPS64 = 8

	ERR_OK = 0
	ERR_NOMEM = 1
	ERR_ARCH = 2
	ERR_HANDLE = 3
	ERR_MODE = 4
	ERR_VERSION = 5
	ERR_READ_UNMAPPED = 6
	ERR_WRITE_UNMAPPED = 7
	ERR_FETCH_UNMAPPED = 8
	ERR_HOOK = 9
	ERR_INSN_INVALID = 10
	ERR_MAP = 11
	ERR_WRITE_PROT = 12
	ERR_READ_PROT = 13
	ERR_FETCH_PROT = 14
	ERR_ARG = 15
	ERR_READ_UNALIGNED = 16
	ERR_WRITE_UNALIGNED = 17
	ERR_FETCH_UNALIGNED = 18
	ERR_HOOK_EXIST = 19
	MEM_READ = 16
	MEM_WRITE = 17
	MEM_FETCH = 18
	MEM_READ_UNMAPPED = 19
	MEM_WRITE_UNMAPPED = 20
	MEM_FETCH_UNMAPPED = 21
	MEM_WRITE_PROT = 22
	MEM_READ_PROT = 23
	MEM_FETCH_PROT = 24
	HOOK_INTR = 1
	HOOK_INSN = 2
	HOOK_CODE = 4
	HOOK_BLOCK = 8
	HOOK_MEM_READ_UNMAPPED = 16
	HOOK_MEM_WRITE_UNMAPPED = 32
	HOOK_MEM_FETCH_UNMAPPED = 64
	HOOK_MEM_READ_PROT = 128
	HOOK_MEM_WRITE_PROT = 256
	HOOK_MEM_FETCH_PROT = 512
	HOOK_MEM_READ = 1024
	HOOK_MEM_WRITE = 2048
	HOOK_MEM_FETCH = 4096
	HOOK_MEM_UNMAPPED = 112
	HOOK_MEM_PROT = 896
	HOOK_MEM_READ_INVALID = 144
	HOOK_MEM_WRITE_INVALID = 288
	HOOK_MEM_FETCH_INVALID = 576
	HOOK_MEM_INVALID = 1008

	PROT_NONE = 0
	PROT_READ = 1
	PROT_WRITE = 2
	PROT_EXEC = 4
	PROT_ALL = 7
)