GTIRB-Capstone
Integration between GTIRB and the Capstone/Keystone libraries.
Abstract
GTIRB explicitly does not include any notion of instructions or instruction semantics. In general this is desirable as most tools have their own intermediate languages and corresponding encoders/decoders to deal with instructions. However, in many cases the high-quality Capstone/Keystone decoder/encoder libraries provide sufficient instruction information for binary analysis and transformation. These libraries provide exceptional coverage of multiple ISAs and are widely used. GTIRB-Capstone integrates GTIRB with the Capstone disassembler and the Keystone assembler allowing for transparent access to instructions in GTIRB instances.
Dependencies
This package requires:
- keystone
To install keystone run:
git clone https://github.com/keystone-engine/keystone.git cd keystone mkdir build cd build ../make-share.sh make install ldconfig
Development
You can create a virtual environment for development using tox:
tox -e venv
. venv/bin/activate
This repository uses pre-commit to enforce code formatting. You should have pre-commit installed. To activate pre-commit in this repository run:
pre-commit install
To run the tests execute tox:
tox
Copyright and Acknowledgments
Copyright (C) 2020 GrammaTech, Inc.
This code is licensed under the MIT license. See the LICENSE file in the project root for license terms.
This project is sponsored by the Office of Naval Research, One Liberty Center, 875 N. Randolph Street, Arlington, VA 22203 under contract # N68335-17-C-0700. The content of the information does not necessarily reflect the position or policy of the Government and no official endorsement should be inferred.
Metadata
Release files for gtirb-capstone 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gtirb_capstone-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for gtirb_capstone-1.1.2-py3-none-any.whl |
Release files / gtirb_capstone-1.1.2-py3-none-any.whl
| Download URL | gtirb_capstone-1.1.2-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21d885339484cf1234c1f64284a2f136fa540329d45990c778164a8d769e56bf
|
|
BLAKE2b-256 checksum How to use checksums |
2597cfd2339c1c3128b13ef6ff48323a614e53032df3f9580e19667cf98a914a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.20
|
Security for gtirb-capstone 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.