unicorn/bindings/java
Eric Poole cfee2139a0
TriCore Support (#1568)
* TriCore Support

python sample

* Update sample_tricore.py

Correct attribution

* Update sample_tricore.py

Fixed byte code to execute properly.

* Update sample_tricore.py

Removed testing artifact

* Added tricore msvc config-file.h

* Added STATIC to tricore config and added helper methods to symbol file generation.

* Update op_helper.c

Use built in crc32

* Fix tricore samples and small code blocks are now handled properly

* Add CPU types

* Generate bindings

* Format code

Co-authored-by: lazymio <mio@lazym.io>
2022-04-29 23:11:34 +02:00
..
samples Improve Java bindings 2021-10-14 18:39:38 +08:00
unicorn TriCore Support (#1568) 2022-04-29 23:11:34 +02:00
Makefile Fix gen_const 2021-10-26 13:10:59 +02:00
Makefile.build Merge and close #1161 2021-11-03 21:02:48 +01:00
README.TXT Fix Java Makefile on Darwin (#936) 2018-03-12 20:40:40 +07:00
unicorn_Unicorn.c Add Java binding for ctl set_cpu_model (#1600) 2022-04-24 13:29:48 +02: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