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
|
4 years ago | |
---|---|---|
.. | ||
.gitignore | 4 years ago | |
.merlin | 4 years ago | |
META | 4 years ago | |
Makefile | 4 years ago | |
README | 4 years ago | |
_oasis | 4 years ago | |
_tags | 4 years ago | |
config.ml | 4 years ago | |
configure | 4 years ago | |
ffi_bindings.ml | 4 years ago | |
ffi_stubgen.ml | 4 years ago | |
ffi_types.ml | 4 years ago | |
ffi_types_stubgen.ml | 4 years ago | |
keystone.ml | 4 years ago | |
keystone.mldylib | 4 years ago | |
keystone.mli | 4 years ago | |
keystone.mllib | 4 years ago | |
keystone.odocl | 4 years ago | |
keystone_bindings.mldylib | 4 years ago | |
keystone_bindings.mllib | 4 years ago | |
keystone_types.mldylib | 4 years ago | |
keystone_types.mllib | 4 years ago | |
libkeystone_stubs.clib | 4 years ago | |
myocamlbuild.ml | 4 years ago | |
setup.ml | 4 years ago | |
test_bindings.ml | 4 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