fuzzilli icon indicating copy to clipboard operation
fuzzilli copied to clipboard

docker usage help

Open We5ter opened this issue 3 years ago • 3 comments

Hi Samuel, I followed the construction for docker docker run -ti fuzzilli ./Fuzzilli --profile=v8 /home/fuzzer/v8/d8, but I forgot to add storagePath.

Fuzzilli has found 1 crash, but I didn't see it in docker, has it been discarded? Thanks for your help.

BTW, Happy holiday!

We5ter avatar Dec 27 '21 08:12 We5ter

Maybe modify this line will solve this problem let storagePath = args["--storagePath"] ?? "./output"

We5ter avatar Dec 27 '21 09:12 We5ter

Hi! Yeah, currently if you don't specify --storagePath, it won't write anything to disk: https://github.com/googleprojectzero/fuzzilli/blob/cde2e151ccdb1d34b73117ea89bdeb33ae921b13/Sources/FuzzilliCli/main.swift#L463

The main reason for that is that workers don't need disk storage: they simply send everything they find to a manager instance, which then writes it to disk. I guess we could require an explicit --no-storage flag to be passed for instances that are not workers or otherwise abort (I do like to be able to run without storage for quick testing locally). WDYT?

saelo avatar Dec 28 '21 09:12 saelo

Yeah, it's a good idea, maybe we need abort the fuzzilli cli running when people don't specify either--no-storage flag or --storagePath flag, a green hand like me always don’t notice that warning because the fuzzilli cli is still running.

We5ter avatar Dec 29 '21 02:12 We5ter