From 08474a4659acf80b7bcc5fc135b33af395724529 Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Fri, 1 Jul 2022 20:40:12 -0400 Subject: [PATCH] Update fuzzer for rename --- interpreter/fuzz/Cargo.lock | 6 +++--- interpreter/fuzz/Cargo.toml | 6 +++--- interpreter/fuzz/fuzz_targets/faye_fuzz.rs | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/interpreter/fuzz/Cargo.lock b/interpreter/fuzz/Cargo.lock index 654cbc4..3a9a116 100644 --- a/interpreter/fuzz/Cargo.lock +++ b/interpreter/fuzz/Cargo.lock @@ -566,7 +566,7 @@ dependencies = [ ] [[package]] -name = "mps-interpreter" +name = "muss-interpreter" version = "0.8.0" dependencies = [ "bliss-audio-symphonia", @@ -581,11 +581,11 @@ dependencies = [ ] [[package]] -name = "mps-interpreter-fuzz" +name = "muss-interpreter-fuzz" version = "0.0.0" dependencies = [ "libfuzzer-sys", - "mps-interpreter", + "muss-interpreter", ] [[package]] diff --git a/interpreter/fuzz/Cargo.toml b/interpreter/fuzz/Cargo.toml index d887d27..5e768af 100644 --- a/interpreter/fuzz/Cargo.toml +++ b/interpreter/fuzz/Cargo.toml @@ -1,9 +1,9 @@ [package] -name = "mps-interpreter-fuzz" +name = "muss-interpreter-fuzz" version = "0.0.0" authors = ["Automatically generated"] publish = false -edition = "2018" +edition = "2021" [package.metadata] cargo-fuzz = true @@ -11,7 +11,7 @@ cargo-fuzz = true [dependencies] libfuzzer-sys = "0.4" -[dependencies.mps-interpreter] +[dependencies.muss-interpreter] path = ".." # Prevent this from interfering with workspaces diff --git a/interpreter/fuzz/fuzz_targets/faye_fuzz.rs b/interpreter/fuzz/fuzz_targets/faye_fuzz.rs index 8899e71..fb3d6dc 100644 --- a/interpreter/fuzz/fuzz_targets/faye_fuzz.rs +++ b/interpreter/fuzz/fuzz_targets/faye_fuzz.rs @@ -1,6 +1,6 @@ #![no_main] #[macro_use] extern crate libfuzzer_sys; -extern crate mps_interpreter; +extern crate muss_interpreter; fuzz_target!(|data: &[u8]| { if let Ok(s) = std::str::from_utf8(data) { @@ -9,7 +9,7 @@ fuzz_target!(|data: &[u8]| { print!("len:{},data:,", data.len()); } let mut cursor = std::io::Cursor::new(data); - let interpreter = mps_interpreter::MpsFaye::with_stream(&mut cursor); + let interpreter = muss_interpreter::Interpreter::with_stream(&mut cursor); for item in interpreter { match item { Err(e) => print!("err:{},", e),