Commit Graph

11 Commits

Author SHA1 Message Date
9e64cba6ec Rename some hook related enums:
- UC_ERR_READ_INVALID -> UC_ERR_READ_UNMAPPED
 - UC_ERR_WRITE_INVALID -> UC_ERR_WRITE_UNMAPPED
 - UC_ERR_FETCH_INVALID -> UC_ERR_FETCH_UNMAPPED
 - UC_MEM_READ_INVALID -> UC_MEM_READ_UNMAPPED
 - UC_MEM_WRITE_INVALID -> UC_MEM_WRITE_UNMAPPED
 - UC_MEM_FETCH_INVALID -> UC_MEM_FETCH_UNMAPPED
 - UC_HOOK_MEM_READ_INVALID -> UC_HOOK_MEM_READ_UNMAPPED
 - UC_HOOK_MEM_WRITE_INVALID -> UC_HOOK_MEM_WRITE_UNMAPPED
 - UC_HOOK_MEM_FETCH_INVALID -> UC_HOOK_MEM_FETCH_UNMAPPED
 - UC_HOOK_MEM_INVALID -> UC_HOOK_MEM_UNMAPPED

This also renames some newly added macros to use _INVALID postfix:

 - UC_HOOK_MEM_READ_ERR -> UC_HOOK_MEM_READ_INVALID
 - UC_HOOK_MEM_WRITE_ERR -> UC_HOOK_MEM_WRITE_INVALID
 - UC_HOOK_MEM_FETCH_ERR -> UC_HOOK_MEM_FETCH_INVALID
 - UC_HOOK_MEM_ERR -> UC_HOOK_MEM_INVALID

Fixed all the bindings Java, Go & Python.
2015-09-30 14:46:55 +08:00
eb19d9bff5 update Go bindings for #149 2015-09-24 01:01:39 -07:00
9a0d80b84c refactor Go bindings to be more idiomatic 2015-09-08 00:04:27 -07:00
7beb90ca95 remove UC_ prefix for go binding consts 2015-09-07 19:25:13 -07:00
70c42731c2 update go bindings for type changes 2015-09-05 06:56:11 -07:00
d1bdbd11e7 rename uchook to uc_hook, ucengine to uc_engine, uc_hook_t to uc_hook_type 2015-09-05 11:20:32 +08:00
f230de876e fix go binding hook arguments 2015-09-02 20:00:13 -07:00
ac1fc4d631 add missing interrupt hook for Go bindings 2015-08-30 15:53:06 -07:00
f83ddf5ad4 clean up Go binding hook types 2015-08-30 15:52:50 -07:00
cb09df3027 fix invalid memory hook in Go bindings 2015-08-29 09:42:36 -07:00
c5bcb02847 add Go bindings 2015-08-27 21:22:30 -07:00