Commit Graph

  • acf5edf333 Merge branch 'master' of https://github.com/unicorn-engine/unicorn Nguyen Anh Quynh 2015-08-29 08:48:28 +08:00
  • 220faed3e8 Merge branch 'cseagle-mem_map_ex' Nguyen Anh Quynh 2015-08-29 08:47:46 +08:00
  • 07b9cd15b1 Merge pull request #67 from SeanHeelan/master Nguyen Anh Quynh 2015-08-29 08:46:50 +08:00
  • 7f63d76908 add comments to source for ro_mem_test.c Chris Eagle 2015-08-28 12:58:53 -07:00
  • feb8ced027 fixed the FPIP updates to correctly only work with non-control instructions and make sure the pc addr is correct mothran 2015-08-28 10:39:11 -07:00
  • 340acf9176 Added a regression script for issue #65 Sean Heelan 2015-08-29 00:31:27 +07:00
  • 10464408a5 Merge branch 'const-gen' of https://github.com/lunixbochs/unicorn into lunixbochs-const-gen Nguyen Anh Quynh 2015-08-29 00:42:38 +08:00
  • 3f771abe73 python: add sample_all.sh Nguyen Anh Quynh 2015-08-29 00:26:34 +08:00
  • d3de7aa567 samples: add sample code for hooking SYSCALL instruction in sample_x86.c Nguyen Anh Quynh 2015-08-29 00:22:11 +08:00
  • 162728c1b1 samples: add shellcode to sample_all.sh Nguyen Anh Quynh 2015-08-29 00:02:52 +08:00
  • 110dc9c248 regress: fix nr_mem_test.c Nguyen Anh Quynh 2015-08-28 22:56:25 +08:00
  • 40ba1ea1b0 improve const generator; emit unicorn.h consts Ryan Hileman 2015-08-28 07:31:38 -07:00
  • c7c5226142 regress: code style Nguyen Anh Quynh 2015-08-28 22:23:44 +08:00
  • 07286c811d regress: add nr_mem_test.c to Makefile Nguyen Anh Quynh 2015-08-28 22:23:26 +08:00
  • cb2da12e94 Merge branch 'mem_map_ex' of https://github.com/cseagle/unicorn into mem_map_ex Nguyen Anh Quynh 2015-08-28 22:20:43 +08:00
  • b57d120a72 indentation Nguyen Anh Quynh 2015-08-28 22:20:14 +08:00
  • 6e75340363 regress: fix Makefile & ro_mem_test.c Nguyen Anh Quynh 2015-08-28 18:55:58 +08:00
  • c8d64cfdb0 Add regress check to handle non-readable memory Chris Eagle 2015-08-28 03:52:51 -07:00
  • b69180ad5a Merge branch 'mem_map_ex' of https://github.com/cseagle/unicorn into cseagle-mem_map_ex Nguyen Anh Quynh 2015-08-28 18:47:18 +08:00
  • 3452b47f7c Add code to handle non-readable memory Chris Eagle 2015-08-28 03:42:25 -07:00
  • b0ba598981 update .gitignore Nguyen Anh Quynh 2015-08-28 18:27:55 +08:00
  • d957d1efee regress: fix code style Nguyen Anh Quynh 2015-08-28 18:21:36 +08:00
  • 933ef379b4 restricted fpip updates to only non-control instructions mothran 2015-08-28 03:19:10 -07:00
  • 5de0d5ca70 regress: fix an warning in map_write.c Nguyen Anh Quynh 2015-08-28 18:15:38 +08:00
  • 3b5df362d7 chmod -x <some source code> Nguyen Anh Quynh 2015-08-28 18:12:56 +08:00
  • 96a274c4aa Merge branch 'mem_map_ex' of https://github.com/cseagle/unicorn into cseagle-mem_map_ex Nguyen Anh Quynh 2015-08-28 18:11:10 +08:00
  • aa509cc00f delete redundant function Chris Eagle 2015-08-28 02:20:56 -07:00
  • adc254cc74 Roll back uc_mem_protect changes Chris Eagle 2015-08-28 01:37:49 -07:00
  • 4a1c5ff071 x86: verify until address early when translating block in frontend. this should fix issue #63 Nguyen Anh Quynh 2015-08-28 16:06:06 +08:00
  • 71ddad9474 Doc cleanup Chris Eagle 2015-08-28 00:30:50 -07:00
  • 4f11d88d28 Makefile cleanup Chris Eagle 2015-08-28 00:17:33 -07:00
  • b31bb9638c cleanup for pull request Chris Eagle 2015-08-28 00:00:09 -07:00
  • a4b87ed840 Merge branch 'master' into mem_map_ex Chris Eagle 2015-08-27 23:33:02 -07:00
  • ef1d70a514 Merge remote-tracking branch 'upstream/master' Chris Eagle 2015-08-27 23:32:07 -07:00
  • 9530b2daff Remove MemoryBlock struct by consolidating in MemoryRegion. add new API uc_mem_protect. Add regress/mem_protect.c. Drop UC_PROT_EXEC for time being Chris Eagle 2015-08-27 23:19:32 -07:00
  • 59b09a71bf first shot at getting FPIP working, need to remove all FP control instructions from being updated mothran 2015-08-27 21:54:23 -07:00
  • adec227dad Merge pull request #64 from lunixbochs/go-bindings Nguyen Anh Quynh 2015-08-28 12:22:46 +08:00
  • c5bcb02847 add Go bindings Ryan Hileman 2015-08-27 21:13:50 -07:00
  • bf32753c29 Merge branch 'master' into mem_map_ex Chris Eagle 2015-08-27 19:17:06 -07:00
  • 527f4e7ff4 Merge remote-tracking branch 'upstream/master' Chris Eagle 2015-08-27 19:16:15 -07:00
  • 140e9f9ae2 fix perms on files Chris Eagle 2015-08-27 18:04:05 -07:00
  • 686acb7e6e Detect all occurences of write to read only page. Add callback capability on write to read only. Add new error type UC_ERR_MEM_WRITE_RO and new access type UC_MEM_WRITE_RO for use in callback Chris Eagle 2015-08-27 18:03:17 -07:00
  • b335cf016c do not generate basic-block callback when translation is broken in the middle due to full cache (all the remaining archs) Nguyen Anh Quynh 2015-08-27 21:09:00 +08:00
  • f357f4de21 Improve status reporting in regress/ro_mem_test.c Chris Eagle 2015-08-26 23:35:23 -07:00
  • 980ec8b087 Demonstrate continued correct behavior on invalid memory access Chris Eagle 2015-08-26 23:21:41 -07:00
  • 5264fc7026 Merge branch 'master' into mem_map_ex Chris Eagle 2015-08-26 21:54:00 -07:00
  • d31b580055 Merge remote-tracking branch 'upstream/master' Chris Eagle 2015-08-26 21:51:36 -07:00
  • a5cc88d00d Eliminate clang warnings in ro_mem_test.c Chris Eagle 2015-08-26 21:47:15 -07:00
  • 9442b46601 regress/Makefile conflict resolution Chris Eagle 2015-08-26 21:38:24 -07:00
  • dec793e984 setup stack pointer in ro_mem_test Chris Eagle 2015-08-26 21:28:36 -07:00
  • 33821727b3 Merge branch 'java_dev' Chris Eagle 2015-08-26 20:00:28 -07:00
  • 2fcc8528ae chmod -x SampleNetworkAuditing.java Nguyen Anh Quynh 2015-08-27 10:47:49 +08:00
  • 3d650fec92 Merge pull request #62 from cseagle/java_dev Nguyen Anh Quynh 2015-08-27 10:46:26 +08:00
  • 5ff5577aaa Port sample_network_auditing.py to java Chris Eagle 2015-08-26 19:41:37 -07:00
  • 2a6f1f471f Merge pull request #61 from radare/write-crash Nguyen Anh Quynh 2015-08-27 09:54:34 +08:00
  • efe0f5d854 Add test case for #58 pancake 2015-08-27 00:19:12 +02:00
  • 4b529bc56c Free up all MemoryRegion* when uc is closed Chris Eagle 2015-08-26 14:09:46 -07:00
  • 00944b6cde Add ability to mark memory are read only. Add new API uc_mem_map_ex to allow permissions to be passed. Change MemoryBlock to track created MemoryRegions. Add regress/ro_mem_test.c Chris Eagle 2015-08-26 13:29:54 -07:00
  • 8aedc1b5d5 Merge pull request #53 from tacoxnguyen/master Nguyen Anh Quynh 2015-08-27 00:06:14 +08:00
  • f44d730f8d Merge pull request #55 from cseagle/invalid_mem_check Nguyen Anh Quynh 2015-08-27 00:04:36 +08:00
  • b39f5d2a91 When checking for invalid memory always do the faster check of whether we are hooking env->uc->hook_mem_idx before doing the expensive check of scanning the memory map Chris Eagle 2015-08-26 08:55:19 -07:00
  • edc1c037b0 Merge remote-tracking branch 'upstream/master' Chris Eagle 2015-08-26 08:47:26 -07:00
  • 0ab4284719 Merge pull request #54 from radare/ascii-logo Nguyen Anh Quynh 2015-08-26 23:44:22 +08:00
  • 812aa7549b Add hand-made ascii-art logo pancake 2015-08-26 17:41:56 +02:00
  • b6dd516977 fix a bug on releasing mapped_blocks in uc_close() Nguyen Anh Quynh 2015-08-26 23:41:30 +08:00
  • 9e929ca2f3 Merge branch 'master' of https://github.com/cseagle/unicorn into cseagle-master Nguyen Anh Quynh 2015-08-26 23:37:41 +08:00
  • 095cdb5f9d Merge remote-tracking branch 'upstream/master' Chris Eagle 2015-08-26 08:25:37 -07:00
  • 5d8d251085 Free uc->mapped_blocks in uc_close Chris Eagle 2015-08-26 08:23:36 -07:00
  • 4d7b7c1d5e make sample_network_auditing.py runnable Kong Nguyen 2015-08-26 22:40:41 +08:00
  • e74bc0db88 regress: update C programs to use new API Jonathon Reinhart 2015-08-26 09:29:28 -04:00
  • db563bfcdb samples: update sample_m68k to use new API Jonathon Reinhart 2015-08-26 08:38:50 -04:00
  • 0202a57d32 samples: update shellcode.c to use new API Jonathon Reinhart 2015-08-26 08:37:45 -04:00
  • 4c9e78d2f9 samples: update sample_x86 to use new API Jonathon Reinhart 2015-08-26 08:35:03 -04:00
  • fa11e9dddb samples: update sample_sparc to use new API Jonathon Reinhart 2015-08-26 08:31:53 -04:00
  • 0d69d81c2e samples: update sample_arm64 to use new API Jonathon Reinhart 2015-08-26 08:30:49 -04:00
  • 7406367a34 samples: update sample_arm to use new API Jonathon Reinhart 2015-08-26 08:28:04 -04:00
  • 7ac92ac50a samples: update sample_mips to use new API Jonathon Reinhart 2015-08-26 08:24:17 -04:00
  • 20bdbf638d change uc_hook_del() to take hook handle by value Jonathon Reinhart 2015-08-26 07:36:20 -04:00
  • ad59de2b51 remove UC_ERR_UCH Jonathon Reinhart 2015-08-26 07:35:42 -04:00
  • 24caaa07de change uch to uc_hook_h for hook handles Jonathon Reinhart 2015-08-26 07:32:05 -04:00
  • 8918deb1b2 change uch to uc_struct (target-m68k) Jonathon Reinhart 2015-08-26 07:11:49 -04:00
  • fcb099805f change uch to uc_struct (qemu) Jonathon Reinhart 2015-08-26 07:08:24 -04:00
  • b57662e43d change uch to uc_struct (target-i386) Jonathon Reinhart 2015-08-26 07:06:12 -04:00
  • e7a8eb8976 change uch to uc_struct (target-sparc) Jonathon Reinhart 2015-08-26 06:59:01 -04:00
  • 15a774ac90 change uch to uc_struct (target-mips) Jonathon Reinhart 2015-08-26 06:34:47 -04:00
  • 622d5cd5f9 change uch to uc_struct (target-arm) Jonathon Reinhart 2015-08-26 06:30:58 -04:00
  • 6c4726c88e change uch to uc_struct (ioport.c) Jonathon Reinhart 2015-08-26 06:19:28 -04:00
  • b9f7850efb change uch to uc_struct (hook) Jonathon Reinhart 2015-08-26 06:11:39 -04:00
  • 5f89f9884e change uch to uc_struct (uc.c) Jonathon Reinhart 2015-08-26 06:39:51 -04:00
  • 4ea3a3ebbf change uch to uc_struct (header files) Jonathon Reinhart 2015-08-26 08:00:00 -04:00
  • b9c0aee009 Merge pull request #50 from JonathonReinhart/fix-sources-mode Nguyen Anh Quynh 2015-08-26 17:42:39 +08:00
  • 60d0004329 remove executable bit from mode of source files Jonathon Reinhart 2015-08-26 05:34:31 -04:00
  • 2eab89105b Merge branch 'master' of https://github.com/unicorn-engine/unicorn danghvu 2015-08-26 16:20:47 +07:00
  • 1161401c35 Makefile: make install also compiles samples danghvu 2015-08-26 16:20:29 +07:00
  • 12b2b0b6a0 Merge branch 'master' of https://github.com/unicorn-engine/unicorn Nguyen Anh Quynh 2015-08-26 17:20:24 +08:00
  • 192f07c503 reset invalid_error after callbacks decide to continue after invalid memory accesses Nguyen Anh Quynh 2015-08-26 16:15:38 +08:00
  • 9023e77201 Fixed bug introduced in uc_mem_map Chris Eagle 2015-08-26 00:26:42 -07:00
  • e11c0629f9 Change allocation strategy for memory block tracking and track begin/end rather than begin/size Chris Eagle 2015-08-25 23:08:18 -07:00
  • cb8e05eb16 Merge remote-tracking branch 'upstream/master' Chris Eagle 2015-08-25 21:54:31 -07:00
  • 03e8b28d71 First cut at cleaning up uc_mem_map, eliminate map_begin and map_end, move tracking inside uc struct Chris Eagle 2015-08-25 21:52:18 -07:00