From 70ea129de66278631e12681d4e18d560aa717d4e Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 19 Mar 2024 14:52:01 +0100 Subject: all: rename corpus and fuzzer Stat objects Stats() seems to be a more sound choice since these structures include multiple data points. --- pkg/fuzzer/fuzzer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/fuzzer/fuzzer_test.go') 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(": corpus %d, signal %d, max signal %d, crash types %d", f.iter, stat.Progs, stat.Signal, stat.MaxSignal, len(f.crashes)) } -- cgit mrf-deployment