Debian Codegraph @

.cargo/vendor/libfuzzer-sys/CHANGELOG.md

raw
1 ## Unreleased
2
3 Released YYYY-MM-DD.
4
5 ### Added
6
7 * TODO (or remove section if none)
8
9 ### Changed
10
11 * TODO (or remove section if none)
12
13 ### Deprecated
14
15 * TODO (or remove section if none)
16
17 ### Removed
18
19 * TODO (or remove section if none)
20
21 ### Fixed
22
23 * TODO (or remove section if none)
24
25 ### Security
26
27 * TODO (or remove section if none)
28
29 --------------------------------------------------------------------------------
30
31 ## 0.4.10
32
33 Released 2025-07-03.
34
35 ### Changed
36
37 * Updated to `libFuzzer` commit `6146a88f6049` (`release/20.x`).
38 * Fuzz targets taking raw byte slice inputs can now return `Corpus` results.
39
40 --------------------------------------------------------------------------------
41
42 ## 0.4.9
43
44 Released 2025-01-28.
45
46 ### Added
47
48 * The `example_init` demonstrates how to pass an initialization code block to
49 the `fuzz_target!` macro.
50
51 ### Changed
52
53 * The `fuzz_target!` macro now supports the generation of `LLVMFuzzerInitialize`
54 to execute initialization code once before running the fuzzer. This change is
55 not breaking and is completely backward compatible.
56
57 --------------------------------------------------------------------------------
58
59 ## 0.4.8
60
61 Released 2024-11-07.
62
63 ### Added
64
65 * Bindings to `LLVMFuzzerCustomCrossOver` through the `fuzz_crossover`
66 macro. See the `example_crossover` directory in this crate's repo for a
67 complete example.
68
69 ### Changed
70
71 * Updated to `libFuzzer` commit `ab51eccf88f5321e7c60591c5546b254b6afab99`
72 (`release/19.x`).
73
74 --------------------------------------------------------------------------------
75
76 ## 0.4.7
77
78 Released 2023-08-10.
79
80 ### Added
81
82 * Added the `link_libfuzzer` cargo feature. This feature is on by default and
83 preserves the existing behavior of statically linking libfuzzer. You can
84 disable it if you are linking your own version of libfuzzer some other way, or
85 another library that provides the same ABI as libfuzzer.
86
87 --------------------------------------------------------------------------------
88
89 ## 0.4.6
90
91 Released 2023-01-26.
92
93 ### Fixed
94
95 * Fixed a potential name conflict in functions generated by the `fuzz_target!`
96 macro.
97 * Fixed potential stale builds when updating custom libfuzzers to link against.
98
99 --------------------------------------------------------------------------------
100
101 ## 0.4.5
102
103 Released 2022-10-18.
104
105 ### Added
106
107 * Added the ability to tell libfuzzer whether to keep files inputs in the corpus
108 or not. See the `Corpus` type and extended documentation for the
109 `fuzz_target!` macro for details.
110
111 ### Changed
112
113 * Ensured that there is always at least one inline-never frame on the stack per
114 fuzz target. This helps prevent oss-fuzz from "deduplicating" different bugs
115 from different fuzz targets into the same bug.
116
117 --------------------------------------------------------------------------------
118
119 ## 0.4.4
120
121 Released 2022-09-01.
122
123 ### Changed
124
125 * Updated to `libFuzzer` commit `df90d22` (`release/15.x`).
126 * LLVM 16's [upcoming change][llvm_cxx17] to build requirements to C++17
127 necessitate reflecting those changes. (`libFuzzer` updates contain C++14 code)
128 * Drastically reduce build times by using parallel C++ compilation jobs
129 * Updated `rand` dependency from 0.8.3 to 0.8.5
130 * Updated `flate2` dependency from 1.0.20 to 1.0.24
131
132 [llvm_cxx17]: https://llvm.org/docs/ReleaseNotes.html#update-on-required-toolchains-to-build-llvm
133
134 --------------------------------------------------------------------------------
135
136 ## 0.4.3
137
138 Released 2020-03-03.
139
140 ### Changed
141
142 * Updated to `libFuzzer` commit `60e32a1`.
143
144 ### Fixed
145
146 * Fixed an issue where the `fuzz_target!` macro would sometimes expand to
147 versions of itself that were not `$crate` prefixed and would result in "error:
148 cannot find macro `fuzz_target` in this scope" if the caller didn't import the
149 macro but used the qualified version of it instead.
150
151 --------------------------------------------------------------------------------
152
153 ## 0.4.2
154
155 Released 2020-05-26.
156
157 ### Changed
158
159 * Improved performance of checking for whether `cargo fuzz` is requesting the
160 `std::fmt::Debug` output of an input or not. This is always false during
161 regular fuzzing, so making this check faster should give slightly better
162 fuzzing throughput.
163
164 --------------------------------------------------------------------------------
165
166 ## 0.4.1
167
168 Released 2020-05-13.
169
170 ### Added
171
172 * Added support for defining custom mutators. See [the documentation for the
173 `fuzz_mutator!`
174 macro](https://docs.rs/libfuzzer-sys/0.4.1/libfuzzer_sys/macro.fuzz_mutator.html)
175 for details.
176
177 ### Changed
178
179 * Upgraded libfuzzer to llvm/llvm-project's 70cbc6d.
180
181 --------------------------------------------------------------------------------
182
183 ## 0.4.0
184
185 Released 2021-02-24.
186
187 ### Changed
188
189 * The public `arbitrary` dependency was updated to version 1.0.
190
191 --------------------------------------------------------------------------------
192
193 ## 0.3.5
194
195 Released 2020-11-18.
196
197 ### Changed
198
199 * [Upgrade libfuzzer to 7bf89c2](https://github.com/rust-fuzz/libfuzzer/pull/68)
200
201 --------------------------------------------------------------------------------
202
203 ## 0.3.4
204
205 Released 2020-08-22.
206
207 ### Changed
208
209 * Updated `arbitrary` dependency to 0.4.6
210
211 --------------------------------------------------------------------------------
212
213 ## 0.3.3
214
215 Released 2020-07-27.
216
217 ### Changed
218
219 * Upgraded libfuzzer to commit
220 [4a4cafa](https://github.com/llvm/llvm-project/commit/4a4cafabc9067fced5890a245b03ef5897ad988b).
221
222 Notably, this pulls in [the new Entropic engine for
223 libFuzzer](https://mboehme.github.io/paper/FSE20.Entropy.pdf), which should
224 boost fuzzing efficiency when enabled. You can enable Entropic by passing
225 `-entropic=1` to your built fuzz targets (although, note that it is still
226 labeled "experimental").
227
228 --------------------------------------------------------------------------------
229
230 ## 0.3.2
231
232 Released 2020-03-18.
233
234 ### Changed
235
236 * Upgraded the `arbitrary` dependency re-export to version 0.4.1.
237
238 --------------------------------------------------------------------------------
239
240 ## 0.3.1
241
242 Released 2020-02-27.
243
244 ### Changed
245
246 * Fixed a fuzzing performance issue where libfuzzer could unnecessarily spend
247 time exploring all the ways that an `Arbitrary` implementation could fail to
248 construct an instance of itself because the fuzzer provided too few bytes. See
249 https://github.com/rust-fuzz/libfuzzer/issues/59 for details.
250
251 --------------------------------------------------------------------------------
252
253 ## 0.3.0
254
255 Released 2019-01-22.
256
257 ### Changed
258
259 * Now works with and re-exports `arbitrary` versions 0.4.x.
260
261 --------------------------------------------------------------------------------
262
263 ## 0.2.1
264
265 Released 2019-01-16.
266
267 ### Added
268
269 * Added support for the `CUSTOM_LIBFUZZER_STD_CXX=<lib>` environment variable
270 during builds that already use a custom libFuzzer checkout with
271 `CUSTOM_LIBFUZZER_PATH`. This allows you to explicitly choose to link LLVM or
272 GNU C++ standard libraries.
273
274 --------------------------------------------------------------------------------
275
276 ## 0.2.0
277
278 Released 2020-01-14.
279
280 ### Changed
281
282 * Using `arbitrary` 0.3.x now. It is re-exported as `libfuzzer_sys::arbitrary`.
283
284 ### Added
285
286 * You can enable support for `#[derive(Arbitrary)]` with the
287 `"arbitrary-derive"` cargo feature. This is a synonym for the `arbitrary`
288 crate's `"derive"` cargo feature.
289
290 --------------------------------------------------------------------------------
291
292 ## 0.1.0