Cargo Features

[dependencies]
libafl_libfuzzer = { version = "0.14.0", default-features = false, features = ["document-features", "arbitrary-derive", "fork", "embed-runtime", "rabbit", "libafl-libfuzzer-use-version"] }
default = fork

The fork feature is set by default whenever libafl_libfuzzer is added without default-features = false somewhere in the dependency tree.

document-features

Enables document-features

arbitrary-derive

Feature Flags

Enables the derive macros for the arbitrary dependency, transparently forwarded from libfuzzer-sys

Enables arbitrary-derive of libfuzzer-sys

fork default

Enables forking in the fuzzer runtime for restarting managers for Unix systems (on by default)

embed-runtime

Embeds the built libafl_libfuzzer_runtime library into the crate with include_bytes! for use in downstream cases like libafl_cc linking the runtime with: -fsanitize=fuzzer-no-link -l:libafl_libfuzzer_runtime.a

Affects libafl_libfuzzer::LIBAFL_LIBFUZZER_RUNTIME_LIBRARY

rabbit

🐇

libafl-libfuzzer-use-version

For testing and publishing purposes only: enforce that the runtime uses versions rather than paths