diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-06-03 17:18:06 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-06-03 17:29:36 +0000 |
| commit | a1feae05fded93cda1060cc34fc2f422ce63d975 (patch) | |
| tree | d3fd64f3570f93839ac994f609121c7fa6041f2e /pkg/fuzzer/job.go | |
| parent | 8ba049b23119999229bc89e501f61f54a409857d (diff) | |
pkg/fuzzer: separate fault injection stats
Let exec smash describe purely the mutation part of the smash job.
Introduce a separate stat for fault injection executions.
Diffstat (limited to 'pkg/fuzzer/job.go')
| -rw-r--r-- | pkg/fuzzer/job.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/fuzzer/job.go b/pkg/fuzzer/job.go index 94bb77c50..0f6e0309c 100644 --- a/pkg/fuzzer/job.go +++ b/pkg/fuzzer/job.go @@ -368,7 +368,7 @@ func (job *smashJob) faultInjection(fuzzer *Fuzzer) { newProg.Calls[job.call].Props.FailNth = nth result := fuzzer.execute(fuzzer.smashQueue, &queue.Request{ Prog: newProg, - Stat: fuzzer.statExecSmash, + Stat: fuzzer.statExecFaultInject, }) if result.Stop() { return |
