Skip to content

Commit

Permalink
Remove vestigial sidefuzz support (#597)
Browse files Browse the repository at this point in the history
Originally added in #119 along with dudect support, however it was
incomplete.

This is now triggering warnings on the latest nightly versions.
  • Loading branch information
tarcieri authored May 7, 2024
1 parent ec96265 commit ea6e005
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,3 @@ pub mod prelude {
#[cfg(feature = "hybrid-array")]
pub use crate::array::{ArrayDecoding, ArrayEncoding};
}

#[cfg(sidefuzz)]
#[no_mangle]
pub extern "C" fn fuzz() {
let input = sidefuzz::fetch_input(32); // 32 bytes of of fuzzing input as a &[u8]
sidefuzz::black_box(my_hopefully_constant_fn(input));
}

0 comments on commit ea6e005

Please sign in to comment.