aboutsummaryrefslogtreecommitdiffstats
path: root/prog/images_test.go
Commit message (Collapse)AuthorAgeFilesLines
* prog: annotate image assets with fsck logsFlorent Revest2024-12-091-1/+4
| | | | | | | | | | | | | | | | | | Syscall attributes are extended with a fsck command field which lets file system mount definitions specify a fsck-like command to run. This is required because all file systems have a custom fsck command invokation style. When uploading a compressed image asset to the dashboard, syz-manager also runs the fsck command and logs its output over the dashapi. The dashboard logs these fsck logs into the database. This has been requested by fs maintainer Ted Tso who would like to quickly understand whether a filesystem is corrupted or not before looking at a reproducer in more details. Ultimately, this could be used as an early triage sign to determine whether a bug is obviously critical.
* prog: move image extraction from sys/linuxDmitry Vyukov2022-12-221-0/+81
Now that images are not linux-specific, we can move all image-related logic directly into prog package and significantly simplify the logic.