Commit graph

425 commits

Author SHA1 Message Date
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
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
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
gaffe be98e28132 add sample regression code for issue #78 2015-08-29 12:44:29 -07:00
Nguyen Anh Quynh 7481f0f0c6 Merge pull request #77 from lunixbochs/master
fix invalid memory hook in Go bindings
2015-08-30 02:41:40 +08:00
Ryan Hileman cb09df3027 fix invalid memory hook in Go bindings 2015-08-29 09:42:36 -07:00
Nguyen Anh Quynh 5840f186fd Merge pull request #75 from cherepanov74/master
Fixing compile on windows with mingw
2015-08-30 00:27:20 +08:00
Nguyen Anh Quynh cf5957991d Merge pull request #76 from lunixbochs/master
improve Go binding safety
2015-08-30 00:24:28 +08:00
Ryan Hileman e2036424c1 improve Go binding safety 2015-08-29 08:33:20 -07:00
cherepanov74 7ec29e7bc4 Fixing compile on windows with mingw
It does not break cross-compiling on Linux
2015-08-29 17:04:48 +02: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 160033c36c Merge branch 'master' into mem_map_ex_cse 2015-08-29 00:23:21 -07:00
Nguyen Anh Quynh 15f6da1c3a bindings: update UC_MODE_BIG_ENDIAN after the change in the core 2015-08-29 15:10:33 +08:00
Nguyen Anh Quynh 6d8e5b32f4 Merge pull request #72 from cseagle/java_dev
Java dev
2015-08-29 15:09:16 +08:00
Nguyen Anh Quynh 9ac6645924 Merge pull request #73 from lunixbochs/master
update Go bindings for new mem_map API
2015-08-29 15:05:25 +08:00
Chris Eagle 592cbc6eaf conflict resolution with merge master 2015-08-28 23:51:56 -07:00
mothran 5d6a478d11 added expect output to fpu_ip.py 2015-08-28 23:46:15 -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 27d5c7ec48 Fix perms 2015-08-28 23:33:49 -07:00
Chris Eagle c24944cfa9 Fix capitalization for unicorn.h mapping in java and go binding 2015-08-28 23:33:38 -07:00