summaryrefslogtreecommitdiffstats
path: root/contrib/libs/libfuzzer12/FuzzerMain.cpp
diff options
context:
space:
mode:
authorthegeorg <[email protected]>2022-11-07 19:34:08 +0300
committerthegeorg <[email protected]>2022-11-07 19:34:08 +0300
commit50f76e264c70a223a34b24aa59e97bff97128f4c (patch)
treee604247a10f09df6158c172577b9bfa431f1e1b5 /contrib/libs/libfuzzer12/FuzzerMain.cpp
parent278a58c5af63dbd7f7a6d8b8d92dc246651242da (diff)
Switch fuzz tests to contrib/libs/libfuzzer
Diffstat (limited to 'contrib/libs/libfuzzer12/FuzzerMain.cpp')
-rw-r--r--contrib/libs/libfuzzer12/FuzzerMain.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/contrib/libs/libfuzzer12/FuzzerMain.cpp b/contrib/libs/libfuzzer12/FuzzerMain.cpp
deleted file mode 100644
index 75f2f8e75c9..00000000000
--- a/contrib/libs/libfuzzer12/FuzzerMain.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-//===- FuzzerMain.cpp - main() function and flags -------------------------===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-// main() and flags.
-//===----------------------------------------------------------------------===//
-
-#include "FuzzerDefs.h"
-#include "FuzzerPlatform.h"
-
-extern "C" {
-// This function should be defined by the user.
-int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
-} // extern "C"
-
-ATTRIBUTE_INTERFACE int main(int argc, char **argv) {
- return fuzzer::FuzzerDriver(&argc, &argv, LLVMFuzzerTestOneInput);
-}