Commit graph

21 commits

Author SHA1 Message Date
Nguyen Anh Quynh 249e2ac0a0 Merge branch 'hook-refactor' of https://github.com/lunixbochs/unicorn into lunixbochs-hook-refactor 2016-01-23 10:58:37 +08:00
Ryan Hileman 93052f6566 refactor to allow multiple hooks for one type 2016-01-22 18:41:43 -08:00
Nguyen Anh Quynh ca8c66d9f8 compile with -j4 option to reduce memory usage (issue #209) 2016-01-19 13:34:08 +08:00
Nguyen Anh Quynh b3ebd1b7cb Merge branch 'master' of https://github.com/iroiro123/unicorn into iroiro123-master 2016-01-01 14:01:39 +08:00
Nguyen Anh Quynh 10228dcb12 link shared library with option -Bsymbolic-functions. proposed by @egberts. this fixes issue #187 2015-12-29 01:11:37 +08:00
Hiroyuki Uekawa 6445c80b29 Build for Cygwin 2015-12-20 22:00:35 +09:00
Nguyen Anh Quynh 342a68f9da fix setting cross compilation variables. this is ported over from Capstone 2015-12-20 10:05:04 +08:00
Nguyen Anh Quynh 203876d4f6 support building on OSX 10.6.8. this fix is ported over from Capstone 2015-12-20 10:00:34 +08:00
pancake b15a179a18 Fix #184 - Proper handling of DESTDIR 2015-11-10 11:47:19 +01:00
Nguyen Anh Quynh a1f8c8ae87 Makefile: overwrite existent library for install target with 'ln -sf' 2015-10-25 09:44:01 +08:00
Jonathon Reinhart efb0c87e39 fix install logic after changing LIBRARY
Now that LIBRARY is the versioned name (e.g. "libunicorn.so.0"), we
don't need this rename step; just create the symlink for libunicorn.so.
If VERSION_EXT isn't set, then the library we installed already has the
correct name, and no symlink is necessary.

We should probably be running 'ldconfig' to handle this, or better yet,
using libtool.
2015-10-24 16:43:34 -04:00
Jonathon Reinhart c7de7e44a6 create versioned library name and symlink unversioned name on *nix
This allows executables (e.g. unit tests) to link against the
libunicorn.so in the build directory, after the SONAME was added in
4860fdb3.

Becuase libunicorn.so has an SONAME of libunicorn.so.0, the linker uses
the SONAME for the DT_NEEDED entry of the tests. But because a library
with that name did not exist, they would fail to run.
2015-10-21 22:48:25 -04:00
Nguyen Anh Quynh bc96e221df fix UNICORN_DEBUG backward setting (issue #204) 2015-10-19 08:47:19 +08:00
Nguyen Anh Quynh 4860fdb34c add soname to dynamic library. this fixes issue #188 2015-10-16 22:03:24 +08:00
danghvu 242713ce64 Missing update on make test clean 2015-09-21 21:04:20 -05:00
danghvu 3c1d65ea66 Reorganize test directories 2015-09-21 20:47:45 -05:00
Jonathon Reinhart 1be8ef69c8 add 'test' to main Makefile 2015-09-20 22:16:48 -04:00
fabs caad81e2da Add UNICORN_QEMU_FLAGS
Fixes #107
2015-09-04 17:56:29 +02:00
danghvu 1161401c35 Makefile: make install also compiles samples 2015-08-26 16:20:29 +07:00
Nguyen Anh Quynh 557e004426 add 'make uninstall'. this should fix issue #23 2015-08-24 09:57:01 +08:00
Nguyen Anh Quynh 344d016104 import 2015-08-21 15:04:50 +08:00