fuzzilli icon indicating copy to clipboard operation
fuzzilli copied to clipboard

Why not set a default storagePath?

Open Lqingyu opened this issue 4 years ago • 1 comments

Lqingyu avatar Jun 27 '21 06:06 Lqingyu

So I guess there are at least two issues with that:

  • What to do if the directory already exists? Should one of --resume or --overwrite be the default as well (probably not --overwrite?) or do we just error out here in that case
  • Workers don't use a storagePath: https://github.com/googleprojectzero/fuzzilli/blob/f31ba8ee5f1d7d5f338a0d047a55d21b13494f7a/Cloud/GCE/start.sh#L205

That said, maybe we could add an explicit --no-storage flag or something like that, or we could turn this line https://github.com/googleprojectzero/fuzzilli/blob/f31ba8ee5f1d7d5f338a0d047a55d21b13494f7a/Sources/FuzzilliCli/main.swift#L462 into a fatal error, so I'm open to suggestions here.

saelo avatar Jun 28 '21 06:06 saelo