
* Rust 2024 edition * gen = generalized * Fixes * more fix * More fix * even more fix * fix libfuzzer * ignore clippy lint * even more * fix docs? * more? * More pub more better * win * docs * more * More * doc stuff? * counter_maps->counters_maps * libafl qemu fixes for rust 2024 * fix? * fmt * unsafe lint * final fixes * fmt * working? * not working * unused import * win? * update libafl qemu hash * fmt * fix * unused imports * fix * fix * more foix * less edition * fix --------- Co-authored-by: Romain Malmain <romain.malmain@pm.me>
83 lines
2.2 KiB
TOML
83 lines
2.2 KiB
TOML
[package]
|
|
name = "libafl_sugar"
|
|
version.workspace = true
|
|
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 = "2024"
|
|
build = "build.rs"
|
|
categories = [
|
|
"development-tools::testing",
|
|
"emulators",
|
|
"embedded",
|
|
"os",
|
|
"no-std",
|
|
]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[features]
|
|
default = []
|
|
document-features = ["dep:document-features"]
|
|
clippy = [
|
|
"libafl_qemu/clippy",
|
|
] # special feature for clippy, don't use in normal projects
|
|
|
|
#! # Feature Flags
|
|
#! ## General Features
|
|
|
|
## Build python bindings
|
|
python = ["pyo3", "libafl_qemu/python", "pyo3-build-config"]
|
|
|
|
#! ## Features for `libafl_qemu` (Linux only)
|
|
#! The following architecture features are mutually exclusive.
|
|
|
|
## build qemu for x86_64 (default)
|
|
x86_64 = ["libafl_qemu/x86_64"]
|
|
## build qemu for i386
|
|
i386 = ["libafl_qemu/i386"]
|
|
## build qemu for arm
|
|
arm = ["libafl_qemu/arm"]
|
|
## build qemu for aarch64
|
|
aarch64 = ["libafl_qemu/aarch64"]
|
|
## build qemu for mips (el, use with the 'be' feature of mips be)
|
|
mips = ["libafl_qemu/mips"]
|
|
## build qemu for powerpc
|
|
ppc = ["libafl_qemu/ppc"]
|
|
## build qemu for hexagon
|
|
hexagon = ["libafl_qemu/hexagon"]
|
|
## build qemu for riscv 32bit
|
|
riscv32 = ["libafl_qemu/riscv32"]
|
|
## build qemu for riscv 64bit
|
|
riscv64 = ["libafl_qemu/riscv64"]
|
|
|
|
[build-dependencies]
|
|
pyo3-build-config = { workspace = true, optional = true }
|
|
|
|
[dependencies]
|
|
libafl = { workspace = true, default-features = true }
|
|
libafl_bolts = { workspace = true, default-features = true }
|
|
libafl_targets = { workspace = true, default-features = true }
|
|
|
|
# Document all features of this crate (for `cargo doc`)
|
|
document-features = { workspace = true, optional = true }
|
|
|
|
typed-builder = { workspace = true } # Implement the builder pattern at compiletime
|
|
pyo3 = { workspace = true, optional = true }
|
|
log = { workspace = true }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
libafl_qemu = { workspace = true, default-features = true }
|
|
|
|
[lib]
|
|
name = "libafl_sugar"
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[lints]
|
|
workspace = true
|