Samba coverage on oss-fuzz (was: Re: fuzzers)

Andrew Bartlett abartlet at samba.org
Fri Oct 23 07:29:40 UTC 2020


On Fri, 2020-02-07 at 11:35 +1300, Andrew Bartlett via samba-technical
wrote:
> 
> I looked into this some more, and the build seems to be working on
> the
> 
> Samba side, but the issue is that because we supply no fuzz seeds at
> 
> all, we fail the test because they don't get run.
> 
> 
> 
> Once we add some seeds things should get better.

We added seeds, but the issue was that we didn't supply the coverage
flags as linker flags.

We now, finally have a working coverage build, with output here:

https://oss-fuzz.com/coverage-report/job/libfuzzer_asan_samba/latest

To improve that, please add:
 * better seeds to https://gitlab.com/samba-team/samba-fuzz-seeds/
 * better fuzzers to our build (eg more targeted)
 * improvements our code to not have impossible-to-meet branches

Andrew Bartlett

-- 
Andrew Bartlett                       https://samba.org/~abartlet/
Authentication Developer, Samba Team  https://samba.org
Samba Developer, Catalyst IT          
https://catalyst.net.nz/services/samba






More information about the samba-technical mailing list