Update fuzzer for rename

This commit is contained in:
NGnius (Graham) 2022-07-01 20:40:12 -04:00
parent fca508b473
commit 08474a4659
3 changed files with 8 additions and 8 deletions

View file

@ -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]]

View file

@ -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

View file

@ -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:<non-ut8>,", 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),