Commit graph

2853 commits

Author SHA1 Message Date
Jonathon Reinhart 60d0004329 remove executable bit from mode of source files
http://stackoverflow.com/questions/1580596/how-do-i-make-git-ignore-file-mode-chmod-changes
2015-08-26 05:34:31 -04:00
danghvu 2eab89105b Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2015-08-26 16:20:47 +07:00
danghvu 1161401c35 Makefile: make install also compiles samples 2015-08-26 16:20:29 +07:00
Nguyen Anh Quynh 12b2b0b6a0 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2015-08-26 17:20:24 +08: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 9023e77201 Fixed bug introduced in uc_mem_map 2015-08-26 00:26:42 -07:00
Chris Eagle e11c0629f9 Change allocation strategy for memory block tracking and track begin/end rather than begin/size 2015-08-25 23:08:18 -07:00
Chris Eagle cb8e05eb16 Merge remote-tracking branch 'upstream/master' 2015-08-25 21:54:31 -07: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 284890f3b9 Merge pull request #46 from cseagle/master
Merge 16-bit x86 example from upstream into java binding samples
2015-08-26 12:33:27 +08:00
Chris Eagle c1514609b1 Add missing line from upstream patch 2015-08-25 21:22:58 -07:00
Chris Eagle e280088caf Add 16-bit example, tracking upstream 2015-08-25 21:01:48 -07:00
Chris Eagle 065fd60d4c Merge remote-tracking branch 'upstream/master' 2015-08-25 20:51:54 -07:00
Nguyen Anh Quynh 70cdbf8c69 uc_mem_map(): enforce address & size to be aligned to 4KB. this fixes bunch of regress tests in regress/ 2015-08-26 11:29:14 +08:00
Nguyen Anh Quynh e1b8bc2ed0 chmod +x regress/fpu_mem_write.py 2015-08-26 10:02:05 +08:00
Nguyen Anh Quynh 6feea9e6d6 Merge pull request #43 from mothran/fpu_mem_write
Added regression test for fstcw not writing to memory
2015-08-26 09:57:06 +08:00
Nguyen Anh Quynh 2174ab61e4 chmod +x regress/memmap_segfault2.py 2015-08-26 09:54:51 +08:00
mothran 91c9c89650 added regression test for fstcw not writing to memory 2015-08-25 18:48:12 -07:00
Nguyen Anh Quynh cc5d28e112 mips: fix issue #39 2015-08-26 09:39:09 +08:00
Nguyen Anh Quynh 22b549a4db x86: add sample for 16bit mode 2015-08-26 09:25:29 +08:00
Nguyen Anh Quynh 8154c11480 Merge pull request #41 from cseagle/master
First crack at java bindings for unicorn
2015-08-26 08:59:19 +08:00
Nguyen Anh Quynh b7aa015776 Merge pull request #42 from strazzere/master
Update dependant libraries for OSX
2015-08-26 08:57:17 +08:00
Tim Strazzere d6e643ceb8 Update dependant libraries for OSX 2015-08-25 15:22:56 -07:00
Chris Eagle 9396f00bfc Merge remote-tracking branch 'upstream/master' 2015-08-25 11:51:55 -07:00
Chris Eagle fafdac516a Make a bad Makefile slightly less bad 2015-08-25 11:41:14 -07:00
Nguyen Anh Quynh e897a6184e Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2015-08-26 00:52:47 +08:00
Nguyen Anh Quynh 2fac7fc2e4 x86: better support for 16bit mode 2015-08-26 00:39:46 +08:00
Nguyen Anh Quynh a3a2a84e62 Merge pull request #40 from radare/patch-2
Fix format string boundary issue
2015-08-25 23:25:20 +08:00
radare 6d5a31d134 Fix format string boundary issue
As long as the GLIB format value is not available and this test case uses 32bit offsets is fine to cast it down. But maybe we should import glib.h and use the proper portable formatting.
2015-08-25 17:22:19 +02:00
Nguyen Anh Quynh 19a68d3991 Merge pull request #37 from lunixbochs/master
add regress/memmap_segfault2.py
2015-08-25 22:20:13 +08:00
Ryan Hileman c633ac5314 add regress/memmap_segfault2.py 2015-08-25 07:17:20 -07:00
Chris Eagle 0359c44462 Initial checkin of unicorn java binding 2015-08-25 03:21:47 -07:00
Chris Eagle 4127d8ad85 Merge remote-tracking branch 'upstream/master' 2015-08-25 03:05:48 -07:00
Nguyen Anh Quynh cd0fe763ab update .gitignore 2015-08-25 16:21:18 +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
Nguyen Anh Quynh e426ba78ee fix some warnings in regress/block_test.c 2015-08-25 12:05:30 +08:00
Nguyen Anh Quynh c7d08d77b5 Merge pull request #36 from cseagle/master
Added basic block hook regression test
2015-08-25 09:40:11 +08:00
Chris Eagle a389ec5730 Merge remote-tracking branch 'upstream/master' 2015-08-24 18:39:29 -07:00
Chris Eagle 7273013263 Added basic block hook regression test 2015-08-24 18:36:58 -07:00
Nguyen Anh Quynh 793e258890 Merge pull request #35 from JonathonReinhart/fix-srcfile-mode
restore mode of .[ch] files
2015-08-25 09:26:53 +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
Nguyen Anh Quynh fc6712ee02 Merge pull request #34 from cseagle/master
Add const to uc_reg_write and derivitives
2015-08-25 01:08:50 +08:00
Chris Eagle 5c3b681945 Add const to uc_reg_write and derivitives 2015-08-24 09:42:50 -07:00
Chris Eagle f221195bf6 Merge remote-tracking branch 'upstream/master' 2015-08-24 09:15:23 -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
Nguyen Anh Quynh 84e01e6c05 Merge branch 'use-more-const' of https://github.com/radare/unicorn into radare-use-more-const 2015-08-24 23:20:26 +08:00
Nguyen Anh Quynh 9448477129 Merge pull request #33 from JonathonReinhart/update-credits
update CREDITS.TXT
2015-08-24 23:13:37 +08:00
Nguyen Anh Quynh 5ebf85ff09 Merge pull request #32 from radare/add-sigill
Test for ilegal instruction exception
2015-08-24 23:11:05 +08:00
pancake 11c20418d7 Test for ilegal instruction exception 2015-08-24 17:07:33 +02:00