diff options
| author | Grigory Bazilevich <g.bazilevich@ispras.ru> | 2026-03-11 09:42:40 +0300 |
|---|---|---|
| committer | Grigory Bazilevich <g.bazilevich@ispras.ru> | 2026-03-11 09:42:58 +0300 |
| commit | a68fda52c366653ed73c240a6b9c3f4e750ccdfd (patch) | |
| tree | a1702702b8f77c7838e42bb6dd690d803ccd2b30 /pkg/fuzzer/fuzzer.go | |
| parent | 11e5f51b42b06a5e47fcb04b9796defcbb895ba3 (diff) | |
pkg/fuzzer,pkg/corpus: detection and preservation of programs with probability coverage
Diffstat (limited to 'pkg/fuzzer/fuzzer.go')
| -rw-r--r-- | pkg/fuzzer/fuzzer.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkg/fuzzer/fuzzer.go b/pkg/fuzzer/fuzzer.go index bd55ca9c6..3241cb63a 100644 --- a/pkg/fuzzer/fuzzer.go +++ b/pkg/fuzzer/fuzzer.go @@ -24,8 +24,9 @@ import ( type Fuzzer struct { Stats - Config *Config - Cover *Cover + Config *Config + Cover *Cover + ProbCover *Cover ctx context.Context mu sync.Mutex @@ -50,9 +51,10 @@ func NewFuzzer(ctx context.Context, cfg *Config, rnd *rand.Rand, } } f := &Fuzzer{ - Stats: newStats(target), - Config: cfg, - Cover: newCover(), + Stats: newStats(target), + Config: cfg, + Cover: newCover(), + ProbCover: new(Cover), ctx: ctx, rnd: rnd, |
