Skip to content

Commit 8ef77df

Browse files
committed
Hungfuzz needs same stuff as afl?
1 parent 97bd569 commit 8ef77df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fuzz/fuzz_targets/smallvec_ops.rs

+3
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ extern crate honggfuzz;
197197
fn main() {
198198
loop {
199199
fuzz!(|data| {
200+
// Remove the panic hook so we can actually catch panic
201+
// See https://github.com/rust-fuzz/afl.rs/issues/150
202+
std::panic::set_hook(Box::new(|_| {}));
200203
do_test_all(data);
201204
});
202205
}

0 commit comments

Comments
 (0)