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