Spl3en
9ca993d8aa
Restore the protected mode check.
2015-12-24 18:39:19 +01:00
Spl3en
c9f6648877
Add sysenter_hook_x86 to tests/regress/Makefile and sysenter_hook_x86 to .gitignore.
2015-12-24 18:25:35 +01:00
Spl3en
4c3ad139ea
( Fix #341 ) SYSENTER instruction is not properly hooked with uc_hook_add in x86 emulation.
...
helper_sysenter in qemu/target-i386/seg_helper.c didn't check properly if a call interrupt callback was registred.
It has been fixed by copying the helper_syscall behavior.
2015-12-24 16:00:22 +01:00
Nguyen Anh Quynh
ed319bda0b
x86: identity map guest address to host address. this fixes issue #300
2015-12-24 09:51:17 +08:00
Nguyen Anh Quynh
8a29acd0de
Merge pull request #338 from michalmalik/patch-2
...
fix #337
2015-12-23 10:27:43 +08:00
Michal Malik
8548ffe6b5
fix #337
...
https://github.com/unicorn-engine/unicorn/issues/337
2015-12-23 00:19:34 +01:00
Nguyen Anh Quynh
2984901f62
regress: fix testcase hook_code_add_del.py
2015-12-23 01:45:29 +08:00
Nguyen Anh Quynh
b29ce1c4fd
chmod +x hook_code_add_del.py
2015-12-23 01:44:02 +08:00
Nguyen Anh Quynh
0f6d27cc88
Merge branch 'xorstream-mips_branch_likely_issue'
2015-12-23 01:40:51 +08:00
Nguyen Anh Quynh
24d344bf61
Merge branch 'master' of https://github.com/unicorn-engine/unicorn
2015-12-23 01:40:42 +08:00
Nguyen Anh Quynh
4117a111eb
mips: handle hook callback for blikely instruction properly. this fixes issue #330 , #331
2015-12-23 01:40:03 +08:00
Nguyen Anh Quynh
85c2bd31f5
indentation
2015-12-23 01:18:52 +08:00
Nguyen Anh Quynh
3bd2e1213d
Merge pull request #335 from michalmalik/patch-1
...
Add regress test for issue #334
2015-12-22 21:30:22 +08:00
Nguyen Anh Quynh
d66c8e5195
Merge pull request #336 from farmdve/tests
...
Add test for pre-instruction hook being invoked more times.
2015-12-22 21:29:20 +08:00
farmdve
784b8066e2
Add test for pre-instruction hook being called more times.
2015-12-22 12:33:36 +02:00
Michal Malik
39c7f0fb1d
Add regress test for issue #334
...
https://github.com/unicorn-engine/unicorn/issues/334
The code is a bit different than in the issue, but it should demonstrate the main problem just fine.
2015-12-22 11:29:55 +01:00
xorstream
ae64fb370b
Fix address in comments
2015-12-22 21:01:30 +11:00
JC Yang
5be70eb91b
Add test case for issue 287.
2015-12-22 15:25:36 +08:00
Nguyen Anh Quynh
ee1772e28a
indentation
2015-12-22 15:13:59 +08:00
JC Yang
8ef018a2cb
Fix possible wrong conditional branch in generated host code by fixing
...
the tcg_liveness_analysis().
Refer to https://github.com/unicorn-engine/unicorn/issues/287 for further info.
2015-12-21 18:01:01 +08:00
xorstream
963c237646
Merge remote-tracking branch 'unicorn-engine/master' into mips_branch_likely_issue
2015-12-21 09:58:25 +11:00
xorstream
5fda79b38a
Updated mips_branch_likely_issue test to check if executed and hooked.
2015-12-21 09:57:15 +11:00
Hiroyuki Uekawa
6445c80b29
Build for Cygwin
2015-12-20 22:00:35 +09:00
Nguyen Anh Quynh
5e8af30110
indentation
2015-12-20 20:43:37 +08:00
Nguyen Anh Quynh
60f6fc425a
Merge pull request #330 from xorstream/mips_branch_likely_issue
...
Added test for MIPS branch likely instructions.
2015-12-20 20:39:23 +08:00
xorstream
7c1297662c
Added test for MIPS branch likely instructions.
2015-12-20 16:07:54 +11:00
Nguyen Anh Quynh
b72671c6d5
sparc, arm, m68k: check for exit request after every hooked instruction
2015-12-20 12:28:15 +08:00
Nguyen Anh Quynh
4f268febb4
mips: check for exit request after every hooked instruction. this fix issue #329
2015-12-20 12:23:36 +08:00
Nguyen Anh Quynh
63e227a585
indentation
2015-12-20 12:16:03 +08:00
Nguyen Anh Quynh
3327ccd507
Merge pull request #329 from xorstream/emu_stop_in_hook_overrun
...
Emu stop in hook overrun
2015-12-20 12:14:41 +08:00
xorstream
7877f72a92
Added emu_stop_in_hook_overrun to gitignore
2015-12-20 15:11:01 +11:00
xorstream
caa437c0ff
Added test for uc_emu_stop() in code hook not always stopping the emu at the current instruction.
2015-12-20 15:03:34 +11:00
xorstream
fa4fd72c5f
Added test for uc_emu_stop() in code hook not always stopping the emu at the current instruction.
2015-12-20 14:59:29 +11:00
Nguyen Anh Quynh
342a68f9da
fix setting cross compilation variables. this is ported over from Capstone
2015-12-20 10:05:04 +08:00
Nguyen Anh Quynh
203876d4f6
support building on OSX 10.6.8. this fix is ported over from Capstone
2015-12-20 10:00:34 +08:00
Nguyen Anh Quynh
0d668d57e7
Merge pull request #328 from lunixbochs/master
...
add binding support for Go 1.6beta1 (fix #326 )
2015-12-18 23:52:30 +08:00
Ryan Hileman
c0eabddef3
add binding support for Go 1.6beta1 ( fix #326 )
2015-12-18 07:42:11 -08:00
Nguyen Anh Quynh
f509423cfa
update .gitignore
2015-12-17 08:13:39 +08:00
Nguyen Anh Quynh
771f9f7c3b
fix conflicts when merging map-ptr branch to master branch
2015-12-17 08:12:02 +08:00
Nguyen Anh Quynh
8d3265d9e1
mips: remove unused variable is_bc_slot
2015-12-16 23:06:17 +08:00
Nguyen Anh Quynh
7b73a298c1
update .gitignore
2015-12-16 23:00:42 +08:00
Nguyen Anh Quynh
a6cd09b5c1
Merge branch 'mips_delayslot_codehook' of https://github.com/xorstream/unicorn into xorstream-mips_delayslot_codehook
2015-12-16 22:59:30 +08:00
Nguyen Anh Quynh
c8853929b7
Merge pull request #320 from xorstream/threaded
...
Added test for uc_open() and uc_emu_start() being called by different threads.
2015-12-16 11:07:23 +08:00
Nguyen Anh Quynh
9c91c1ced6
Merge pull request #321 from xorstream/dynload_hook_fix
...
Fixed the unicorn_dynload.c version of uc_hook_add() to handle UC_HOOK_MEM_*_PROT and UC_HOOK_MEM_*_UNMAPPED.
2015-12-16 11:05:23 +08:00
xorstream
5acb454b7b
Fixed the unicorn_dynload.c version of uc_hook_add() to handle UC_HOOK_MEM_*_PROT and UC_HOOK_MEM_*_UNMAPPED.
2015-12-16 13:46:14 +11:00
xorstream
d871e17ffd
Added return values in main() to rw_hookstack.c so that it builds in MinGW.
2015-12-16 13:13:15 +11:00
xorstream
6aa33e8359
Added test for uc_open() and uc_emu_start() being called by different threads.
2015-12-16 13:08:33 +11:00
xorstream
f111d7d1ca
Added support for building tests from MinGW.
2015-12-16 12:59:30 +11:00
Nguyen Anh Quynh
00f06e0425
Merge pull request #317 from xorstream/msvc_samples
...
Fixed includes for moved unicorn_dynload.h file
2015-12-15 14:23:45 +08:00
xorstream
f68077852f
Fixed includes for moved unicorn_dynload.h file
2015-12-15 17:17:14 +11:00