libfuzzer-sys
A wrapper around LLVM's libFuzzer runtime.
0.4.13
59M downloads/mo
#1120 most downloaded on crates.io
rust-fuzz/libfuzzer
What this package is like to depend on
Last release 2 months ago
04 Jun 2026
Release timing varies
gaps range from 2 weeks to 1.2 years
Nearly every release is documented
notes for 22 of 23 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
24 releases · first in 2019
3 releases in the last 12 months
see the full history below
Release timeline
24 releases · Sep 2019 to Jun 2026Releases
latest 24-
0.4.1304 Jun 2026Release notes
Open source →Released 2026-06-04.
Changed
- Updated docs for the
fuzz_mutator!macro to link to themutatiscrate, which is a helpful crate when writing complex custom mutators.
- Updated docs for the
-
0.4.1210 Feb 2026Release notes
Open source →Released 2026-02-10.
Changed
- Recommend
SmallRngoverStdRngin the examples for faster, more lightweight seeding and sampling - Updated
randdependency from 0.8.5 to 0.10 - Updated
flate2dependency from 1.0.24 to 1.1 - Rename
genvariable torngfor better 2024 Edition compatibility
- Recommend
-
0.4.1110 Feb 2026Release notes
Open source →Released 2026-02-10.
Changed
- Updated to
libFuzzercommita47b42eb9f9b(release/22.x).
- Updated to
-
0.4.1003 Jul 2025Release notes
Open source →Released 2025-07-03.
Changed
- Updated to
libFuzzercommit6146a88f6049(release/20.x). - Fuzz targets taking raw byte slice inputs can now return
Corpusresults.
- Updated to
-
0.4.928 Jan 2025Release notes
Open source →Released 2025-01-28.
Added
- The
example_initdemonstrates how to pass an initialization code block to thefuzz_target!macro.
Changed
- The
fuzz_target!macro now supports the generation ofLLVMFuzzerInitializeto execute initialization code once before running the fuzzer. This change is not breaking and is completely backward compatible.
- The
-
0.4.807 Nov 2024Release notes
Open source →Released 2024-11-07.
Added
- Bindings to
LLVMFuzzerCustomCrossOverthrough thefuzz_crossovermacro. See theexample_crossoverdirectory in this crate's repo for a complete example.
Changed
- Updated to
libFuzzercommitab51eccf88f5321e7c60591c5546b254b6afab99(release/19.x).
- Bindings to
-
0.4.710 Aug 2023Release notes
Open source →Released 2023-08-10.
Added
- Added the
link_libfuzzercargo feature. This feature is on by default and preserves the existing behavior of statically linking libfuzzer. You can disable it if you are linking your own version of libfuzzer some other way, or another library that provides the same ABI as libfuzzer.
- Added the
-
0.4.626 Jan 2023Release notes
Open source →Released 2023-01-26.
Fixed
- Fixed a potential name conflict in functions generated by the
fuzz_target!macro. - Fixed potential stale builds when updating custom libfuzzers to link against.
- Fixed a potential name conflict in functions generated by the
-
0.4.518 Oct 2022Release notes
Open source →Released 2022-10-18.
Added
- Added the ability to tell libfuzzer whether to keep files inputs in the corpus
or not. See the
Corpustype and extended documentation for thefuzz_target!macro for details.
Changed
- Ensured that there is always at least one inline-never frame on the stack per fuzz target. This helps prevent oss-fuzz from "deduplicating" different bugs from different fuzz targets into the same bug.
- Added the ability to tell libfuzzer whether to keep files inputs in the corpus
or not. See the
-
0.4.401 Sep 2022Release notes
Open source →Released 2022-09-01.
Changed
- Updated to
libFuzzercommitdf90d22(release/15.x). - LLVM 16's upcoming change to build requirements to C++17
necessitate reflecting those changes. (
libFuzzerupdates contain C++14 code) - Drastically reduce build times by using parallel C++ compilation jobs
- Updated
randdependency from 0.8.3 to 0.8.5 - Updated
flate2dependency from 1.0.20 to 1.0.24
- Updated to
-
0.4.303 Mar 2022Release notes
Open source →Released 2020-03-03.
Changed
- Updated to
libFuzzercommit60e32a1.
Fixed
- Fixed an issue where the
fuzz_target!macro would sometimes expand to versions of itself that were not$crateprefixed and would result in "error: cannot find macrofuzz_targetin this scope" if the caller didn't import the macro but used the qualified version of it instead.
- Updated to
-
0.4.226 May 2021Release notes
Open source →Released 2020-05-26.
Changed
- Improved performance of checking for whether
cargo fuzzis requesting thestd::fmt::Debugoutput of an input or not. This is always false during regular fuzzing, so making this check faster should give slightly better fuzzing throughput.
- Improved performance of checking for whether
-
0.4.113 May 2021Release notes
Open source →Released 2020-05-13.
Added
- Added support for defining custom mutators. See the documentation for the
fuzz_mutator!macro for details.
Changed
- Upgraded libfuzzer to llvm/llvm-project's 70cbc6d.
- Added support for defining custom mutators. See the documentation for the
-
0.4.024 Feb 2021Release notes
Open source →Released 2021-02-24.
Changed
- The public
arbitrarydependency was updated to version 1.0.
- The public
-
0.3.518 Nov 2020 -
0.3.422 Aug 2020 -
0.3.327 Jul 2020Release notes
Open source →Released 2020-07-27.
Changed
-
Upgraded libfuzzer to commit 4a4cafa.
Notably, this pulls in the new Entropic engine for libFuzzer, which should boost fuzzing efficiency when enabled. You can enable Entropic by passing
-entropic=1to your built fuzz targets (although, note that it is still labeled "experimental").
-
-
0.3.218 Mar 2020Release notes
Open source →Released 2020-03-18.
Changed
- Upgraded the
arbitrarydependency re-export to version 0.4.1.
- Upgraded the
-
0.3.128 Feb 2020Release notes
Open source →Released 2020-02-27.
Changed
- Fixed a fuzzing performance issue where libfuzzer could unnecessarily spend
time exploring all the ways that an
Arbitraryimplementation could fail to construct an instance of itself because the fuzzer provided too few bytes. See https://github.com/rust-fuzz/libfuzzer/issues/59 for details.
- Fixed a fuzzing performance issue where libfuzzer could unnecessarily spend
time exploring all the ways that an
-
0.3.023 Jan 2020Release notes
Open source →Released 2019-01-22.
Changed
- Now works with and re-exports
arbitraryversions 0.4.x.
- Now works with and re-exports
-
0.2.116 Jan 2020Release notes
Open source →Released 2019-01-16.
Added
- Added support for the
CUSTOM_LIBFUZZER_STD_CXX=<lib>environment variable during builds that already use a custom libFuzzer checkout withCUSTOM_LIBFUZZER_PATH. This allows you to explicitly choose to link LLVM or GNU C++ standard libraries.
- Added support for the
-
0.2.014 Jan 2020Release notes
Open source →Released 2020-01-14.
Changed
- Using
arbitrary0.3.x now. It is re-exported aslibfuzzer_sys::arbitrary.
Added
- You can enable support for
#[derive(Arbitrary)]with the"arbitrary-derive"cargo feature. This is a synonym for thearbitrarycrate's"derive"cargo feature.
- Using
-
0.1.110 Sep 2019Nothing published for this version
-
0.1.010 Sep 2019 withdrawnNothing published for this version