Commit graph

6590 commits

Author SHA1 Message Date
Nguyen Anh Quynh bb27c4c6af Merge pull request #104 from cseagle/regress
Move mem_xxx samples to regress.
2015-09-04 16:08:00 +08:00
Chris Eagle 8cfd902e4b Move mem_xxx samples to regress. Add check to only flush tlb when unmapping if there is a current cpu 2015-09-04 00:48:24 -07:00
Nguyen Anh Quynh d506b900eb cache the last entry of mapped blocks in memory_mapping() for better performance 2015-09-04 15:40:47 +08:00
Nguyen Anh Quynh fabbc0f4dc Merge pull request #103 from cseagle/java_dev
Update with type safety changes and api additions
2015-09-04 15:29:30 +08:00
Chris Eagle a53eae3a29 Merge branch 'master' into java_dev 2015-09-03 22:34:00 -07:00
Chris Eagle b3b814e8b1 update java bindings for type safety and API changes 2015-09-03 22:28:09 -07:00
Nguyen Anh Quynh 06481933e0 typo 2015-09-04 11:56:14 +08:00
Nguyen Anh Quynh 022f8d82d1 handle memory fetch as invalid memory access. now we can also report error if exec memory is unmapped (UC_ERR_MEM_FETCH) 2015-09-04 11:55:17 +08:00
Chris Eagle bae718274e Merge branch 'master' into java_dev 2015-09-03 20:30:31 -07:00
Nguyen Anh Quynh 84e3b5c897 cast all the values to write to registers in uc_reg_write() to unsigned type. this fixes issue #98 2015-09-04 11:17:08 +08:00
Nguyen Anh Quynh 2cdadf1720 regress: fix nr_mem_test.c and ro_mem_test.c to use modified UC_MEM_* enum 2015-09-04 11:04:13 +08:00
Nguyen Anh Quynh 7ceb2eb0b9 bindings: update constants after the recent changes in the core 2015-09-04 10:54:21 +08:00
Nguyen Anh Quynh 8618d00786 Merge branch 'change-handle-based-api' of https://github.com/JonathonReinhart/unicorn into JonathonReinhart-change-handle-based-api 2015-09-04 10:49:38 +08:00
Jonathon Reinhart 291ec98675 python: fix a couple more function signatures 2015-09-03 22:46:43 -04:00
Nguyen Anh Quynh f2333e6c4a Merge branch 'change-handle-based-api' of https://github.com/JonathonReinhart/unicorn into JonathonReinhart-change-handle-based-api 2015-09-04 10:46:27 +08:00
Jonathon Reinhart 5f32e2c1ae s/uc_hook_h/uchook/g 2015-09-03 22:39:23 -04:00
Jonathon Reinhart 99e34d212a bring python bindings up-to-date with new API 2015-09-03 22:34:58 -04:00
Jonathon Reinhart da46071c7d bring new code and samples up-to-date with API changes 2015-09-03 22:15:49 -04:00
Jonathon Reinhart 5e9d07a40a Merge remote-tracking branch 'upstream/master' into change-handle-based-api 2015-09-03 22:01:52 -04:00
Nguyen Anh Quynh 0962c4822b cleanup & update bindings' constants 2015-09-04 09:43:31 +08:00
Nguyen Anh Quynh e54519c09f cleanup 2015-09-04 09:20:13 +08:00
Chris Eagle 2da46caef7 smooth out split_region related code 2015-09-03 12:26:36 -07:00
Nguyen Anh Quynh 6ca85a72ed simplify uc_mem_protect() & uc_mem_unmap() 2015-09-04 01:02:38 +08:00
Nguyen Anh Quynh 8a6fe6dc9d update .gitignore 2015-09-03 18:43:29 +08:00
Nguyen Anh Quynh 9f9d57e84f cleaning & indentation 2015-09-03 18:16:49 +08:00
Nguyen Anh Quynh b8d4240240 solve merging conflict 2015-09-03 18:05:21 +08:00
Nguyen Anh Quynh 46cc510dfe chmod +x regress/reg_write_sign_extension.py 2015-09-03 18:02:25 +08:00
Nguyen Anh Quynh dd13d821af Merge branch 'change-handle-based-api' of https://github.com/JonathonReinhart/unicorn into JonathonReinhart-change-handle-based-api 2015-09-03 14:42:53 +08:00
Nguyen Anh Quynh 256c7f01a5 Merge pull request #101 from lunixbochs/master
fix go binding hook arguments
2015-09-03 11:01:48 +08:00
Ryan Hileman f230de876e fix go binding hook arguments 2015-09-02 20:00:13 -07:00
Jonathon Reinhart 5b62d436a9 change public APIs to use ucengine
See #52.
2015-09-02 22:00:09 -04:00
Jonathon Reinhart 0feab69a61 update samples to conform to uc API changes 2015-09-02 21:25:59 -04:00
Nguyen Anh Quynh a54e40afcf Merge pull request #99 from SeanHeelan/master
Regression test for issue #98
2015-09-03 09:17:29 +08:00
Jonathon Reinhart bd0a6921cc Merge remote-tracking branch 'upstream/master' into change-handle-based-api 2015-09-02 21:04:43 -04:00
Sean Heelan fe51b9a9ae Regression test for issue #98
This is a problem with sign extension during uc_reg_write
2015-09-03 00:48:20 +07:00
Nguyen Anh Quynh 03683a7960 fix an warning caused by _hook_mem_access() 2015-09-03 01:18:41 +08:00
Nguyen Anh Quynh be659d201d fix confusion betweet UC_MEM_xxx & UC_HOOK_MEM_xxx. fix issue #93 2015-09-03 01:13:57 +08:00
Nguyen Anh Quynh 4a2f23db60 regress: fix rep_movsb.c to properly use uc_hook_add() API 2015-09-03 01:13:46 +08:00
Nguyen Anh Quynh 2d9db36a2b fix some errors introduced by the last commit on qemu-thread-win32.c 2015-09-02 01:34:23 -07:00
Nguyen Anh Quynh 8b39ec5b0c initial support to remove a static variable in qemu-thread-win32.c 2015-09-02 16:13:12 +08:00
Nguyen Anh Quynh a94e31165d x86: fix issue #95 2015-09-02 12:00:43 +08:00
Nguyen Anh Quynh 5f7a912f5d better instructions for install Msys2 on Windows 2015-09-02 10:44:26 +08:00
Nguyen Anh Quynh 589a1f8337 Merge pull request #96 from lunixbochs/master
fix crash on some SSE instructions
2015-09-02 10:20:49 +08:00
Ryan Hileman db8f499fe9 fix crash on some SSE instructions 2015-09-01 19:12:51 -07:00
Chris Eagle ad877e6af0 Add error value UC_ERR_INVAL and rename UC_ERR_OOM to UC_ERR_NOMEM to provide more error specificity 2015-09-01 13:40:19 -07:00
Chris Eagle 49d1fa7ebd Merge branch 'master' into mem_map_ex_cse 2015-09-01 12:13:53 -07:00
Chris Eagle 2c4f3769d4 clean up mem_protect related constants and error codes 2015-09-01 12:10:09 -07:00
Jonathon Reinhart 2c802a3e4b Merge remote-tracking branch 'upstream/master' into change-handle-based-api
# Conflicts:
#	qemu/target-i386/unicorn.c
2015-09-01 13:17:03 -04:00
Nguyen Anh Quynh 90fc201f8d x86: enable bunch of instructions via CPUID. this fixes issue #91 2015-09-02 00:16:45 +08:00
Nguyen Anh Quynh 4f7b91d0b7 minor fix for instructions in COMPILE.TXT 2015-09-01 23:34:06 +08:00