[PATCH] Fuzzer: When using token-based fuzzing, put spaces between them

Justin Bogner mail at justinbogner.com
Wed May 20 23:42:10 PDT 2015


Hey Kostya,

I was playing with clang-fuzz and the -tokens= flag, and I noticed most
of the generated inputs contain things like "elsedeletecontinue1union",
where a bunch of tokens are concatenated together with no spaces, such
that we just get long ascii identifiers rather than distinct tokens. It
seems like we're more likely to get interesting input out of the tokens
if we space-delimit them.

WDYT?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fuzzer-tokens.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150520/0add7da7/attachment.bin>


More information about the llvm-commits mailing list