Commit graph

271 commits

Author SHA1 Message Date
Chris Eagle
ad877e6af0 Add error value UC_ERR_INVAL and rename UC_ERR_OOM to UC_ERR_NOMEM to provide more error specificity 2015-09-01 13:40:19 -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
Nguyen Anh Quynh
90fc201f8d x86: enable bunch of instructions via CPUID. this fixes issue #91 2015-09-02 00:16:45 +08:00
Nguyen Anh Quynh
4f7b91d0b7 minor fix for instructions in COMPILE.TXT 2015-09-01 23:34:06 +08:00
Nguyen Anh Quynh
0e13ab6c3f compile regress/rep_movsb.c 2015-09-01 20:05:33 +08:00
Nguyen Anh Quynh
9962a0bd0d Merge pull request #94 from cseagle/regress
regression for issue #93
2015-09-01 18:02:01 +08:00
Chris Eagle
95059407ee add regression for callbacks generated during movsb 2015-08-31 23:52:22 -07:00
Chris Eagle
73027026ce Merge branch 'master' into mem_map_ex_cse 2015-08-31 23:49:54 -07:00
Nguyen Anh Quynh
9dbd674a04 Merge pull request #92 from lunixbochs/master
add regression test for #91
2015-09-01 14:35:28 +08:00
Ryan Hileman
d3cf1faf80 add regression test for #91 2015-08-31 22:55:38 -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
Nguyen Anh Quynh
12019dba40 update .gitignore 2015-08-31 23:38:48 +08:00
Nguyen Anh Quynh
36f5333490 chmod +x regress/fpu_ip64.py 2015-08-31 23:38:22 +08:00
Nguyen Anh Quynh
0d78bb8d51 Merge pull request #74 from mothran/fpip_update
Added FPU IP support to unicorn
2015-08-31 22:08:41 +08:00
Nguyen Anh Quynh
43d4dd4b56 Merge pull request #89 from radare/ascii-logo-updated
Some polishment in the ascii art logo
2015-08-31 20:15:59 +08:00
pancake
046f29442b Some polishment on the ascii art logo 2015-08-31 11:08:02 +02: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
24dde77ec2 fix uc_mem_type comments 2015-08-30 20:38:38 -07:00
Chris Eagle
de7ac7fc48 Merge branch 'master' into mem_map_ex_cse 2015-08-30 19:52:18 -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
Nguyen Anh Quynh
342fcef4ff update CREDITS 2015-08-31 09:48:19 +08:00
Nguyen Anh Quynh
543f2f9254 Merge pull request #86 from cherepanov74/master
Fixed the list of required DLLs on Win32
2015-08-31 09:04:54 +08: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
Nguyen Anh Quynh
42044d6777 Merge pull request #87 from lunixbochs/master
Go binding improvements
2015-08-31 09:03:17 +08:00
Ryan Hileman
ac1fc4d631 add missing interrupt hook for Go bindings 2015-08-30 15:53:06 -07:00
Ryan Hileman
f83ddf5ad4 clean up Go binding hook types 2015-08-30 15:52:50 -07:00
Chris Eagle
05b645abd5 fix perms 2015-08-30 14:01:46 -07:00
Chris Eagle
394461b941 section splitting complete for uc_mem_protect 2015-08-30 14:01:07 -07:00
cherepanov74
c2b0e6827a Fixed the list of required DLLs on Win32 2015-08-30 20:55:25 +02:00
mothran
2febbb6021 Merge branch 'master' of github.com:unicorn-engine/unicorn into fpip_update 2015-08-30 11:13:23 -07:00
Nguyen Anh Quynh
73cf6e700e Merge pull request #85 from SeanHeelan/master
Regression test for issue #82 (Hang on jmp EBX with a non-zero EBX pointing to umapped memory)
2015-08-30 23:53:51 +08:00
Sean Heelan
4b05e736a1 Use asserts instead of print statements on the correct paths to avoid confusing
people as to what the success indicator is here.
2015-08-30 22:50:47 +07:00
Sean Heelan
1b6469e60f Regression test for issue #82 (emulator hang on jmp REG) 2015-08-30 22:42:48 +07:00
Nguyen Anh Quynh
45cce49751 Merge pull request #84 from cherepanov74/master
Added MingW instruction & converted some tabs to spaces
2015-08-30 23:16:34 +08:00
cherepanov74
cf0a3d75a8 Added MingW instruction & converted some tabs to spaces 2015-08-30 16:34:23 +02: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
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
Nguyen Anh Quynh
b4d7347fa8 wait for the timer thread to finish at the end of uc_emu_start(). this may fix the issue #78 2015-08-30 05:12:04 +08:00
Nguyen Anh Quynh
9b84beaf25 Merge pull request #79 from gaffe23/master
add sample regression code for issue #78
2015-08-30 03:54:47 +08:00
gaffe
e788657a16 also update Makefile to build timeout_segfault.c 2015-08-29 12:51:35 -07:00