Skip to content

Commit 719e4ef

Browse files
authored
Merge pull request #144 from fitzgen/bump-to-0.4.13
Bump to version 0.4.13
2 parents e9120b0 + 2500b23 commit 719e4ef

3 files changed

Lines changed: 24 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@ Released YYYY-MM-DD.
2828

2929
--------------------------------------------------------------------------------
3030

31+
## 0.4.13
32+
33+
Released 2026-06-04.
34+
35+
### Changed
36+
37+
* Updated docs for the `fuzz_mutator!` macro to link to [the `mutatis`
38+
crate](https://docs.rs/mutatis), which is a helpful crate when writing complex
39+
custom mutators.
40+
41+
--------------------------------------------------------------------------------
42+
3143
## 0.4.12
3244

3345
Released 2026-02-10.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "(MIT OR Apache-2.0) AND NCSA"
66
name = "libfuzzer-sys"
77
readme = "./README.md"
88
repository = "https://github.com/rust-fuzz/libfuzzer"
9-
version = "0.4.12"
9+
version = "0.4.13"
1010
exclude = [
1111
".github",
1212
"ci",

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ Barebones wrapper around LLVM's libFuzzer runtime library.
44

55
The CPP parts are extracted from compiler-rt git repository with `git filter-branch`.
66

7-
libFuzzer relies on LLVM sanitizer support. The Rust compiler has built-in support for LLVM sanitizer support, for now, it's limited to Linux. As a result, `libfuzzer-sys` only works on Linux.
7+
libFuzzer relies on LLVM sanitizer support. The Rust compiler has built-in
8+
support for LLVM sanitizer support, for now, it's limited to Linux. As a result,
9+
`libfuzzer-sys` only works on Linux.
810

911
## Usage
1012

@@ -65,9 +67,11 @@ $ ./target/debug/fuzzed
6567

6668
When using `libfuzzer-sys`, you can provide your own `libfuzzer` runtime in two ways.
6769

68-
If you are developing a fuzzer, you can set the `CUSTOM_LIBFUZZER_PATH` environment variable to the path of your local
69-
`libfuzzer` runtime, which will then be linked instead of building libfuzzer as part of the build stage of `libfuzzer-sys`.
70-
For an example, to link to a prebuilt LLVM 16 `libfuzzer`, you could use:
70+
If you are developing a fuzzer, you can set the `CUSTOM_LIBFUZZER_PATH`
71+
environment variable to the path of your local `libfuzzer` runtime, which will
72+
then be linked instead of building libfuzzer as part of the build stage of
73+
`libfuzzer-sys`. For an example, to link to a prebuilt LLVM 16 `libfuzzer`, you
74+
could use:
7175

7276
```bash
7377
$ export CUSTOM_LIBFUZZER_PATH=/usr/lib64/clang/16/lib/libclang_rt.fuzzer-x86_64.a
@@ -79,21 +83,21 @@ Alternatively, you may also disable the default `link_libfuzzer` feature:
7983
In `Cargo.toml`:
8084
```toml
8185
[dependencies]
82-
libfuzzer-sys = { path = "../../libfuzzer", default-features = false }
86+
libfuzzer-sys = { default-features = false }
8387
```
8488

8589
Then link to your own runtime in your `build.rs`.
8690

8791
## Updating libfuzzer from upstream
8892

8993
* Update the `COMMIT=...` variable in `./update-libfuzzer.sh` with the new
90-
commit hash from [llvm-mirror/llvm-project](github.com/llvm-mirror/llvm-project)
94+
commit hash from [llvm/llvm-project](https://github.com/llvm/llvm-project)
9195
that you are vendoring.
9296

9397
* Re-run the script:
9498

9599
```
96-
$ ./update-libfuzzer.sh <github.com/llvm-mirror/llvm-project SHA1>
100+
$ ./update-libfuzzer.sh
97101
```
98102

99103
## License

0 commit comments

Comments
 (0)