Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
Update fuzzer for rename
Browse files Browse the repository at this point in the history
  • Loading branch information
NGnius committed Jul 2, 2022
1 parent fca508b commit 08474a4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions interpreter/fuzz/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions interpreter/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[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

[dependencies]
libfuzzer-sys = "0.4"

[dependencies.mps-interpreter]
[dependencies.muss-interpreter]
path = ".."

# Prevent this from interfering with workspaces
Expand Down
4 changes: 2 additions & 2 deletions interpreter/fuzz/fuzz_targets/faye_fuzz.rs
Original file line number Diff line number Diff line change
@@ -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) {
Expand All @@ -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),
Expand Down

0 comments on commit 08474a4

Please sign in to comment.