Commit Graph

  • 2b0b4169bc mips: advance PC for SYSCALL instruction. this fixes issue #157 Nguyen Anh Quynh 2015-09-28 10:58:43 +08:00
  • 0b971a4413 Merge pull request #158 from lunixbochs/master Nguyen Anh Quynh 2015-09-27 16:29:08 +08:00
  • 13be3435c9 add regress for #157 Ryan Hileman 2015-09-27 01:08:46 -07:00
  • 53ce8f217d mips: handle delay slot better for branch instructions. this should fix issue #155 Nguyen Anh Quynh 2015-09-27 15:05:40 +08:00
  • 4a2092fa10 Merge pull request #156 from lunixbochs/master Nguyen Anh Quynh 2015-09-27 13:46:23 +08:00
  • 5055899514 clarify that UC_HOOK_INTR is also for handling syscall events Nguyen Anh Quynh 2015-09-27 11:29:19 +08:00
  • 728fe750b9 Merge pull request #140 from cherepanov74/master Nguyen Anh Quynh 2015-09-27 11:10:02 +08:00
  • 4b42b4be52 add regress for #155 Ryan Hileman 2015-09-26 12:48:25 -07:00
  • 886946dcf4 do not use syscall to quit emulation. this can fix issues #147 & #148 Nguyen Anh Quynh 2015-09-26 16:49:00 +08:00
  • 15f087be74 Merge branch 'master' of https://github.com/unicorn-engine/unicorn Nguyen Anh Quynh 2015-09-26 10:44:15 +08:00
  • 79b81e6ae4 Merge branch 'java_dev' of https://github.com/cseagle/unicorn into cseagle-java_dev Nguyen Anh Quynh 2015-09-25 16:14:57 +08:00
  • 347a01d6b5 spaces to tabs in Makefile Chris Eagle 2015-09-25 00:20:02 -07:00
  • c6a0638f33 Merge branch 'java_dev' of https://github.com/cseagle/unicorn into cseagle-java_dev Nguyen Anh Quynh 2015-09-25 13:53:18 +08:00
  • 0e680fbafa Hack to make gen_const work even if java not installed Chris Eagle 2015-09-24 22:45:59 -07:00
  • 633fe59931 Merge branch 'java_dev' of https://github.com/cseagle/unicorn into cseagle-java_dev Nguyen Anh Quynh 2015-09-25 12:42:42 +08:00
  • 25f85ae1dd file permissions Chris Eagle 2015-09-24 21:27:57 -07:00
  • a21772ad37 Cause java constnats to get updated by bindings Makefile Chris Eagle 2015-09-24 21:26:54 -07:00
  • 4da8cac8fa Merge pull request #152 from cseagle/java_dev Nguyen Anh Quynh 2015-09-25 09:43:43 +08:00
  • f65ba7fb69 Merge branch 'master' into java_dev Chris Eagle 2015-09-24 09:48:44 -07:00
  • 4ebc876bd1 file permissions Chris Eagle 2015-09-24 09:47:06 -07:00
  • 4297ba4310 additional update to handle new hooking macros Chris Eagle 2015-09-24 09:41:49 -07:00
  • dc1e9d3626 remove UC_HOOK_*_ALL hook types as they are not for same hook handlers Nguyen Anh Quynh 2015-09-24 23:23:05 +08:00
  • aa546ba7d6 add UC_HOOK_MEM_ALL macro to hook all kind of memory accesses Nguyen Anh Quynh 2015-09-24 20:59:45 +08:00
  • 14a71b5546 update java bindings for new memory event hooking constants Chris Eagle 2015-09-24 04:33:02 -07:00
  • 2599d41404 add some hooking macros for all kind of memory access events Nguyen Anh Quynh 2015-09-24 19:21:31 +08:00
  • 738b8d89f9 correct instructions for uc_cb_hookmem_t & uc_cb_eventmem_t. this fixes a part of issue #151 Nguyen Anh Quynh 2015-09-24 18:50:49 +08:00
  • e0dceb95da Merge pull request #150 from lunixbochs/master Nguyen Anh Quynh 2015-09-24 18:45:51 +08:00
  • eb19d9bff5 update Go bindings for #149 Ryan Hileman 2015-09-24 01:01:39 -07:00
  • 90eb8f2e72 This commit continues the PR #111 Nguyen Anh Quynh 2015-09-24 14:18:02 +08:00
  • e479f72403 update .gitignore Nguyen Anh Quynh 2015-09-24 13:52:10 +08:00
  • dfb4a9d9ad Revert "Remove uc_cb_eventmem_t as it is identical to uc_cb_hookmem_t" Sean Heelan 2015-09-23 12:51:47 +07:00
  • 2ef59e5727 Renamed UC_HOOK_MEM_INVALID_[READ/WRITE/FETCH] to UC_HOOK_MEM_[READ/WRITE/FETCH]_INVALID as per aquynh's feedback. Sean Heelan 2015-09-23 12:48:13 +07:00
  • cb2b97f26c Remove uc_cb_eventmem_t as it is identical to uc_cb_hookmem_t, as per issue #111 Sean Heelan 2015-09-22 12:37:05 +07:00
  • 75c5904ec1 Makes the hook types consistent, with a single indicator for each of read, write and fetch. Sean Heelan 2015-09-22 12:26:01 +07:00
  • 734aa15fa6 correct supported archs in COMPILE.TXT Nguyen Anh Quynh 2015-09-22 12:12:17 +08:00
  • 14a01b5186 mips: handle delay slot so do not duplicate calling instruction handler. this fixes issue #133 Nguyen Anh Quynh 2015-09-22 11:59:53 +08:00
  • 80c316026f update .gitignore Nguyen Anh Quynh 2015-09-22 11:05:38 +08:00
  • a853eb6363 mips, m68k: early check to see if the address of BB is the until address Nguyen Anh Quynh 2015-09-22 10:24:26 +08:00
  • 242713ce64 Missing update on make test clean danghvu 2015-09-21 21:04:20 -05:00
  • 25342d71d1 m68k -> M68K, x86 -> X86 Nguyen Anh Quynh 2015-09-22 10:00:05 +08:00
  • 7d8d044b5e Merge pull request #145 from JonathonReinhart/update-readme Nguyen Anh Quynh 2015-09-22 09:58:23 +08:00
  • 3c1d65ea66 Reorganize test directories danghvu 2015-09-21 20:47:45 -05:00
  • 0c67f41ed9 Fix issue #118 danghvu 2015-09-21 20:30:05 -05:00
  • f9dc4dcede test: fix test_x86_64() Nguyen Anh Quynh 2015-09-21 22:56:53 +08:00
  • 26ee533303 return NULL in memory_mapping() if no memory is mapped. this fixes test_bad_unmap in test_x86.c Nguyen Anh Quynh 2015-09-21 22:17:26 +08:00
  • 441d15e314 test: correct the input code for test_i386_invalid_mem_read() Nguyen Anh Quynh 2015-09-21 21:45:32 +08:00
  • d8c3b44cb6 Merge branch 'unit-testing-framework' of https://github.com/JonathonReinhart/unicorn into JonathonReinhart-unit-testing-framework Nguyen Anh Quynh 2015-09-21 21:08:00 +08:00
  • 163e9020c8 test/unit: add test_sanity Jonathon Reinhart 2015-09-21 08:35:59 -04:00
  • 02daa8df46 test/unit: simplify uc_assert_fail() macro Jonathon Reinhart 2015-09-21 07:56:02 -04:00
  • 47b904c3ba Merge pull request #139 from JonathonReinhart/unit-testing-framework Nguyen Anh Quynh 2015-09-21 11:18:59 +08:00
  • 07122809b5 test/unit: add test_basic_blocks Jonathon Reinhart 2015-09-20 22:45:45 -04:00
  • d7d4be25b1 arm64: early check to see if the address of this block is the until address Nguyen Anh Quynh 2015-09-21 10:26:33 +08:00
  • cc1cfb9141 add information about unit tests to COMPILE.txt Jonathon Reinhart 2015-09-20 22:16:04 -04:00
  • 1be8ef69c8 add 'test' to main Makefile Jonathon Reinhart 2015-09-20 21:39:35 -04:00
  • 46ee860084 update to new error constants and silence printfs Jonathon Reinhart 2015-09-20 21:33:11 -04:00
  • f225584f77 change README to markdown, minor edits Jonathon Reinhart 2015-09-20 22:08:49 -04:00
  • 7a98fc4e78 add tests to test_x86.c from samples/ Jonathon Reinhart 2015-09-13 22:26:00 -04:00
  • c026c23efb add more mem map API tests Jonathon Reinhart 2015-09-13 21:49:43 -04:00
  • 4dae31b25e add uc_assert_(err|fail) macros Jonathon Reinhart 2015-09-13 21:32:31 -04:00
  • df3966a90c continued work on test framework Jonathon Reinhart 2015-09-07 16:07:48 -04:00
  • d4de54601d add start of test_mem_map.c Jonathon Reinhart 2015-09-07 15:05:55 -04:00
  • 12909e6a4c add basic cmocka unit test Jonathon Reinhart 2015-09-03 21:52:41 -04:00
  • ad835459bd fix conflicts when merging new_regress to master Nguyen Anh Quynh 2015-09-20 00:21:20 +07:00
  • 9aa04d9496 tb_gen_code(): only check to link next page if tb->size > 0 (so we skip empty block) Nguyen Anh Quynh 2015-09-20 00:05:17 +07:00
  • 7ab8d667fd fix regress/fpu_mem_write.py so it really emulates code Nguyen Anh Quynh 2015-09-20 00:02:30 +07:00
  • 4d45f11a08 regress/regress.py can be run from inside regress/ Nguyen Anh Quynh 2015-09-19 17:06:50 +07:00
  • cbb2cf3618 Regress python testcases must define expected value via unittest danghvu 2015-09-17 15:45:15 -05:00
  • 8c163706e4 Fix issue #113, untracked reference danghvu 2015-09-16 21:33:01 -05:00
  • 5005b4a6e2 arm: early check to see if the address of this block is the until address Nguyen Anh Quynh 2015-09-17 09:16:57 +07:00
  • d6b9c31dc9 sparc: more cleanup Nguyen Anh Quynh 2015-09-16 16:04:12 +07:00
  • f36bd83f85 cleanup regress/sparc*.py Nguyen Anh Quynh 2015-09-16 15:46:10 +07:00
  • 893e6abcbd first atttempt at SPARC64 fixes, no longer SEGV's, set CPU model to: Sun UltraSparc IV mothran 2015-09-15 23:12:03 -07:00
  • fe807952d0 bindings: update Sparc registers after the last core change Nguyen Anh Quynh 2015-09-15 14:17:57 +07:00
  • e581b8ea0e Merge branch 'master' of https://github.com/unicorn-engine/unicorn Nguyen Anh Quynh 2015-09-15 14:17:10 +07:00
  • 7eaedc5c15 add a comment for Arm instruction in regress/arm_movr12_hang.py Nguyen Anh Quynh 2015-09-15 14:16:57 +07:00
  • 163e49bf59 Merge pull request #141 from mothran/sparc_regs Nguyen Anh Quynh 2015-09-15 14:14:46 +07:00
  • 6962126707 update sparc_reg.py with %i registers mothran 2015-09-14 23:28:09 -07:00
  • d1e19df64e update the sparc_reg to test all g/o/l registers mothran 2015-09-14 23:05:33 -07:00
  • 69d73aa845 added emulated SPARC code for regress/sparc_reg.py, appears to be a bug in G and I registers mothran 2015-09-14 21:23:42 -07:00
  • 1638372793 fix small whitespace issue mothran 2015-09-14 20:48:31 -07:00
  • f4894a1c77 removed unneed cases in the switch statement mothran 2015-09-14 20:44:50 -07:00
  • d4d5631181 updated the sparc.h header so the alignment of certain registers was correct mothran 2015-09-14 20:42:41 -07:00
  • 6b521e9e9b update the sparc reg read/write to include o/l/i registers mothran 2015-09-14 20:03:32 -07:00
  • 85b3594c7c Merge branch 'master' of github.com:unicorn-engine/unicorn into sparc_regs mothran 2015-09-14 19:57:23 -07:00
  • 2fc483ec47 Fixes crash on Windows 64bit cherepanov74 2015-09-14 20:42:29 +02:00
  • 3f726d1c57 chmod +x regress/sparc64.py Nguyen Anh Quynh 2015-09-14 09:46:05 +07:00
  • 7dc41a8e4e update the regwptr upon reset mothran 2015-09-13 18:10:28 -07:00
  • 507fc4dab7 Merge pull request #137 from mothran/sparc64_crash Nguyen Anh Quynh 2015-09-13 09:34:20 +08:00
  • 2789e7951b added the sparc64 crash regression mothran 2015-09-12 10:35:50 -07:00
  • 657a6c3e25 modified the sparc reg get/set functions to use the current reg window ptr mothran 2015-09-12 10:29:35 -07:00
  • ab337ef65a Merge branch 'master' of https://github.com/unicorn-engine/unicorn Nguyen Anh Quynh 2015-09-11 15:58:58 +08:00
  • afecfee565 added SPARC sp / fp registers, also updated uint32_t's to uint64_t's in SPARC64 mothran 2015-09-10 23:20:52 -07:00
  • 548355acca sparc: do not accept BIGENDIAN mode in samples. more sanity check should be done in the core Nguyen Anh Quynh 2015-09-11 14:02:27 +08:00
  • b306fa65bd Merge pull request #135 from lunixbochs/test-133 Nguyen Anh Quynh 2015-09-10 01:17:15 +08:00
  • 586d5ca9f8 add test for #133 Ryan Hileman 2015-09-09 08:27:13 -07:00
  • 113245e12a fix some comments in unicorn.h Nguyen Anh Quynh 2015-09-09 17:00:00 +08:00
  • 39ac1bcb4e rename UC_ERR_INVAL to UC_ERR_ARG Nguyen Anh Quynh 2015-09-09 16:54:47 +08:00
  • d7ef204398 rename error codes ERR_MEM_READ, ERR_MEM_WRITE, ERR_MEM_FETCH Nguyen Anh Quynh 2015-09-09 16:25:48 +08:00
  • d3d38d3f21 handle read/write/fetch from unaligned addresses. this adds new error codes UC_ERR_READ_UNALIGNED, UC_ERR_WRITE_UNALIGNED & UC_ERR_FETCH_UNALIGNED Nguyen Anh Quynh 2015-09-09 15:52:15 +08:00
  • 6b52be24a3 fix regress/mips_except.py Nguyen Anh Quynh 2015-09-09 15:32:31 +08:00