From 1745e7ce5743674b6a2af2b4f168ad78d196991f Mon Sep 17 00:00:00 2001 From: generatedunixname89002005279527 Date: Mon, 14 Oct 2024 13:26:15 -0700 Subject: [PATCH] fbcode/proxygen/fuzzers Reviewed By: markisaa Differential Revision: D64099144 fbshipit-source-id: ff6f761978a2642f09ffa1f068d3afbd4031baf9 --- proxygen/fuzzers/ProxygenHTTP1xFuzzer.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 proxygen/fuzzers/ProxygenHTTP1xFuzzer.cpp diff --git a/proxygen/fuzzers/ProxygenHTTP1xFuzzer.cpp b/proxygen/fuzzers/ProxygenHTTP1xFuzzer.cpp deleted file mode 100644 index db886ad422..0000000000 --- a/proxygen/fuzzers/ProxygenHTTP1xFuzzer.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. - */ - -#include -#include -#include -#include - -using namespace proxygen; -using namespace std; - -extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { - FakeHTTPCodecCallback callbacks; - HTTP1xCodec codec(TransportDirection::DOWNSTREAM); - codec.setCallback(&callbacks); - parse(&codec, Data, Size, Size); - return 0; -}