[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] fuzz: add oss-fuzz build.sh script
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2] fuzz: add oss-fuzz build.sh script |
Date: |
Fri, 5 Jun 2020 20:27:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 6/5/20 7:58 PM, Darren Kenny wrote:
> Hi Alex,
>
> From looking at another OSS Fuzz project recently (a coincidence) I
> wonder if we could make this script work so that it can be run outside
> of the OSS-Fuzz environment?
Yes, we want to have this feature to reproduce/debug what oss-fuzz does.
>
> Specifically, for example, if $OUT is not set, then creating a subdir in
> the build directory, and setting it to be that.
>
> Similarly for some other things like $LIB_FUZZING_ENGINE?
>
> I'm just thinking that it might help someone that is not familiar with
> OSS-Fuzz to validate that the script still works without having to go
> through setting up the containers, etc that would be required to
> validate it.
Exactly.
>
> Also, I would definitely recommend running ShellCheck against any script
> to ensure that you're catching any mistakes that can so easily be put in
> to shell scripts - speaking from experience here ;)
>
> Thanks,
>
> Darren.
[...]