Commit Graph

1451 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
0aea7f8602 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2016-12-28 13:49:04 +08:00
danghvu
a97f908281 Revert "translate-all.c: make code_bitmap 64-bit, fix issue #646"
This reverts commit 1a222e8904.
This issue shall be fixed when sync with upstream.
2016-12-27 23:28:47 -06:00
danghvu
1a222e8904 translate-all.c: make code_bitmap 64-bit, fix issue #646 2016-12-27 22:23:06 -06:00
cojocar
428cb83060 Support for MCLASS ARM cpu (Cortex-M3) (#700)
Support for Cortex-M ARM CPU already exists in Qemu. This patch just
exposes a "cortex-m3" CPU.

"uc_open(UC_ARCH_ARM, UC_MODE_THUMB | UC_MODE_MCLASS, &uc);"
Instantiates a CPU with this feature on.

Signed-off-by: Lucian Cojocar <lucian@cojocar.com>
2016-12-27 22:49:06 +08:00
Nguyen Anh Quynh
efe6efeb84 Capitalize 2016-12-27 20:38:30 +08:00
Nguyen Anh Quynh
f56bfe1f95 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2016-12-27 16:48:10 +08:00
Andrew Dutcher
bf2cd79a4d Windows: export a static lib that can be used outside of mingw (#699)
* Windows: export a static lib that can be used outside of mingw

* Add comments to windows_export.bat
2016-12-27 16:30:07 +08:00
Nguyen Anh Quynh
8a9a5432c3 add back as a comment the https download for cmocka to install-cmocka-linux.sh 2016-12-26 13:45:40 +08:00
Nguyen Anh Quynh
e9b8968a23 Update install-cmocka-linux.sh
temporarily fix the cmocka download issue by avoid using https
2016-12-26 13:12:15 +08:00
danghvu
06541894ea Makefile: uc.o and list.o is compiled with qemu, fix for issue #696 2016-12-25 21:46:52 -06:00
Antoine
a7dddf6c5f python bindings: restore FreeBSD support (#698)
* python bindings: restore FreeBSD support

* python binding: use libunicorn.so if the platform is unknown
2016-12-24 00:59:19 +08:00
Nguyen Anh Quynh
88fbe402d3 update ChangeLog 2016-12-22 22:13:13 +08:00
Nguyen Anh Quynh
2386293020 Makefile: add a note on 'header' target 2016-12-22 01:12:10 +08:00
Ryan Hileman
19b92a4a7e fix possible segfault in hook del (#691) (#697) 2016-12-22 00:50:40 +08:00
Nguyen Anh Quynh
b19f1607c6 Revert "remove qemu/util/qemu-timer-common.c"
This reverts commit 934fa2c90f.
2016-12-19 20:31:38 +08:00
Nguyen Anh Quynh
934fa2c90f remove qemu/util/qemu-timer-common.c 2016-12-19 17:29:25 +08:00
Nguyen Anh Quynh
6043a78ff3 Merge pull request #682 from Grazfather/patch-1
Add ARM bx crash regress test case
2016-12-18 10:37:48 +07:00
Nguyen Anh Quynh
552e3a0a74 Merge pull request #688 from ant1/master
Do not prepend DESTDIR twice when installing unicorn.pc on FreeBSD
2016-12-18 10:36:13 +07:00
ant1
f6908e2c62 Do not prepend DESTDIR twice when installing unicorn.pc on FreeBSD 2016-12-17 07:25:06 +00:00
Nguyen Anh Quynh
c8b3d62692 docs: add libpcre-1.dll as Msys dependency to COMPILE-WINDOWS.md 2016-12-04 20:50:13 +07:00
Nguyen Anh Quynh
bd339533ca python: comment out a debug code 2016-12-04 20:46:52 +07:00
Nguyen Anh Quynh
4613580e07 python: typo 'prebuilt' dir 2016-12-04 18:18:24 +08:00
Grazfather
795a241dd3 Add ARM bx crash regress test case 2016-11-26 12:51:01 -08:00
Nguyen Anh Quynh
236a29841d Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2016-11-20 16:37:23 +08:00
Nguyen Anh Quynh
e34812c7dd fix merge conflict 2016-11-20 16:36:56 +08:00
Nguyen Anh Quynh
1cae4d074f Merge pull request #680 from oblivia-simplex/docs/OpenBSD_Notes_re_DEP
OpenBSD_Notes_re_DEP: Added an md file in docs/ ...
2016-11-20 10:33:16 +08:00
oblivia simplex
eeea39c717 OpenBSD_Notes_re_DEP: Added an md file in docs/ explaining how to disable W^X protections on the filesystem you're using to execute Unicorn-using programmes, so that the OS will allow those programmes to run. 2016-11-19 12:55:04 -04:00
Nguyen Anh Quynh
e1b65a6edb cleanup unused code 2016-11-19 23:48:23 +08:00
Nguyen Anh Quynh
33813a0781 samples: fix Makefile for Mingw 2016-11-19 23:40:38 +08:00
Nguyen Anh Quynh
c4ddf4e36b fix samples/Makefile 2016-11-19 17:29:51 +08:00
Nguyen Anh Quynh
4a03f6021f fix merge conflict 2016-11-19 17:29:06 +08:00
Nguyen Anh Quynh
ab9bae4f3e revert the change on verbose option for Makefile 2016-11-19 17:20:05 +08:00
Stephen
75d90aff52 Make cleanup (#666)
* make cleanup

* Update .travis.yml
Update eflags_nosync.c
Update sigill2.c
Update ro_mem_test.c
Update ro_mem_test.c
Update nr_mem_test.c
Update mem_fuzz.c
Update mem_double_unmap.c
Update emu_stop_in_hook_overrun.c
Update eflags_nosync.c
remove unused
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update mem_64_c.c
Update mem_64_c.c
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update .travis.yml
try android ndk build
Update unicorn.py
Update unicorn.py
Update Makefile
Update unicorn.py
Update unicorn.py
remove an untrue comment

if a dll/so/dylib gets loaded at runtime is dependent on many different factors, primarily the LD/DYLD paths. Those do not always include the current working directory
Update Makefile
Update .appveyor.yml
Update .travis.yml
Update Makefile
Update .appveyor.yml
Fix bad sample

* Update Makefile

* Update Makefile

* Update install-cmocka-linux.sh

* remove verbose option from tar

* add upgrade to pacman for cmake

* pacman double update, needed to get new packages

* enable cmocka unit testing

* rejigger commands to fail on any step

should get fails in msys builds for cmocka

* fix quote

* make cmocka in cygwin only

* add msys cache
2016-11-19 17:17:48 +08:00
Nguyen Anh Quynh
2a4c316b6f python: correct a comment on sample_arm.py 2016-11-19 16:51:08 +08:00
Nguyen Anh Quynh
3543452b06 ruby: update unicorn_const.rb 2016-11-19 16:48:30 +08:00
Andrew Dutcher
188a1d78d3 Allow dlls to be copied out of prebuilt directory 2016-11-17 20:59:39 -08:00
Stephen
4903f05f9b add msys cache 2016-11-15 12:37:21 -08:00
Stephen
48a0e6ccb7 make cmocka in cygwin only 2016-11-15 10:49:19 -08:00
Stephen
a66c96b6f4 fix quote 2016-11-15 10:42:16 -08:00
Stephen
ab560d7a2b rejigger commands to fail on any step
should get fails in msys builds for cmocka
2016-11-15 10:41:13 -08:00
Stephen
e6d8a477c2 enable cmocka unit testing 2016-11-15 10:17:15 -08:00
Stephen
04853f1db8 pacman double update, needed to get new packages 2016-11-15 08:14:58 -08:00
Stephen
d4c7216534 add upgrade to pacman for cmake 2016-11-14 14:55:37 -08:00
Stephen
e236fb7bf6 remove verbose option from tar 2016-11-14 14:55:05 -08:00
Stephen
f9c57cd364 Update install-cmocka-linux.sh 2016-11-14 14:47:27 -08:00
Stephen
6bce28c946 Update Makefile 2016-11-11 08:40:22 -08:00
Stephen
a931761dad Update Makefile 2016-11-11 08:31:16 -08:00
Stephen
9f0cdc4be9 Update .travis.yml
Update eflags_nosync.c
Update sigill2.c
Update ro_mem_test.c
Update ro_mem_test.c
Update nr_mem_test.c
Update mem_fuzz.c
Update mem_double_unmap.c
Update emu_stop_in_hook_overrun.c
Update eflags_nosync.c
remove unused
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update mem_64_c.c
Update mem_64_c.c
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update .travis.yml
try android ndk build
Update unicorn.py
Update unicorn.py
Update Makefile
Update unicorn.py
Update unicorn.py
remove an untrue comment

if a dll/so/dylib gets loaded at runtime is dependent on many different factors, primarily the LD/DYLD paths. Those do not always include the current working directory
Update Makefile
Update .appveyor.yml
Update .travis.yml
Update Makefile
Update .appveyor.yml
Fix bad sample
2016-11-11 07:45:06 -08:00
sgroat
5d14cb350a Merge branch 'master' of https://github.com/unicorn-engine/unicorn into make-cleanup
Conflicts:
	bindings/python/unicorn/unicorn.py
2016-11-06 16:30:26 -08:00
Stephen
186540e160 make cleanup 2016-11-06 16:27:24 -08:00