From 8e7327971f26b591aae67014ddb5e501d0d10d3e Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sat, 1 Sep 2018 21:47:00 -0500 Subject: [PATCH] apparently cov hashes arent always marshal-able --- run.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.rb b/run.rb index 2dba4b0..00b7e22 100644 --- a/run.rb +++ b/run.rb @@ -27,7 +27,7 @@ def start_reporting_process(reader) encoded_bytes = message[:bytes] # TODO: replace numbers in hash with booleans - cov_hash = message[:cov].hash + cov_hash = message[:cov_hash] if seen.include?(cov_hash) next @@ -66,7 +66,7 @@ def start_fuzzing_process(file_path, writer) Base64.strict_encode64( Marshal.dump({ bytes: bytes, - cov: Coverage.result, + cov_hash: Coverage.result.hash, }) ) ) -- 2.51.2