Commit Graph

463 Commits

Author SHA1 Message Date
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
Nguyen Anh Quynh
0e13ab6c3f compile regress/rep_movsb.c 2015-09-01 20:05:33 +08:00
Nguyen Anh Quynh
9962a0bd0d Merge pull request #94 from cseagle/regress
regression for issue #93
2015-09-01 18:02:01 +08:00
Chris Eagle
95059407ee add regression for callbacks generated during movsb 2015-08-31 23:52:22 -07:00
Chris Eagle
73027026ce Merge branch 'master' into mem_map_ex_cse 2015-08-31 23:49:54 -07:00
Chris Eagle
7e24fe8ab0 Merge branch 'master' into java_dev 2015-08-31 23:49:10 -07:00
Nguyen Anh Quynh
9dbd674a04 Merge pull request #92 from lunixbochs/master
add regression test for #91
2015-09-01 14:35:28 +08:00
Ryan Hileman
d3cf1faf80 add regression test for #91 2015-08-31 22:55:38 -07:00
Chris Eagle
658e399776 clean up mem_protect related constants 2015-08-31 19:08:48 -07:00
Nguyen Anh Quynh
bea73ef213 stop emulation when hitting invalid code address. this fixes issue #82 2015-09-01 00:17:55 +08:00
Nguyen Anh Quynh
12019dba40 update .gitignore 2015-08-31 23:38:48 +08:00
Nguyen Anh Quynh
36f5333490 chmod +x regress/fpu_ip64.py 2015-08-31 23:38:22 +08:00
Nguyen Anh Quynh
0d78bb8d51 Merge pull request #74 from mothran/fpip_update
Added FPU IP support to unicorn
2015-08-31 22:08:41 +08:00
Nguyen Anh Quynh
43d4dd4b56 Merge pull request #89 from radare/ascii-logo-updated
Some polishment in the ascii art logo
2015-08-31 20:15:59 +08:00
Chris Eagle
1f9b799ed3 Update java api to include mem_unmap and mem_protect 2015-08-31 03:09:57 -07:00
pancake
046f29442b Some polishment on the ascii art logo 2015-08-31 11:08:02 +02:00
Chris Eagle
b27e987932 Add target_page_size member to uc_struct to track TARGET_PAGE_SIZE 2015-08-31 01:00:44 -07:00
Chris Eagle
410e317e92 dont use explicit page size, use TARGET_PAGE_SIZE 2015-08-30 21:24:14 -07:00
Chris Eagle
24dde77ec2 fix uc_mem_type comments 2015-08-30 20:38:38 -07:00
Chris Eagle
de7ac7fc48 Merge branch 'master' into mem_map_ex_cse 2015-08-30 19:52:18 -07:00
Chris Eagle
9e4e96ff47 final updates for uc_mem_unmap, uc_mem_protect, and support ro UC_PROT_EXEC permission 2015-08-30 19:50:18 -07:00
mothran
6aa2b73bea removed ifdef for x64 in fpu saving 2015-08-30 19:39:46 -07:00
mothran
e1ab761e8a fixed typo 2015-08-30 19:32:39 -07:00
mothran
2b6f806759 removed testing printf 2015-08-30 19:22:41 -07:00
mothran
4cd5fa3811 fpip x64 fxsave working with using hflags to check CPU mode 2015-08-30 18:56:55 -07:00
Nguyen Anh Quynh
342fcef4ff update CREDITS 2015-08-31 09:48:19 +08:00
Nguyen Anh Quynh
543f2f9254 Merge pull request #86 from cherepanov74/master
Fixed the list of required DLLs on Win32
2015-08-31 09:04:54 +08:00
mothran
912faf2c3c after closer review, in x64 the the op size is 32 so data32 is set, can removed the unicorn dependency and regress/fpu_ip64.py still works 2015-08-30 18:04:28 -07:00