Commit Graph

129 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
10464408a5 Merge branch 'const-gen' of https://github.com/lunixbochs/unicorn into lunixbochs-const-gen 2015-08-29 00:42:38 +08:00
Nguyen Anh Quynh
3f771abe73 python: add sample_all.sh 2015-08-29 00:26:34 +08:00
Nguyen Anh Quynh
d3de7aa567 samples: add sample code for hooking SYSCALL instruction in sample_x86.c 2015-08-29 00:22:11 +08:00
Nguyen Anh Quynh
162728c1b1 samples: add shellcode to sample_all.sh 2015-08-29 00:02:52 +08:00
Ryan Hileman
40ba1ea1b0 improve const generator; emit unicorn.h consts 2015-08-28 07:32:25 -07: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
Nguyen Anh Quynh
adec227dad Merge pull request #64 from lunixbochs/go-bindings
add Go bindings
2015-08-28 12:22:46 +08:00
Ryan Hileman
c5bcb02847 add Go bindings 2015-08-27 21:22:30 -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
Nguyen Anh Quynh
2fcc8528ae chmod -x SampleNetworkAuditing.java 2015-08-27 10:47:49 +08:00
Nguyen Anh Quynh
3d650fec92 Merge pull request #62 from cseagle/java_dev
Port sample_network_auditing.py to java
2015-08-27 10:46:26 +08:00
Chris Eagle
5ff5577aaa Port sample_network_auditing.py to java 2015-08-26 19:41:37 -07:00
Nguyen Anh Quynh
2a6f1f471f Merge pull request #61 from radare/write-crash
Add test case for #58
2015-08-27 09:54:34 +08:00
pancake
efe0f5d854 Add test case for #58 2015-08-27 00:19:12 +02:00
Nguyen Anh Quynh
8aedc1b5d5 Merge pull request #53 from tacoxnguyen/master
make sample_network_auditing.py runnable
2015-08-27 00:06:14 +08:00
Nguyen Anh Quynh
f44d730f8d Merge pull request #55 from cseagle/invalid_mem_check
Invalid mem check
2015-08-27 00:04:36 +08: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
edc1c037b0 Merge remote-tracking branch 'upstream/master' 2015-08-26 08:47:26 -07:00
Nguyen Anh Quynh
0ab4284719 Merge pull request #54 from radare/ascii-logo
Add hand-made ascii-art logo
2015-08-26 23:44:22 +08:00
pancake
812aa7549b Add hand-made ascii-art logo 2015-08-26 17:42:17 +02:00
Nguyen Anh Quynh
b6dd516977 fix a bug on releasing mapped_blocks in uc_close() 2015-08-26 23:41:30 +08:00
Nguyen Anh Quynh
9e929ca2f3 Merge branch 'master' of https://github.com/cseagle/unicorn into cseagle-master 2015-08-26 23:37:41 +08:00
Chris Eagle
095cdb5f9d Merge remote-tracking branch 'upstream/master' 2015-08-26 08:25:37 -07:00
Chris Eagle
5d8d251085 Free uc->mapped_blocks in uc_close 2015-08-26 08:23:36 -07:00
Kong Nguyen
4d7b7c1d5e make sample_network_auditing.py runnable 2015-08-26 22:40:41 +08:00
Nguyen Anh Quynh
b9c0aee009 Merge pull request #50 from JonathonReinhart/fix-sources-mode
remove executable bit from mode of source files
2015-08-26 17:42:39 +08:00
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