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 |
|
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
|
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 |
|
mothran
|
59b09a71bf
|
first shot at getting FPIP working, need to remove all FP control instructions from being updated
|
2015-08-27 21:54:23 -07:00 |
|
Chris Eagle
|
bf32753c29
|
Merge branch 'master' into mem_map_ex
|
2015-08-27 19:17:06 -07:00 |
|
Chris Eagle
|
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
|
2015-08-27 18:03:17 -07:00 |
|
Nguyen Anh Quynh
|
b335cf016c
|
do not generate basic-block callback when translation is broken in the middle due to full cache (all the remaining archs)
|
2015-08-27 21:09:00 +08:00 |
|
Chris Eagle
|
4b529bc56c
|
Free up all MemoryRegion* when uc is closed
|
2015-08-26 14:09:46 -07:00 |
|
Chris Eagle
|
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
|
2015-08-26 13:29:54 -07:00 |
|
Chris Eagle
|
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
|
2015-08-26 08:55:19 -07:00 |
|
Chris Eagle
|
095cdb5f9d
|
Merge remote-tracking branch 'upstream/master'
|
2015-08-26 08:25:37 -07:00 |
|
Jonathon Reinhart
|
8918deb1b2
|
change uch to uc_struct (target-m68k)
|
2015-08-26 09:02:16 -04:00 |
|
Jonathon Reinhart
|
fcb099805f
|
change uch to uc_struct (qemu)
|
2015-08-26 09:02:16 -04:00 |
|
Jonathon Reinhart
|
b57662e43d
|
change uch to uc_struct (target-i386)
|
2015-08-26 09:02:16 -04:00 |
|
Jonathon Reinhart
|
e7a8eb8976
|
change uch to uc_struct (target-sparc)
|
2015-08-26 09:02:16 -04:00 |
|
Jonathon Reinhart
|
15a774ac90
|
change uch to uc_struct (target-mips)
|
2015-08-26 09:02:16 -04:00 |
|
Jonathon Reinhart
|
622d5cd5f9
|
change uch to uc_struct (target-arm)
|
2015-08-26 09:02:16 -04:00 |
|
Jonathon Reinhart
|
6c4726c88e
|
change uch to uc_struct (ioport.c)
|
2015-08-26 09:02:16 -04:00 |
|
Nguyen Anh Quynh
|
192f07c503
|
reset invalid_error after callbacks decide to continue after invalid memory accesses
|
2015-08-26 16:15:38 +08:00 |
|
Chris Eagle
|
03e8b28d71
|
First cut at cleaning up uc_mem_map, eliminate map_begin and map_end, move tracking inside uc struct
|
2015-08-25 21:52:18 -07:00 |
|
Nguyen Anh Quynh
|
cc5d28e112
|
mips: fix issue #39
|
2015-08-26 09:39:09 +08:00 |
|
Nguyen Anh Quynh
|
2fac7fc2e4
|
x86: better support for 16bit mode
|
2015-08-26 00:39:46 +08:00 |
|
Nguyen Anh Quynh
|
39d3856871
|
when block size is unknown because the translation cache is full, assign it value 0
|
2015-08-25 16:10:05 +08:00 |
|
Nguyen Anh Quynh
|
c3e95ec34e
|
x86: do not generate basic-block callback when translation is broken in the middle due to full cache
|
2015-08-25 14:50:55 +08:00 |
|
Jonathon Reinhart
|
9163bba812
|
restore mode of .[ch] files
These were marked as executable in 5c3b6819 , likely due to a Windows
filesystem being involved. This can be avoided:
http://stackoverflow.com/q/1580596/119527
|
2015-08-24 21:19:12 -04:00 |
|
Chris Eagle
|
5c3b681945
|
Add const to uc_reg_write and derivitives
|
2015-08-24 09:42:50 -07:00 |
|
Nguyen Anh Quynh
|
9d9c0d1a25
|
uc_emu_start() report error on illegal instruction at the output
|
2015-08-25 00:02:31 +08:00 |
|
pancake
|
c5d99777f4
|
Use const in uc_mem_write and derivates
|
2015-08-24 17:02:14 +02:00 |
|
mothran
|
2516de7ed8
|
renamed m68k enum constants
|
2015-08-23 21:56:24 -07:00 |
|
mothran
|
a167f7c456
|
renames the register constants so unicorn and capstone can compile together
|
2015-08-23 21:36:33 -07:00 |
|
Nguyen Anh Quynh
|
7ca9a07e1b
|
x86: enable SSE. this fixes issue #3
|
2015-08-23 10:41:14 +08:00 |
|
Nguyen Anh Quynh
|
4701fb80b4
|
code style: convert tabs to spaces
|
2015-08-23 09:06:31 +08:00 |
|
Nguyen Anh Quynh
|
e1baf2f36b
|
x86: support hooking SYSCALL/SYSENTER instructions. we no longer share the SYSCALL callback with interrupt instructions
|
2015-08-23 01:19:40 +08:00 |
|
Ryan Hileman
|
0ac3cf99d4
|
call int80 callback from x86_64 syscall helper
|
2015-08-21 16:26:02 -07:00 |
|
Nguyen Anh Quynh
|
344d016104
|
import
|
2015-08-21 15:04:50 +08:00 |
|