diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-03-19 14:52:01 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-03-19 14:22:23 +0000 |
| commit | 70ea129de66278631e12681d4e18d560aa717d4e (patch) | |
| tree | 04d8dbe41eb40fc2e40d70f7cbc3c8613a70ee16 /pkg/fuzzer/fuzzer_test.go | |
| parent | 48ac978206fd44a33bf0758509b90fbe9a40bb70 (diff) | |
all: rename corpus and fuzzer Stat objects
Stats() seems to be a more sound choice since these structures include
multiple data points.
Diffstat (limited to 'pkg/fuzzer/fuzzer_test.go')
| -rw-r--r-- | pkg/fuzzer/fuzzer_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/fuzzer/fuzzer_test.go b/pkg/fuzzer/fuzzer_test.go index 7000bb062..f92b5b3fc 100644 --- a/pkg/fuzzer/fuzzer_test.go +++ b/pkg/fuzzer/fuzzer_test.go @@ -162,7 +162,7 @@ func (f *testFuzzer) oneMore() bool { defer f.mu.Unlock() f.iter++ if f.iter%100 == 0 { - stat := f.fuzzer.Stat() + stat := f.fuzzer.Stats() f.t.Logf("<iter %d>: corpus %d, signal %d, max signal %d, crash types %d", f.iter, stat.Progs, stat.Signal, stat.MaxSignal, len(f.crashes)) } |
