Skip to content
Branch: master
Find file History
Type Name Latest commit message Commit time
Failed to load latest commit information.
prebuilt Allow dlls to be copied out of prebuilt directory Nov 18, 2016
unicorn bindings: update for latest ARM registers addition Mar 7, 2019
README.TXT Add support for ARM application flags - APSR register (#776) Mar 9, 2017 Fix Python 3 samples (#836) May 15, 2017 update armeb & arm64eb samples Apr 25, 2017 make cleanup Nov 7, 2016 Get Python samples running on Python 3 Jul 29, 2016 make cleanup Nov 7, 2016 Fix naming in Python (#961) May 7, 2018
setup.cfg Fixes to make python distribution for windows work Nov 5, 2016


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

1. Installing on Linux:

	$ sudo python install

	This will build the core C library, package it with the python bindings, 
	and install it to your system.

    If you want to prevent the build of the native library during the python installation,
    set the environment variable LIBUNICORN_PATH. You may also set this to a directory
    containing if you wish to use a verison of the native library other than
    the globally installed one.

2. Installing on Windows:

	Run the following command in command prompt:

		C:\> C:\location_to_python\python.exe install

	Next, copy all the DLL files from the 'Core engine for Windows' package available
	on the Unicorn download page and paste it in the path:


3. Sample code

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

	- sample_<arch>.py
	  These code show how to access architecture-specific information for each

	  This shows how to analyze a Linux shellcode.

	  This shows how to analyze & interpret Linux shellcode.
You can’t perform that action at this time.