##// END OF EJS Templates
fuzz: make standalone_fuzz_target_runner call LLVMFuzzerInitialize...
Augie Fackler -
r44253:01ec70a8 default draft
parent child Browse files
Show More
@@ -17,8 +17,12 b''
17 17 // We deliberately keep this inteface simple and header-free.
18 18 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
19 19
20 extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv);
21
20 22 int main(int argc, char **argv)
21 23 {
24 LLVMFuzzerInitialize(&argc, &argv);
25
22 26 for (int i = 1; i < argc; i++) {
23 27 std::ifstream in(argv[i]);
24 28 in.seekg(0, in.end);
General Comments 0
You need to be logged in to leave comments. Login now