aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/corpus/prio.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/corpus: increase the priority of programs that were rarely selectedcorpusfixGrigory Bazilevich13 hours1-1/+24
|
* pkg/corpus: update Programs List priority storageGrigory Bazilevich2026-02-151-9/+20
| | | | | | | | | | | Static prefix sums have been replaced with a Fenwick tree. In the current syzkaller, program priority was set based on a Signal received by a single system call. This commit allows priority to be changed dynamically, making it possible to maintain priority based on Signals from all system calls. Signed-off-by: Grigory Bazilevich <g.bazilevich@ispras.ru>
* pkg/corpus: support multiple focus areasAleksandr Nogikh2024-10-251-19/+39
| | | | | | | | Focus area assigns a fuzzing priority to a set of PCs. When running ChooseProgram(), corpus will first select a focus area proportionally to the specified weights, and only then continue with selecting a program belonging to it.
* pkg/corpus: don't overwrite ProgsListAleksandr Nogikh2024-05-131-12/+20
| | | | | | | There's still a risk of a race between the pointer overwriting and accesses to the embedded object. Let's use an internal replace() method instead.
* pkg/corpus: a separate package for the corpus functionalityAleksandr Nogikh2024-03-181-0/+51
pkg/fuzzer and syz-manager have a common corpus functionality that can be well be unified. Create a separate pkg/corpus package that would be used by both of them. It will simplify further work of moving pkg/fuzzer to the host.