Andrea Fioraldi 2f2634db02
Python basic bindings for sugar and qemu (#302)
* InMemoryBytesCoverageSugar python binding

* InMemoryBytesCoverageSugar python binding

* python mod for qemu in libafl_sugar

* libafl_qemu python

* fix

* clippy fixes

* clippy

* added pyo3-build-config for MacOS builds

* gitignor

* python is not default

Co-authored-by: Dominik Maier <domenukk@gmail.com>
2021-09-27 09:39:21 +02:00

33 lines
966 B
TOML

[package]
name = "libafl_sugar"
version = "0.6.1"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>"]
description = "Sugar builders to create common fuzzers with LibAFL"
documentation = "https://docs.rs/libafl_sugar"
repository = "https://github.com/AFLplusplus/LibAFL/"
readme = "../README.md"
license = "MIT OR Apache-2.0"
keywords = ["fuzzing"]
edition = "2018"
build = "build.rs"
[features]
python = ["pyo3", "libafl_qemu/python", "pyo3-build-config"]
default = []
[build-dependencies]
pyo3-build-config = { version = "0.14.2", optional = true }
[dependencies]
libafl = { path = "../libafl", version = "0.6.1" }
libafl_targets = { path = "../libafl_targets", version = "0.6.1" }
libafl_qemu = { path = "../libafl_qemu", version = "0.6.1" }
typed-builder = "0.9.0" # Implement the builder pattern at compiletime
pyo3 = { version = "0.14.5", features = ["extension-module"], optional = true }
[lib]
name = "libafl_sugar"
crate-type = ["cdylib", "rlib"]