<div dir="auto">Hey Andrei,<div dir="auto"><br></div><div dir="auto">Got it. I believe it is possible but in that case it will require more development indeed. I don't think I'll be able to pull it off in my free time but if there is someway of sponsoring this kind of work it might help accelerating this feature.</div><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto">Yevgeny</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 26, 2019, 3:17 PM Andrei Zeliankou <<a href="mailto:zelenkov@nginx.com">zelenkov@nginx.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Yevgeny,<br>
<br>
Currently, nginx has no support of compiling parts of source as standalone<br>
library. It's quite sophisticated problem and there is no short term plans to<br>
implement it. If you succeed in developing a library or fuzz targets - please<br>
let us know, we are interested in solving these problems for nginx.<br>
<br>
Regards,<br>
Andrei Zeliankou<br>
<br>
<br>
> On 25 Nov 2019, at 19:35, Yevgeny Pats <<a href="mailto:yp@fuzzit.dev" target="_blank" rel="noreferrer">yp@fuzzit.dev</a>> wrote:<br>
> <br>
> Hey Andrei,<br>
> <br>
> Thanks for your response. Both libFuzzer and AFL needs to collect coverage somehow to operate efficiently and find bugs. <br>
> <br>
> I'm not very familiar yet with nginx code base but I did integrate fuzz targets for envoy proxy so maybe we can do something similar.<br>
> <br>
> Is it possible for example to compile only parts of nginx to a standalone library? (some of the parsing code that has no other dependencies).<br>
> <br>
> Best,<br>
> Yevgeny<br>
> <br>
> On Mon, Nov 25, 2019 at 4:07 PM Andrei Zeliankou <<a href="mailto:zelenkov@nginx.com" target="_blank" rel="noreferrer">zelenkov@nginx.com</a>> wrote:<br>
> <br>
> <br>
> > On 22 Nov 2019, at 19:42, Yevgeny Pats <<a href="mailto:yp@fuzzit.dev" target="_blank" rel="noreferrer">yp@fuzzit.dev</a>> wrote:<br>
> > <br>
> > Hey Team,<br>
> > <br>
> > I'm Yevgeny Pats, Founder of Fuzzit.<br>
> > <br>
> > I'm not sure about the current state of fuzzing in Nginx but I thought it was worth asking/discussing.<br>
> > <br>
> > If adding new fuzz targets to nginx and running those continuously as part of the CI is interesting I'll be happy to help both write some of the fuzz target as well as help integrate the fuzz target to Fuzzit (we have a free plan for OSS projects).<br>
> > <br>
> > Would love to hear your thoughts as well as answer any questions about Fuzzit service that you might have.<br>
> > <br>
> > Cheers,<br>
> > Yevgeny<br>
> > _______________________________________________<br>
> > nginx-devel mailing list<br>
> > <a href="mailto:nginx-devel@nginx.org" target="_blank" rel="noreferrer">nginx-devel@nginx.org</a><br>
> > <a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
> <br>
> <br>
> Hi Yevgeny,<br>
> <br>
> Currently, nginx has no library so it's not possible to use fuzz targets.<br>
> Possible way to fuzz nginx is in binary mode (e.g. routing fuzz input to the<br>
> listen socket). Is it possible to run continuously fuzzing in Fuzzit<br>
> without fuzz targets?<br>
> <br>
> --<br>
> Andrei Zeliankou<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> nginx-devel mailing list<br>
> <a href="mailto:nginx-devel@nginx.org" target="_blank" rel="noreferrer">nginx-devel@nginx.org</a><br>
> <a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
> _______________________________________________<br>
> nginx-devel mailing list<br>
> <a href="mailto:nginx-devel@nginx.org" target="_blank" rel="noreferrer">nginx-devel@nginx.org</a><br>
> <a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org" target="_blank" rel="noreferrer">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
</blockquote></div>