libfuzzer icon indicating copy to clipboard operation
libfuzzer copied to clipboard

Implementation of `fuzz_target!` is overly restrictive

Open cole-miller opened this issue 2 years ago • 0 comments

The fuzz_target! macro doesn't accept closures that use a nontrivial pattern for the single argument, like |mut data| { ... }:

https://github.com/rust-fuzz/libfuzzer/blob/e07c487220402f5bec2151de2856a7caff0639c6/src/lib.rs#L204

cole-miller avatar Jan 28 '23 01:01 cole-miller