Registry / testing / libfuzzer-sys

libfuzzer-sys

JSON →
library0.4.13rscratesunverified

A wrapper around LLVM's libFuzzer runtime.

# Cargo.toml [dependencies] libfuzzer-sys = "0.4.13"
INSTALL
IMPORT
SIG · LIBFUZZER-SYS
L
libfuzzer-sys
testingrustv0.4.13
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fuzz_target!
use libfuzzer_sys::fuzz_target!;

Defines a fuzz target for libFuzzer.

use libfuzzer_sys::fuzz_target; fuzz_target!(|data: &[u8]| { // fuzz target logic });
Debug
Known issues
gotchaOnly works with `cargo fuzz` or when compiled with `--cfg fuzzing`.
fix
Use `cargo fuzz run` to execute the fuzz target.
affects: >=0.4.0
Upgrade
Version history
0.4.13latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
libfuzzer-sys — cargo add libfuzzer-sys · libregistry