<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I think libfuzzer deserves its own flag. I view fuzzing as a smarter testing technology while sanitizers are associated with inserting additional checks into the program. The different linking behavior is another major difference.</div><div class=""><br class=""></div><div class="">Anna.</div><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 27, 2017, at 4:08 PM, Kostya Serebryany via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">on the one hand, <span style="font-size:12.8px" class="">-fsanitize=fuzzer might indeed be confusing as it behaves in somewhat different way compared to other sanitizers </span><br class=""></div><div class=""><span style="font-size:12.8px" class="">Major difference: links in a library with main()</span></div><div class=""><span style="font-size:12.8px" class="">On the other hand, I like "</span><span style="font-size:12.8px" class="">-fsanitize=fuzzer,address" more than "</span><span style="font-size:12.8px" class="">-fsanitize=address -ffuzzer"</span></div><div class=""><br class=""></div><div class=""><span style="font-size:12.8px" class="">--kcc </span></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Apr 25, 2017 at 5:02 PM, George Karpenkov <span dir="ltr" class=""><<a href="mailto:ekarpenkov@apple.com" target="_blank" class="">ekarpenkov@apple.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br class="">
<br class="">
Recently we have introduced a short syntactic sugar flag for compiling a file with libfuzzer:<br class="">
one just needs to add “-fsanitize=fuzzer” to the command line, and the driver would specify<br class="">
coverage flags and link with libfuzzer automatically.<br class="">
I wanted to ask whether it would make more sense to rename the flag to “-ffuzzer”,<br class="">
as it’s not a sanitizer, and it has a much heavier effect.<br class="">
<br class="">
Thanks,<br class="">
George</blockquote></div><br class=""></div>
_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></div></blockquote></div><br class=""></body></html>