We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2542ae4 + c6b28ae commit 500b98aCopy full SHA for 500b98a
src/lib.rs
@@ -1,3 +1,5 @@
1
+pub use arbitrary;
2
+
3
extern "C" {
4
#![allow(improper_ctypes)] // we do not actually cross the FFI bound here
5
@@ -48,7 +50,7 @@ macro_rules! fuzz_target {
48
50
(|$data:ident: $dty: ty| $body:block) => {
49
51
#[no_mangle]
52
pub extern fn rust_fuzzer_test_input(bytes: &[u8]) {
- use arbitrary::{Arbitrary, RingBuffer};
53
+ use libfuzzer_sys::arbitrary::{Arbitrary, RingBuffer};
54
55
let mut buf = match RingBuffer::new(bytes, bytes.len()) {
56
Ok(b) => b,
0 commit comments