Commit Graph

919 Commits

Author SHA1 Message Date
a2ef52172c add combination hook type UC_HOOK_MEM_VALID to intercept all valid memory access 2016-01-31 13:12:34 +08:00
1fb5416f4a unit: simplify test_tb_x86.c 2016-01-31 13:06:42 +08:00
a5020c69bb Merge pull request #408 from egberts/master
Pull Request for Issue #364: Invalidating Translation Cache after self-modifying code
2016-01-31 10:37:04 +08:00
fc22a359e2 Issue #364 - Move RIP/PC closer next to the offending self-modifying code
which modified the 2nd next instruction (imul) in which that escaped
our wonderful ability to invalidate the
instruction translation cache in which we badly need to pick up the
self-modification being made.
2016-01-30 19:30:17 -05:00
c8569d8128 arm: fix change PC feature. now tests/regress/callback-pc.py passes 2016-01-28 16:03:19 +08:00
5a04bcb115 allow to change PC during callback. this solves issue #210 2016-01-28 14:06:17 +08:00
e750a4e97c when uc_mem_exec() remove EXE permission, quit current TB & continue emulating with TB flushed. this fixes issue in PR #378 2016-01-28 00:56:55 +08:00
876c423dd0 python: support recent change on uc_hook_add() with begin/end params 2016-01-26 23:12:35 +08:00
48ab148d1c Merge branch 'hook' 2016-01-26 22:52:29 +08:00
235bf0950b cosmetic change for mem_apis.c 2016-01-26 22:50:35 +08:00
2341f5dd1a code style 2016-01-26 17:37:48 +08:00
0c2194078e Merge branch 'hook-refactor' of https://github.com/lunixbochs/unicorn into hook 2016-01-25 20:42:56 +08:00
cee9a7d011 fix missing HOOK_CODE bound check 2016-01-25 03:51:35 -08:00
47fbaf7a28 Merge pull request #404 from xorstream/uc_mode_fix
uc_mode fixes for bindings
2016-01-25 15:12:17 +08:00
bc0003188e uc_mode fixes for bindings 2016-01-25 17:42:51 +11:00
7159b42bbe Merge pull request #401 from xorstream/uc_mode_fix
Fixed mode flags for sparc tests
2016-01-25 12:26:01 +08:00
c7238597b3 Merge pull request #402 from williballenthin/patch-5
qemu-thread-posix: bail on mutex errors
2016-01-25 12:23:58 +08:00
a640b76b94 qemu-thread-posix: bail on mutex errors
partially addresses #400
2016-01-24 22:46:13 -05:00
7973f6b4c9 Added mode endian flags for sparc tests and fixed mode in sparc_jump_to_zero.c 2016-01-25 13:50:26 +11:00
9ec2163571 bindings: add UC_MODE_PPC32 constant after recent update on unicorn.h 2016-01-24 20:50:26 +08:00
ec6d4d9ae0 Removed unneeded arm mode check 2016-01-24 22:36:37 +11:00
26d3b1e7d6 Added ppc 32bit mode and added sparc mode checks to bring it in line with other archs 2016-01-24 22:27:33 +11:00
6f3d48077e rename UC_QUERY_ARM_MODE to a more generic name UC_QUERY_MODE. make all bindings support this new constant 2016-01-24 01:08:23 +08:00
4dbad9aa9b add new API uc_query() to query internal status of emulator at runtime 2016-01-23 17:14:44 +08:00
9c2017e115 update .gitignore 2016-01-23 17:08:40 +08:00
38d1443504 Merge branch 'hook-refactor' of https://github.com/lunixbochs/unicorn into lunixbochs-hook-refactor 2016-01-23 13:24:12 +08:00
1974b23164 add begin>end to samples/mem_apis 2016-01-22 19:55:31 -08:00
9f9bd7098b patch hook bounds to be inclusive 2016-01-22 19:24:45 -08:00
2ac1281f82 rework code/block tracing 2016-01-22 19:07:50 -08:00
249e2ac0a0 Merge branch 'hook-refactor' of https://github.com/lunixbochs/unicorn into lunixbochs-hook-refactor 2016-01-23 10:58:37 +08:00
d79925f477 sparc: add SPARC32 mode (= UC_MODE_32) 2016-01-23 10:48:18 +08:00
0886ae8ede rework code/block tracing 2016-01-22 18:42:27 -08:00
33180b5afa add test for multiple basic block hooks 2016-01-22 18:42:14 -08:00
93052f6566 refactor to allow multiple hooks for one type 2016-01-22 18:41:43 -08:00
ca79d11211 bindings: update constants after recent changes in unicorn.h 2016-01-23 10:31:16 +08:00
5c6c67bb3a regress: fix Sparc mode for sparc_reg.py 2016-01-23 10:17:42 +08:00
b52665fae2 Merge branch 'uc_mode_fix' of https://github.com/xorstream/unicorn into xorstream-uc_mode_fix 2016-01-23 09:59:17 +08:00
b4b83ff207 moar fixes 2016-01-23 12:56:47 +11:00
067ace32f5 Merge branch 'uc_mode_fix' of https://github.com/xorstream/unicorn into xorstream-uc_mode_fix 2016-01-23 09:49:07 +08:00
d8aaa2f44c Fixes to runtime arm mask checks 2016-01-23 12:44:12 +11:00
b6e9121f48 use spaces, but not tabs, for indentation 2016-01-23 09:34:02 +08:00
678d645b80 Fix uc_mode usage in source code 2016-01-23 12:29:22 +11:00
e9ba6ed804 Fix uc_mode usage in source code 2016-01-23 12:17:59 +11:00
288ef1df0a Fix uc_mode usage in source code 2016-01-23 12:10:12 +11:00
8763d426c2 Fix uc_mode usage in source code 2016-01-23 12:08:49 +11:00
b7c43108bd Started fixing uc_mode flag usage 2016-01-23 10:45:58 +11:00
e722c34458 Merge remote-tracking branch 'unicorn-engine/master' into uc_mode_sort 2016-01-23 09:53:34 +11:00
82b7599e15 Sorted uc_modes by CPU and added masks 2016-01-23 09:47:29 +11:00
6490b4f2a9 arm64: fix the issue of multiple definition of aarch64_tb_set_jmp_target (issue #387) 2016-01-22 22:44:18 +08:00
b48fbf7520 Sorted uc_modes by CPU and added masks 2016-01-23 00:55:31 +11:00