Nguyen Anh Quynh
|
022f8d82d1
|
handle memory fetch as invalid memory access. now we can also report error if exec memory is unmapped (UC_ERR_MEM_FETCH)
|
2015-09-04 11:55:17 +08:00 |
Nguyen Anh Quynh
|
84e3b5c897
|
cast all the values to write to registers in uc_reg_write() to unsigned type. this fixes issue #98
|
2015-09-04 11:17:08 +08:00 |
Jonathon Reinhart
|
da46071c7d
|
bring new code and samples up-to-date with API changes
|
2015-09-03 22:15:49 -04:00 |
Jonathon Reinhart
|
5e9d07a40a
|
Merge remote-tracking branch 'upstream/master' into change-handle-based-api
|
2015-09-03 22:01:52 -04:00 |
Chris Eagle
|
2da46caef7
|
smooth out split_region related code
|
2015-09-03 12:26:36 -07:00 |
Nguyen Anh Quynh
|
6ca85a72ed
|
simplify uc_mem_protect() & uc_mem_unmap()
|
2015-09-04 01:02:38 +08:00 |
Nguyen Anh Quynh
|
9f9d57e84f
|
cleaning & indentation
|
2015-09-03 18:16:49 +08:00 |
Nguyen Anh Quynh
|
b8d4240240
|
solve merging conflict
|
2015-09-03 18:05:21 +08:00 |
Jonathon Reinhart
|
bd0a6921cc
|
Merge remote-tracking branch 'upstream/master' into change-handle-based-api
|
2015-09-02 21:04:43 -04:00 |
Nguyen Anh Quynh
|
be659d201d
|
fix confusion betweet UC_MEM_xxx & UC_HOOK_MEM_xxx. fix issue #93
|
2015-09-03 01:13:57 +08:00 |
Nguyen Anh Quynh
|
2d9db36a2b
|
fix some errors introduced by the last commit on qemu-thread-win32.c
|
2015-09-02 01:34:23 -07:00 |
Nguyen Anh Quynh
|
8b39ec5b0c
|
initial support to remove a static variable in qemu-thread-win32.c
|
2015-09-02 16:13:12 +08:00 |
Nguyen Anh Quynh
|
a94e31165d
|
x86: fix issue #95
|
2015-09-02 12:00:43 +08:00 |
Ryan Hileman
|
db8f499fe9
|
fix crash on some SSE instructions
|
2015-09-01 19:12:51 -07:00 |
Chris Eagle
|
49d1fa7ebd
|
Merge branch 'master' into mem_map_ex_cse
|
2015-09-01 12:13:53 -07:00 |
Chris Eagle
|
2c4f3769d4
|
clean up mem_protect related constants and error codes
|
2015-09-01 12:10:09 -07:00 |
Jonathon Reinhart
|
2c802a3e4b
|
Merge remote-tracking branch 'upstream/master' into change-handle-based-api
# Conflicts:
# qemu/target-i386/unicorn.c
|
2015-09-01 13:17:03 -04:00 |
Nguyen Anh Quynh
|
90fc201f8d
|
x86: enable bunch of instructions via CPUID. this fixes issue #91
|
2015-09-02 00:16:45 +08:00 |
Chris Eagle
|
73027026ce
|
Merge branch 'master' into mem_map_ex_cse
|
2015-08-31 23:49:54 -07:00 |
Chris Eagle
|
658e399776
|
clean up mem_protect related constants
|
2015-08-31 19:08:48 -07:00 |
Nguyen Anh Quynh
|
bea73ef213
|
stop emulation when hitting invalid code address. this fixes issue #82
|
2015-09-01 00:17:55 +08:00 |
Chris Eagle
|
b27e987932
|
Add target_page_size member to uc_struct to track TARGET_PAGE_SIZE
|
2015-08-31 01:00:44 -07:00 |
Chris Eagle
|
410e317e92
|
dont use explicit page size, use TARGET_PAGE_SIZE
|
2015-08-30 21:24:14 -07:00 |
Chris Eagle
|
9e4e96ff47
|
final updates for uc_mem_unmap, uc_mem_protect, and support ro UC_PROT_EXEC permission
|
2015-08-30 19:50:18 -07:00 |
mothran
|
6aa2b73bea
|
removed ifdef for x64 in fpu saving
|
2015-08-30 19:39:46 -07:00 |
mothran
|
e1ab761e8a
|
fixed typo
|
2015-08-30 19:32:39 -07:00 |
mothran
|
2b6f806759
|
removed testing printf
|
2015-08-30 19:22:41 -07:00 |
mothran
|
4cd5fa3811
|
fpip x64 fxsave working with using hflags to check CPU mode
|
2015-08-30 18:56:55 -07:00 |
mothran
|
912faf2c3c
|
after closer review, in x64 the the op size is 32 so data32 is set, can removed the unicorn dependency and regress/fpu_ip64.py still works
|
2015-08-30 18:04:28 -07:00 |
mothran
|
2febbb6021
|
Merge branch 'master' of github.com:unicorn-engine/unicorn into fpip_update
|
2015-08-30 11:13:23 -07:00 |
Chris Eagle
|
0a60fa4c8a
|
fix perms
|
2015-08-30 00:22:49 -07:00 |
Chris Eagle
|
942de0f2ae
|
implemented basic block splitting, uc_mem_unmap should work for sub=blocks or across contiguous blocks
|
2015-08-30 00:22:18 -07:00 |
Jonathon Reinhart
|
3bd705a060
|
Merge remote-tracking branch 'upstream/master' into change-handle-based-api
|
2015-08-30 00:23:51 -04:00 |
Chris Eagle
|
4a680b9277
|
Merge branch 'master' into mem_map_ex_cse
|
2015-08-29 21:22:33 -07:00 |
Chris Eagle
|
6beb1b8a13
|
intermediate commit, working unmap of complete blocks, still need sub-blocks, and cross block
|
2015-08-29 21:17:30 -07:00 |
Nguyen Anh Quynh
|
c23d387e2f
|
remove redundant uc_struct.ram
|
2015-08-30 10:51:28 +08:00 |
mothran
|
b7d60313b5
|
added 64 bit mode to the fstenv helper function, also a fpu_ip64.py regress script
|
2015-08-29 01:56:36 -07:00 |
Chris Eagle
|
592cbc6eaf
|
conflict resolution with merge master
|
2015-08-28 23:51:56 -07:00 |
mothran
|
79184ff23d
|
Merge branch 'master' of github.com:unicorn-engine/unicorn into fpip_update
|
2015-08-28 23:40:25 -07:00 |
Chris Eagle
|
986096d443
|
fix file perms
|
2015-08-28 21:05:38 -07:00 |
Chris Eagle
|
94ac0f02e6
|
file permissions changes
|
2015-08-28 20:03:36 -07: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 |
Nguyen Anh Quynh
|
6bd5e2efa7
|
chmod -x qemu/softmmu_template.h
|
2015-08-29 09:28:32 +08: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 |
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 |
mothran
|
933ef379b4
|
restricted fpip updates to only non-control instructions
|
2015-08-28 03:19:10 -07: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 |