Files
Edward Larson 4f5401601b Fix for issue #427 (#429)
* Add support for MSP430

* Fix test-all.sh

* Use corrected TableGen output files

* Fix bindings for EVM and MSP430

* Remove LLVM_CONSTEXPR (like upstream LLVM did) and fix Java binding

See https://github.com/llvm-mirror/llvm/commit/6feedc56f7855aa24baf759f3bc17112ecbf5699#diff-d14f03e012a2bdbf93486dc1c4ce95ec

* Revert bindings

* Remove added files as well

* Add back changes for bindings created by const_gnerator

* Add back changes for other bindings

* Update CREDITS.TXT

* Fix ADRP instruction encoding

* Trigger checks on PR again, it failed for some reason unrelated to my code

* Add correct offset checks back in

* added llvm support post jan 2

* Remove bounds check on ppc branch instructions target address (fix issue 423)

* Fix vm address reset in aliased PPC instructions

* Fix vm address reset in aliased PPC instructions

(cherry picked from commit 06425a32f3)

* Remove bounds check on ppc branch instructions target address (fix issue 423)

(cherry picked from commit 06afb493e0)

* Clean up test for issue #427

Co-authored-by: Trey Keown <trey@redballoonsecurity.com>
Co-authored-by: Dan Pesce <dan@redballoonsecurity.com>
Co-authored-by: Trey Keown <jfktrey@gmail.com>
Co-authored-by: Nguyen Anh Quynh <aquynh@gmail.com>
2020-06-14 16:04:10 +08:00
..
2020-06-14 16:04:10 +08:00
2020-06-14 01:45:32 +08:00
2016-04-28 21:06:49 +08:00
2016-04-28 21:06:49 +08:00
2020-06-13 22:11:03 +08:00
2020-06-10 15:48:10 +08:00
2020-06-14 16:04:10 +08:00
2016-07-27 00:27:49 +08:00
2020-06-14 16:04:10 +08:00
2020-06-14 01:45:32 +08:00
2020-06-14 11:05:25 +08:00

To install Python binding from Pypi (binary), simply do:

    pip install keystone-engine

In case you want to install from source code, follow the below steps.

  1. Install the core engine as dependency

    Follow README.md in the root directory to compile & install the core.

  2. To install pure Python binding on *nix, run the command below in the Python bindings directory:

     $ sudo make install
    

To install Python3 binding package, run the command below: (Note: this requires python3 installed in your machine)

    $ sudo make install3

For example how to use Keystone API, see sample.py

  1. To install Python binding on Windows:

Run the following command in command prompt:

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

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

    C:\location_to_python\Lib\site-packages\keystone\