Commit Graph

859 Commits

Author SHA1 Message Date
Chris Eagle
1a081c5ed8 Initial changes to support use of const_generator.py 2015-08-28 19:41:13 -07:00
Nguyen Anh Quynh
6d71b970d3 fix a constant in regress/ro_mem_test.c 2015-08-29 10:33:00 +08:00
Nguyen Anh Quynh
810054ca6d uc_mem_read() & uc_mem_write() now can work on adjacent memory areas. this fixes issue #38 2015-08-29 10:23:53 +08:00
Chris Eagle
eab6167241 Merge branch 'master' into mem_map_ex_cse 2015-08-28 19:00:39 -07:00
Chris Eagle
9ba59e4988 Step one towards uc_mem_protect, uc_mem_unmap, and support for UC_PROT_EXEC and NX regions 2015-08-28 18:59:45 -07:00
Chris Eagle
3f8370b4f8 Merge remote-tracking branch 'upstream/master' 2015-08-28 18:50:46 -07:00
Nguyen Anh Quynh
ff46b91a80 chmod -x some more 2015-08-29 09:30:31 +08:00
Nguyen Anh Quynh
4697d99d79 update .gitignore 2015-08-29 09:29:16 +08:00
Nguyen Anh Quynh
6bd5e2efa7 chmod -x qemu/softmmu_template.h 2015-08-29 09:28:32 +08:00
Nguyen Anh Quynh
c0c24db4c6 chmod -x uc.c 2015-08-29 09:27:24 +08:00
Nguyen Anh Quynh
0db7d9ea4e reset emulation_done in uc_emu_start() 2015-08-29 09:22:53 +08:00
Nguyen Anh Quynh
ab27c6aa04 return immediately if emulation is already done. this fixes issue #65 2015-08-29 09:10:18 +08:00
Nguyen Anh Quynh
8aba3170c6 bindings: update consts after the latest change in the core 2015-08-29 09:03:12 +08:00
Nguyen Anh Quynh
dab01c1329 Merge branch 'lunixbochs-const-gen' 2015-08-29 09:02:25 +08:00
Nguyen Anh Quynh
3de12d37f8 regress: add shebang for emu_stop_segfault.py 2015-08-29 08:52:07 +08:00
Nguyen Anh Quynh
acf5edf333 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2015-08-29 08:48:28 +08:00
Nguyen Anh Quynh
220faed3e8 Merge branch 'cseagle-mem_map_ex' 2015-08-29 08:47:46 +08:00
Nguyen Anh Quynh
07b9cd15b1 Merge pull request #67 from SeanHeelan/master
Added a regression script for issue #65
2015-08-29 08:46:50 +08:00
Chris Eagle
7f63d76908 add comments to source for ro_mem_test.c 2015-08-28 12:58:53 -07:00
mothran
feb8ced027 fixed the FPIP updates to correctly only work with non-control instructions and make sure the pc addr is correct 2015-08-28 10:39:11 -07:00
Sean Heelan
340acf9176 Added a regression script for issue #65 2015-08-29 00:31:27 +07:00
Nguyen Anh Quynh
10464408a5 Merge branch 'const-gen' of https://github.com/lunixbochs/unicorn into lunixbochs-const-gen 2015-08-29 00:42:38 +08:00
Nguyen Anh Quynh
3f771abe73 python: add sample_all.sh 2015-08-29 00:26:34 +08:00
Nguyen Anh Quynh
d3de7aa567 samples: add sample code for hooking SYSCALL instruction in sample_x86.c 2015-08-29 00:22:11 +08:00
Nguyen Anh Quynh
162728c1b1 samples: add shellcode to sample_all.sh 2015-08-29 00:02:52 +08:00
Nguyen Anh Quynh
110dc9c248 regress: fix nr_mem_test.c 2015-08-28 22:56:25 +08:00
Ryan Hileman
40ba1ea1b0 improve const generator; emit unicorn.h consts 2015-08-28 07:32:25 -07:00
Nguyen Anh Quynh
c7c5226142 regress: code style 2015-08-28 22:23:44 +08:00
Nguyen Anh Quynh
07286c811d regress: add nr_mem_test.c to Makefile 2015-08-28 22:23:26 +08:00
Nguyen Anh Quynh
cb2da12e94 Merge branch 'mem_map_ex' of https://github.com/cseagle/unicorn into mem_map_ex 2015-08-28 22:20:43 +08:00
Nguyen Anh Quynh
b57d120a72 indentation 2015-08-28 22:20:14 +08:00
Nguyen Anh Quynh
6e75340363 regress: fix Makefile & ro_mem_test.c 2015-08-28 18:55:58 +08:00
Chris Eagle
c8d64cfdb0 Add regress check to handle non-readable memory 2015-08-28 03:52:51 -07:00
Nguyen Anh Quynh
b69180ad5a Merge branch 'mem_map_ex' of https://github.com/cseagle/unicorn into cseagle-mem_map_ex 2015-08-28 18:47:18 +08:00
Chris Eagle
3452b47f7c Add code to handle non-readable memory 2015-08-28 03:42:25 -07:00
Nguyen Anh Quynh
b0ba598981 update .gitignore 2015-08-28 18:27:55 +08:00
Nguyen Anh Quynh
d957d1efee regress: fix code style 2015-08-28 18:21:36 +08:00
mothran
933ef379b4 restricted fpip updates to only non-control instructions 2015-08-28 03:19:10 -07:00
Nguyen Anh Quynh
5de0d5ca70 regress: fix an warning in map_write.c 2015-08-28 18:15:38 +08:00
Nguyen Anh Quynh
3b5df362d7 chmod -x <some source code> 2015-08-28 18:12:56 +08:00
Nguyen Anh Quynh
96a274c4aa Merge branch 'mem_map_ex' of https://github.com/cseagle/unicorn into cseagle-mem_map_ex 2015-08-28 18:11:10 +08:00
Chris Eagle
aa509cc00f delete redundant function 2015-08-28 02:20:56 -07:00
Chris Eagle
adc254cc74 Roll back uc_mem_protect changes 2015-08-28 01:37:49 -07:00
Nguyen Anh Quynh
4a1c5ff071 x86: verify until address early when translating block in frontend. this should fix issue #63 2015-08-28 16:06:06 +08:00
Chris Eagle
71ddad9474 Doc cleanup 2015-08-28 00:30:50 -07:00
Chris Eagle
4f11d88d28 Makefile cleanup 2015-08-28 00:17:33 -07:00
Chris Eagle
b31bb9638c cleanup for pull request 2015-08-28 00:00:09 -07:00
Chris Eagle
a4b87ed840 Merge branch 'master' into mem_map_ex 2015-08-27 23:33:02 -07:00
Chris Eagle
ef1d70a514 Merge remote-tracking branch 'upstream/master' 2015-08-27 23:32:07 -07:00
Chris Eagle
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 2015-08-27 23:19:32 -07:00