unicorn/bindings/java
2023-06-17 14:19:10 -07:00
..
samples Switch samples to use long instead of Long for registers 2023-06-17 14:19:10 -07:00
testdep Set up testing infrastructure ("make test") 2023-06-17 14:19:10 -07:00
tests Reintroduce hook_del(Hook), since it seems useful. 2023-06-17 14:19:10 -07:00
unicorn Add more deprecated APIs for backwards compat 2023-06-17 14:19:10 -07:00
eclipse-formatter.xml Reformat Java bindings. 2023-06-17 14:17:57 -07:00
Makefile Restore some of the less problematic old APIs for backwards compatibility. 2023-06-17 14:19:10 -07:00
README.TXT Fix Java Makefile on Darwin (#936) 2018-03-12 20:40:40 +07:00
unicorn_Unicorn.c Rewrite the Java bindings. 2023-06-17 14:19:10 -07: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