You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
715 B
21 lines
715 B
//===- FuzzerMain.cpp - main() function and flags -------------------------===// |
|
// |
|
// The LLVM Compiler Infrastructure |
|
// |
|
// This file is distributed under the University of Illinois Open Source |
|
// License. See LICENSE.TXT for details. |
|
// |
|
//===----------------------------------------------------------------------===// |
|
// main() and flags. |
|
//===----------------------------------------------------------------------===// |
|
|
|
#include "FuzzerDefs.h" |
|
|
|
extern "C" { |
|
// This function should be defined by the user. |
|
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size); |
|
} // extern "C" |
|
|
|
int main(int argc, char **argv) { |
|
return fuzzer::FuzzerDriver(&argc, &argv, LLVMFuzzerTestOneInput); |
|
}
|
|
|