forked from OSchip/llvm-project
[libFuzzer] modify -print_corpus_stats to print whether the input reaches the focus function
llvm-svn: 333048
This commit is contained in:
parent
610ac3bd42
commit
7f5bf83f53
|
@ -166,9 +166,9 @@ class InputCorpus {
|
|||
void PrintStats() {
|
||||
for (size_t i = 0; i < Inputs.size(); i++) {
|
||||
const auto &II = *Inputs[i];
|
||||
Printf(" [%zd %s]\tsz: %zd\truns: %zd\tsucc: %zd\n", i,
|
||||
Printf(" [% 3zd %s] sz: % 5zd runs: % 5zd succ: % 5zd focus: %d\n", i,
|
||||
Sha1ToString(II.Sha1).c_str(), II.U.size(),
|
||||
II.NumExecutedMutations, II.NumSuccessfullMutations);
|
||||
II.NumExecutedMutations, II.NumSuccessfullMutations, II.HasFocusFunction);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue