Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: net/ftp/ftp_directory_listing_fuzzer.cc

Issue 1742813002: Move network fuzzers from //testing/libfuzzer/fuzzers to //net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fuzz1
Patch Set: rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/ftp/ftp_ctrl_response_fuzzer.cc ('k') | net/http/http_chunked_decoder_fuzzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_directory_listing_fuzzer.cc
diff --git a/testing/libfuzzer/fuzzers/ftp_directory_listing_fuzzer.cc b/net/ftp/ftp_directory_listing_fuzzer.cc
similarity index 93%
rename from testing/libfuzzer/fuzzers/ftp_directory_listing_fuzzer.cc
rename to net/ftp/ftp_directory_listing_fuzzer.cc
index 0df1f27173fe372931e9734b98b3e10604a6cf04..af99891f39e295f3d1ba6e7d16c4b039fbb21866 100644
--- a/testing/libfuzzer/fuzzers/ftp_directory_listing_fuzzer.cc
+++ b/net/ftp/ftp_directory_listing_fuzzer.cc
@@ -14,9 +14,7 @@
#include "net/ftp/ftp_directory_listing_parser.h"
struct TestCase {
- TestCase() {
- CHECK(base::i18n::InitializeICU());
- }
+ TestCase() { CHECK(base::i18n::InitializeICU()); }
// used by ICU integration.
base::AtExitManager at_exit_manager;
@@ -24,7 +22,6 @@ struct TestCase {
TestCase* test_case = new TestCase();
-
// Entry point for LibFuzzer.
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
std::string buffer(reinterpret_cast<const char*>(data), size);
« no previous file with comments | « net/ftp/ftp_ctrl_response_fuzzer.cc ('k') | net/http/http_chunked_decoder_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698