Make gen_const work and updates constants
This commit is contained in:
@ -6,7 +6,7 @@ all: gen_const
|
||||
cd unicorn && go build
|
||||
|
||||
gen_const:
|
||||
cd .. && python const_generator.py go
|
||||
cd .. && python3 const_generator.py go
|
||||
|
||||
test: all
|
||||
cd unicorn && LD_LIBRARY_PATH=../../../ DYLD_LIBRARY_PATH=../../../ go test
|
||||
|
@ -23,6 +23,7 @@ const (
|
||||
|
||||
MODE_LITTLE_ENDIAN = 0
|
||||
MODE_BIG_ENDIAN = 1073741824
|
||||
MODE_AFL = 536870912
|
||||
|
||||
MODE_ARM = 0
|
||||
MODE_THUMB = 16
|
||||
@ -70,6 +71,10 @@ const (
|
||||
ERR_HOOK_EXIST = 19
|
||||
ERR_RESOURCE = 20
|
||||
ERR_EXCEPTION = 21
|
||||
ERR_AFL_RET_ERROR = 22
|
||||
ERR_AFL_RET_NO_AFL = 23
|
||||
ERR_AFL_RET_CALLED_TWICE = 24
|
||||
ERR_AFL_RET_FINISHED = 25
|
||||
MEM_READ = 16
|
||||
MEM_WRITE = 17
|
||||
MEM_FETCH = 18
|
||||
|
Reference in New Issue
Block a user