Cargo Features

LibAFL_core has no features set by default.

[dependencies]
libafl_core = { version = "0.15.4", features = ["document-features", "std", "alloc", "errors_backtrace", "python", "nix", "postcard", "serde"] }
document-features

Enables document-features

std errors_backtrace? = alloc

Feature Flags

General Features

Enables features that need rust's std lib to work, like print, env, ... support

alloc serde? std?

Enables all features that allocate in no_std

Affects libafl_core::vec_init, libafl_core::Named

errors_backtrace = std

Stores the backtraces of all generated Errors. Good for debugging, but may come with a slight performance hit.

Enables backtrace

Affects libafl_core::ErrorBacktrace

python

Enable python error conversion

Enables pyo3 ^0.26.0

nix

Enables nix error conversion

Enables nix ^0.30.1

postcard

Enables postcard error conversion

Enables postcard

serde = alloc

Enables Serde support for some types

Enables serde