diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:46:15 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:46:15 +0000 |
| commit | dd58ef019b700900793a1eb48b52123db01b654e (patch) | |
| tree | fcfbb4df56a744f4ddc6122c50521dd3f1c5e196 /lib/Fuzzer/FuzzerMain.cpp | |
| parent | 2fe5752e3a7c345cdb59e869278d36af33c13fa4 (diff) | |
Notes
Diffstat (limited to 'lib/Fuzzer/FuzzerMain.cpp')
| -rw-r--r-- | lib/Fuzzer/FuzzerMain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Fuzzer/FuzzerMain.cpp b/lib/Fuzzer/FuzzerMain.cpp index c4dffb45d166a..c5af5b0590910 100644 --- a/lib/Fuzzer/FuzzerMain.cpp +++ b/lib/Fuzzer/FuzzerMain.cpp @@ -13,7 +13,7 @@ #include "FuzzerInternal.h" // This function should be defined by the user. -extern "C" void LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size); +extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size); int main(int argc, char **argv) { return fuzzer::FuzzerDriver(argc, argv, LLVMFuzzerTestOneInput); |
