aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/syz_mount_image
Commit message (Collapse)AuthorAgeFilesLines
* executor: don't pass uncompressed zlib sizeDmitry Vyukov2022-11-231-1/+1
| | | | | | This will allow us to mutate the image size. Fixes #3527
* sys/linux: regenerate `syz_mount_image` seedsHrutvik Kanabar2022-11-211-1/+1
| | | | | | | | | | | | | | Update seeds to account for the new pseudo-syscall prototype and the new compressed Base64 syntax. This reduces `syz-imagegen` seed image space requirements from 127 MB to 43 MB (measured using `du -ch syz_mount_image_*`). Note that some filesystems are pathological for deflate, e.g. for `f2fs` seed image space has increased from 320 KB to 2.1 MB. This discrepancy should not be observed in corpuses after performing various filesystem operations and image mutations - the previous ad-hoc compression is highly efficient for near-empty images, but once images are modified deflate should surpass it. Tools/versions used are as in google@0d24140 and google@356d821.
* sys/linux: fix invalid args in syz_mount_image testsAleksandr Nogikh2022-09-291-2/+1
|
* sys/linux: update manual `syz_mount_image` callsHrutvik Kanabar2022-09-131-2/+2
| | | | | | Add the missing boolean argument for changing directory to `syz_mount_image` calls which are not generated by `syz-imagegen`. Set it to false to ensure behaviour is as before.
* prog: fix tests for string enforcementDmitry Vyukov2020-01-051-2/+2
| | | | | | | | String value enforcement broke a number of tests where we use different values. Be more string as to what string values we use in tests. Required to add tmpfs descriptions to test syz_mount_image. Also special-casing AF_ALG algorithms as these are auto-generated.
* executor: fix syz_mount_imageDmitry Vyukov2019-12-101-0/+2
1. It always crashed in cover_reset when coverage is disabled. 2. Use NONFAILING when accessing image segments. 3. Give it additional 100 ms as it may be slow. 4. Add a test for syz_mount_image.