unicorn/bindings/java
2015-10-14 16:50:50 -07:00
..
samples Rename some hook related enums: 2015-09-30 14:46:55 +08:00
unicorn on some hook events, uc_hook_add() should not allow more than 1 handler. this add UC_ERR_HOOK_EXIST error type 2015-10-10 18:01:47 +08:00
Makefile spaces to tabs in Makefile 2015-09-25 00:20:02 -07:00
Makefile.build Hack to make gen_const work even if java not installed 2015-09-24 22:45:59 -07:00
README.TXT Add README.TXT for java bindings 2015-10-14 16:50:50 -07:00
unicorn_Unicorn.c Rename some hook related enums: 2015-09-30 14:46:55 +08: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.