Andrew Dutcher
|
ea54204952
|
Tweak some names in a few places, encapsulate the uc_context struct to hide it from users for some reason
|
2016-10-10 14:04:51 -07:00 |
|
Andrew Dutcher
|
1ab2154fe5
|
Change save/restore API to have explicit alloc/free functions. Python has explicit save/update functions.
|
2016-10-07 11:39:42 -07:00 |
|
Nguyen Anh Quynh
|
73577cbcd1
|
rename uc_regstate_restore to uc_context_restore, uc_context_save to uc_context_save
|
2016-10-07 10:03:19 +08:00 |
|
Nguyen Anh Quynh
|
b7cdbe7a88
|
Merge branch 'feat/reg_save_restore' of https://github.com/rhelmot/unicorn into rhelmot-feat/reg_save_restore
|
2016-10-07 09:57:07 +08:00 |
|
Andrew Dutcher
|
e3b0e52013
|
Rename save/restore functions to match the style of the rest of the API
|
2016-09-28 21:21:44 -07:00 |
|
Andrew Dutcher
|
3deb9fdcad
|
Fix save/restore to work while emulation is not active
|
2016-09-08 14:41:34 -07:00 |
|
Andrew Dutcher
|
f2af98942b
|
Added (failing?) test for reg save/restore
|
2016-08-31 20:25:28 -05:00 |
|
Andrew Dutcher
|
b1f03a02f2
|
Add tests for xmm register read/write
|
2016-08-14 19:26:32 -07:00 |
|
Nguyen Anh Quynh
|
a7a1dcc661
|
uc_hook_add(): add begin & end arguments for all hook types. also update Python binding after this change
|
2016-02-11 08:02:13 +08:00 |
|
Nguyen Anh Quynh
|
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 |
|
danghvu
|
3c1d65ea66
|
Reorganize test directories
|
2015-09-21 20:47:45 -05:00 |
|