aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem/entity
Commit message (Collapse)AuthorAgeFilesLines
* pkg/subsystem: restructure the packageAleksandr Nogikh2023-02-101-44/+0
| | | | | | Remove the entity and match subpackages. Regenerate the linux.go file.
* pkg/subsystem: detect loops on the goAleksandr Nogikh2023-02-101-0/+3
| | | | This lets us reduce the amount of code in parents.go.
* pkg/subsystem: extract subsystems from a crash listAleksandr Nogikh2023-02-101-0/+17
| | | | | | | | For now, let's use a straightforward approach: 1) Extract all subsystems for each guilty path and syz reproducer. 2) If there are both parents and children in the list, remove parents. 3) Count the remaining subsystems. 4) Pick the ones that appear most often.
* pkg/subsystem/linux: determine parent-child relationsAleksandr Nogikh2023-02-101-0/+1
| | | | | | | | | For that, extract a coincidence count matrix from a path coverage, then apply the following rule. Subsystem A is a child of B if both hold true: 1) More than 2/3 of paths that relate to A also relate to B. 2) B covers more directory tree entities than A.
* pkg/subsystem/linux: add the basic subsystem extraction codeAleksandr Nogikh2023-02-101-1/+9
|
* pkg/subsystem: add the path matching codeAleksandr Nogikh2023-02-101-0/+15
Additionally, optimize the matching by joining the rules without exclusion (that is, almost all MAINTAINER records).