mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 13:35:35 +00:00
c3c6e250e4
* Fixes the logic for Dylib extensions on macOS. * Adds an uninstall task and documentation. Backports commit 94b116877670ed9bbe38b71e3b9ad28f10cb3775 from unicorn
37 lines
933 B
Plaintext
37 lines
933 B
Plaintext
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 |