You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
_xeroxz 095f1b17d0
init commit
3 years ago
..
.gitignore init commit 3 years ago
.merlin init commit 3 years ago
META init commit 3 years ago
Makefile init commit 3 years ago
README init commit 3 years ago
_oasis init commit 3 years ago
_tags init commit 3 years ago
config.ml init commit 3 years ago
configure init commit 3 years ago
ffi_bindings.ml init commit 3 years ago
ffi_stubgen.ml init commit 3 years ago
ffi_types.ml init commit 3 years ago
ffi_types_stubgen.ml init commit 3 years ago
keystone.ml init commit 3 years ago
keystone.mldylib init commit 3 years ago
keystone.mli init commit 3 years ago
keystone.mllib init commit 3 years ago
keystone.odocl init commit 3 years ago
keystone_bindings.mldylib init commit 3 years ago
keystone_bindings.mllib init commit 3 years ago
keystone_types.mldylib init commit 3 years ago
keystone_types.mllib init commit 3 years ago
libkeystone_stubs.clib init commit 3 years ago
myocamlbuild.ml init commit 3 years ago
setup.ml init commit 3 years ago
test_bindings.ml init commit 3 years ago

README

OCaml bindings to the Keystone library (www.keytone-engine.org)

Make sure Keystone is built and installed.

Requires OCaml (>= 4.01.0) and Opam (optionally Oasis)

If Keystone was not installed in the default location then the
keystone_header_loc variable in config.ml needs to be set to the
correct location. The default location is
"/usr/local/include/keystone/keystone.h"


To Build:

1. Install opam. Make sure to run eval `opam config env` to make sure
environment variables are set properly.

2. Install necessary packages:

opam install ctypes ctypes-foreign uchar result ocamlfind

4. Run make

5. Test the bindings by running ./test-bindings.native

To rebuild the build files (make, configure etc) run oasis setup

To install the bindings run make install

To build documentation run make doc