Skip to content

Commit

Permalink
fmt, add doc to script
Browse files Browse the repository at this point in the history
  • Loading branch information
techraed committed Sep 13, 2023
1 parent 61f242d commit e433875
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions utils/runtime-fuzzer/bin/run_corpus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.

//! Runs provided from the cli corpus

//! Just simply run `cargo run -- -p <path_to_corpus>`.
//!
//! Alternatively, `cargo fuzz run` can be used to reproduce some corpus,
//! but it won't give logs of [`GearCalls`] generation, which sheds some
//! light on how `gear-wasm-gen` worked.
//! Just simply run `cargo run --release -- -p <path_to_corpus>`.

use anyhow::Result;
use arbitrary::{Arbitrary, Unstructured};
use std::{
fs,
path::PathBuf,
};
use runtime_fuzzer::{GearCalls, self};
use clap::Parser;
use runtime_fuzzer::{self, GearCalls};
use std::{fs, path::PathBuf};

/// A simple tool to run corpus.
#[derive(Debug, Parser)]
Expand Down

0 comments on commit e433875

Please sign in to comment.