mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 11:38:11 +00:00
python: no installer & PyPI packages available yet
This commit is contained in:
parent
15c5705a23
commit
749a25d6d3
1 changed files with 6 additions and 22 deletions
|
@ -1,13 +1,5 @@
|
|||
This documentation explains how to install Python binding for Unicorn
|
||||
from source. If you want to install it from PyPi package, see the below
|
||||
docs instead:
|
||||
|
||||
- README.pypi-src: How to compile the Unicorn core & install binding
|
||||
at the same time from PyPi package "unicorn"
|
||||
|
||||
- README.pypi-win: How to install binding for Windows from PyPi package
|
||||
"unicorn-windows". Note that this package already has prebuilt core
|
||||
inside, so no compilation is needed.
|
||||
from source.
|
||||
|
||||
|
||||
0. Install the core engine as dependency
|
||||
|
@ -39,25 +31,17 @@ This directory contains some sample code to show how to use Unicorn API.
|
|||
- shellcode.py
|
||||
This shows how to analyze a Linux shellcode.
|
||||
|
||||
- sample_network_auditing.py
|
||||
This shows how to analyze & interpret Linux shellcode.
|
||||
|
||||
|
||||
2. To install Python binding on Windows:
|
||||
|
||||
Recommended method:
|
||||
|
||||
Use the Python module installer for 32/64 bit Windows from:
|
||||
|
||||
http://www.unicorn-engine.org/download.html
|
||||
|
||||
|
||||
Manual method:
|
||||
|
||||
If the module installer fails to locate your Python install, or if you have
|
||||
additional Python installs (e.g. Anaconda / virtualenv), run the following
|
||||
command in command prompt:
|
||||
Run the following command in command prompt:
|
||||
|
||||
C:\> C:\location_to_python\python.exe setup.py install
|
||||
|
||||
Next, copy unicorn.dll from the 'Core engine for Windows' package available
|
||||
Next, copy all the DLL files from the 'Core engine for Windows' package available
|
||||
on the same Unicorn download page and paste it in the path:
|
||||
|
||||
C:\location_to_python\Lib\site-packages\unicorn\
|
||||
|
|
Loading…
Reference in a new issue