Commit Graph

594 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
573736d1b9 Merge pull request #221 from lunixbochs/cpu_model
add Go support for cpu_model api update
2015-10-27 00:41:05 +08:00
Ryan Hileman
12117a7dcf add support for cpu_model api 2015-10-26 09:29:14 -07:00
Nguyen Anh Quynh
a11265521a add @model argument to uc_open() to enable selection of CPU model. this fixes the issue #117 2015-10-26 23:15:59 +08:00
Nguyen Anh Quynh
24a7036a87 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2015-10-26 15:46:20 +08:00
Nguyen Anh Quynh
359055b4ff python: properly load supporting DLLs in dependency order. this fixes issue #208 2015-10-26 15:46:10 +08:00
Nguyen Anh Quynh
26eb03c7f6 Merge pull request #220 from lunixbochs/master
Go 1.2 binding compatibility
2015-10-26 09:18:19 +08:00
Ryan Hileman
715d5c3557 Go 1.2 binding compatibility 2015-10-25 04:33:10 -07:00
Nguyen Anh Quynh
9cd7e2fbf6 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2015-10-25 09:44:44 +08:00
Nguyen Anh Quynh
a1f8c8ae87 Makefile: overwrite existent library for install target with 'ln -sf' 2015-10-25 09:44:01 +08:00
Nguyen Anh Quynh
be36122d0c Merge branch 'fix-soname2' of https://github.com/JonathonReinhart/unicorn 2015-10-25 09:37:40 +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
Nguyen Anh Quynh
e084c88092 Merge pull request #216 from lunixbochs/master
allow setting x86 segment base to host-sized value
2015-10-24 23:09:07 +08:00
Nguyen Anh Quynh
92f7e2e156 Merge pull request #218 from gaffe23/master
add assertion to callback-PC test to make it clear what the correct behavior should be (issue #210)
2015-10-24 23:07:19 +08:00
gaffe
21ce78924c assert that PC was changed in callback-pc test 2015-10-23 11:28:10 -07:00
Ryan Hileman
8c60d0dca5 allow setting x86 segment base to host-sized value 2015-10-23 00:15:08 -07:00
Nguyen Anh Quynh
dfc8658083 regress: fix compilation warning of mem_double_unmap.c 2015-10-23 11:36:09 +08:00
Nguyen Anh Quynh
942edb99e2 update COMPILE.TXT for Python2 requirement 2015-10-23 11:02:04 +08:00
Nguyen Anh Quynh
47e31f5663 Merge pull request #211 from williballenthin/patch-2
COMPILE.TXT: add note to configure Python for build
2015-10-23 10:58:27 +08:00
Nguyen Anh Quynh
b4efe72a7e Merge pull request #213 from ranmrdrakono/fb_fix_use_after_free_in_unmap
fix for use after free in case of double unmap
2015-10-22 17:03:22 +08: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
coco
dd56621bbb fix for use after free in case of double unmap 2015-10-21 22:25:49 +02:00
Willi Ballenthin
b86ed781d7 COMPILE.TXT: add note to configure Python for build
Addresses #206
2015-10-21 11:42:43 -04:00
Nguyen Anh Quynh
cf727ad323 Merge pull request #207 from williballenthin/patch-1
uc.c: fix minor typo
2015-10-20 06:21:17 +08:00
Willi Ballenthin
34c7b70bcb uc.c: fix minor typo
s/argumet/argument/g
2015-10-19 16:52:56 -04:00
Nguyen Anh Quynh
298a942dd1 python: fix DLL loading for Windows 2015-10-19 22:10:05 +08:00
Nguyen Anh Quynh
b0a1131ef0 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2015-10-19 08:47:34 +08:00
Nguyen Anh Quynh
bc96e221df fix UNICORN_DEBUG backward setting (issue #204) 2015-10-19 08:47:19 +08:00
Nguyen Anh Quynh
1ee7544d84 Merge pull request #203 from lunixbochs/master
add MemUnmap to Go bindings
2015-10-19 08:26:17 +08:00
Ryan Hileman
716cbd78e9 add MemUnmap to Go bindings 2015-10-18 12:21:43 -07:00
Nguyen Anh Quynh
22ae47a9d0 Merge pull request #197 from adolphenom/master
Small correction in README
2015-10-17 23:14:19 +08:00
adolphenom
292857dbbd Little README change
Typo
2015-10-17 11:37:53 +02:00
adolphenom
4f30c2a87f Little README change
Added link to COPYING file (it contains LICENSE terms)
2015-10-17 11:37:09 +02:00
adolphenom
15fa0a7b9e Little README change
Changed 'open source' for 'free software'
2015-10-17 11:35:34 +02:00
Nguyen Anh Quynh
de8f7107d2 Merge pull request #196 from strazzere/patch-1
typo
2015-10-17 16:34:29 +08:00
Tim Strazzere
9b9e329fa4 typo 2015-10-17 01:21:50 -07:00
Nguyen Anh Quynh
8803a100b4 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2015-10-17 16:00:35 +08:00
Nguyen Anh Quynh
142d3a6f72 arm: allow to read CPSR register 2015-10-17 15:59:27 +08:00
Nguyen Anh Quynh
30858032a0 Merge pull request #195 from strazzere/master
Add OSX	10.11 dylib load fix
2015-10-17 11:05:45 +08:00
Nguyen Anh Quynh
56a7b0246c Merge pull request #194 from lunixbochs/master
fix #192 (outdated enums in Go test)
2015-10-17 10:03:12 +08:00
Tim Strazzere
a44b6e1efc Add OSX 10.11 dylib load fix
El Capitan does	not guaranteed that
(DY)LD_LIBRARY_PATH will exist, so force
one last check for the default install
directory that the install script uses.
2015-10-16 17:07:53 -07:00
Ryan Hileman
e45d225d69 fix #192 (outdated enums in Go test) 2015-10-16 12:21:38 -07:00
Nguyen Anh Quynh
6596b4b829 docs/README: copy&paste error 2015-10-17 01:27:37 +08:00
Nguyen Anh Quynh
3ed6ff96b6 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2015-10-17 01:26:24 +08:00
Nguyen Anh Quynh
01c52ea885 add some links to docs/README 2015-10-17 01:11:20 +08:00
Nguyen Anh Quynh
88397649be Merge pull request #190 from enkomio/master
Implemented error mechanism based on exception raising
2015-10-17 00:28:54 +08:00
Antonio Parata
494a2ea7a2 Merge branch 'master' of https://github.com/enkomio/unicorn 2015-10-16 17:44:28 +02:00
Antonio Parata
d92bee414d Implemented exception as error management mechanism and removed the error codes 2015-10-16 17:43:56 +02:00
Antonio Parata
2a2553e7f5 Implemented exception as error management mechanism and removed the error codes 2015-10-16 17:02:49 +02:00
Nguyen Anh Quynh
90153900bb Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2015-10-16 22:03:38 +08:00
Nguyen Anh Quynh
4860fdb34c add soname to dynamic library. this fixes issue #188 2015-10-16 22:03:24 +08:00