Skip to content

Commit a62a14c

Browse files
author
Kevin Valerio
committed
reverting
1 parent b2a8259 commit a62a14c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/fuzzer/coverage.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,9 @@ impl Coverage {
4141
let coverage_lines: Vec<&str> = coverage_str.split('\n').collect();
4242

4343
println!("[🚧DEBUG TRACE] : {:?}", coverage_lines);
44-
println!("[🚧MAX REACHABLE COVERAGE] : {:?}", &self.max_coverage);
44+
// println!("[🚧MAX REACHABLE COVERAGE] : {:?}", &self.max_coverage);
4545
seq_macro::seq!(x in 0..=500 {
4646
let target = format!("COV={}", x);
47-
4847
if coverage_lines.contains(&target.as_str()) {
4948
let _ = black_box(x + 1);
5049
println!(" A ");

src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ fn main() {
159159
// We still manually execute ziggy build, to ensure that the ALLOW_LIST works correctly
160160
start_cargo_ziggy_not_fuzzing_process(contract_dir.clone(), ZiggyCommand::Build);
161161

162+
println!("");
163+
162164
start_cargo_ziggy_fuzz_process(cores, use_honggfuzz);
163165

164166
if var("PHINK_START_FUZZING").is_ok() {
@@ -261,7 +263,7 @@ fn start_cargo_ziggy_not_fuzzing_process(contract_dir: PathBuf, command: ZiggyCo
261263
.expect("🙅 Failed to execute cargo ziggy command...");
262264

263265
if let Some(stdout) = ziggy_child.stdout.take() {
264-
let reader = std::io::BufReader::new(stdout);
266+
let reader = io::BufReader::new(stdout);
265267
for line in reader.lines() {
266268
match line {
267269
Ok(line) => println!("{}", line),

0 commit comments

Comments
 (0)