sidefuzz
sidefuzz copied to clipboard
wasm error on `sidefuzz` execution
Hi,
I' trying to sidefuzz the sha3 implementation of RustCrypto, but it gives the following error:
Error: wasm error: Function: Module doesn't have export input_is_str
Here is the code:
use sha3::{Digest, Sha3_512};
#[no_mangle]
pub extern "C" fn fuzz() {
let input = sidefuzz::fetch_input(80);
sidefuzz::black_box(Sha3_512::default().chain(input).result());
}
Do you know what is going wrong?
Hello, I met the same problem with you when running sidefuzz-targets. Could you tell me how to solve this problem if you have done?
I didn't look at it again until now, but updating my sidefuzz executable and using the git version the library instead of version 0.1.2 seems to have fixed the problem.
So
sidefuzz = {git = "https://github.com/phayes/sidefuzz.git"}
instead of
sidefuzz = "0.1.2"
Yes, it did. Thank you for your help!