Sfoglia il codice sorgente

fuzz: improve readme and corpora wording

y 3 anni fa
parent
commit
5ac92e3093
2 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. 5 4
      fuzz/README.md
  2. 0 0
      fuzz/corpus/zkas-decoder/corpora_crash_emptyfile

+ 5 - 4
fuzz/README.md

@@ -29,10 +29,11 @@ that an empty input causes a panic.
 
 * Identify your fuzz target (`cargo fuzz list` or whatever you used
 for `cargo fuzz run TARGET`
-* `ls artifacts/TARGET/crash-*`
-* `cat` the crash file and check that it matches the error message from
-the fuzzer
-* Choose a `NAME` for the crash file, e.g. `corpus_emptyfile`
+* Examine the fuzzing artifacts: `ls artifacts/TARGET/`
+* `cat` the file and check that it matches the error message from
+the fuzzer. The filename's prefix will match the kind of error
+encountered: `oom` (out-of-memory), `crash`, etc.
+* Choose a `NAME` for the crash file, e.g. `corpus-crash-emptyfile`
 * `cp artifacts/TARGET/CRASH-FILE corpus/TARGET/NAME`
 
 Then add the new `corpus/TARGET/NAME` file to git.

+ 0 - 0
fuzz/corpus/zkas-decoder/corpora_emptyfile → fuzz/corpus/zkas-decoder/corpora_crash_emptyfile