Cargo Features

libafl_sugar has no features set by default.

[dependencies]
libafl_sugar = { version = "0.14.0", features = ["document-features", "clippy", "python", "x86_64", "i386", "arm", "aarch64", "mips", "ppc", "hexagon", "riscv32", "riscv64"] }
document-features

Enables document-features

Document all features of this crate (for cargo doc)

clippy

special feature for clippy, don't use in normal projects

Enables clippy of libafl_qemu

python = pyo3, pyo3-build-config

# Feature Flags
## General Features

Build python bindings

Enables python of libafl_qemu

Affects forkserver::pybind, inmemory::pybind, libafl_sugar::python_module, qemu::pybind

x86_64

Features for libafl_qemu (Linux only)

The following architecture features are mutually exclusive.

build qemu for x86_64 (default)

Enables x86_64 of libafl_qemu

i386

build qemu for i386

Enables i386 of libafl_qemu

arm

build qemu for arm

Enables arm of libafl_qemu

aarch64

build qemu for aarch64

Enables aarch64 of libafl_qemu

mips

build qemu for mips (el, use with the 'be' feature of mips be)

Enables mips of libafl_qemu

ppc

build qemu for powerpc

Enables ppc of libafl_qemu

hexagon

build qemu for hexagon

Enables hexagon of libafl_qemu

riscv32

build qemu for riscv 32bit

Enables riscv32 of libafl_qemu

riscv64

build qemu for riscv 64bit

Enables riscv64 of libafl_qemu

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

pyo3 python?

Enables pyo3 ^0.22.3

pyo3-build-config build python?

Enables pyo3-build-config ^0.22.3