google / syzkaller

syzkaller is an unsupervised coverage-guided kernel fuzzer
Apache License 2.0
5.32k stars 1.21k forks source link

syzbot: distinguish bootable/non-bootable disk images based on the info from pkg/build #3468

Open a-nogikh opened 1 year ago

a-nogikh commented 1 year ago

Right now we do it straightforwardly:

https://github.com/google/syzkaller/blob/2159e4d29f58ffa1107fc2213dbc87185ff4498f/syz-ci/manager.go#L698-L705

But one exception was missed:

https://github.com/google/syzkaller/commit/456454209820a5cf121a82aff83aa4d47316cf14#commitcomment-87908412

To further complicate things, we also use the existence of kernel file in one other place:

https://github.com/google/syzkaller/blob/2159e4d29f58ffa1107fc2213dbc87185ff4498f/pkg/instance/instance.go#L158-L160

eaibmz commented 1 year ago

https://github.com/google/syzkaller/commit/c34508de34e986c7bb3dbc3e070e47b29350d6b0#commitcomment-87913960