[PATCH] D36324: Integrate Kostya's clang-proto-fuzzer with LLVM.
Matt Morehouse via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 4 15:35:18 PDT 2017
morehouse added inline comments.
================
Comment at: clang/tools/clang-fuzzer/ClangFuzzer.cpp:20
extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
std::string s((const char *)data, size);
----------------
morehouse wrote:
> vitalybuka wrote:
> > Do we want replace this fuzzer? Why not just add another one?
> The idea was to keep ClangFuzzer and add ClangProtoFuzzer alongside it. However, the two share a fair amount of code, which was factored out into HandleCXX.
> It's ok to share code, but I don't see fuzzer with accept string as is.
That's exactly what this fuzzer is doing.
https://reviews.llvm.org/D36324
More information about the cfe-commits
mailing list