unicorn/bindings/java
Nguyen Anh Quynh 8259d76c6c bindings: add UC_ERR_TIMEOUT
Backports commit b0d5837c61c4bdd91106c355c8af730929f5a78f from unicorn
2020-01-14 09:47:35 -05:00
..
samples Java bindings (#709) 2017-01-06 23:56:53 +08:00
unicorn bindings: add UC_ERR_TIMEOUT 2020-01-14 09:47:35 -05:00
Makefile Fix Java Makefile on Darwin (#936) 2019-02-28 16:58:03 -05:00
Makefile.build Fix Java Makefile on Darwin (#936) 2019-02-28 16:58:03 -05:00
README.TXT Fix Java Makefile on Darwin (#936) 2019-02-28 16:58:03 -05:00
unicorn_Unicorn.c Automated leading tab to spaces conversion. 2017-01-21 12:28:22 +11:00

This documentation explains how to install the Java binding for Unicorn
from source.

0. Install the core engine as dependency

   Follow README in the root directory to compile & install the core.

   On *nix, this can simply done by:

        $ sudo ./make.sh install


1. Install a JDK for your platform. When done, make sure the JDK tools
   are in your PATH.

2. Change directories into the java bindings, build and install

   $ cd bindings/java
   $ make
   $ sudo make install
   $ make samples

The samples directory contains some sample code to show how to use Unicorn API.

- Sample_<arch>.java
  These show how to access architecture-specific information for each
  architecture.

- Shellcode.java
  This shows how to analyze a Linux shellcode.

- SampleNetworkAuditing.java
  Unicorn sample for auditing network connection and file handling in shellcode.

To uninstall Java binding for Unicorn:

   $ sudo make uninstall