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

Unified Diff: third_party/sqlite/fuzz/sqlite3_prepare_v2_fuzzer.cc

Issue 2497603002: Limit memory usage for sqlite3 fuzzer + move it to sqlite dir. (Closed)
Patch Set: Fix nits. Created 4 years, 1 month 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 | « third_party/sqlite/BUILD.gn ('k') | third_party/sqlite/fuzz/sqlite3_prepare_v2_fuzzer.dict » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/fuzz/sqlite3_prepare_v2_fuzzer.cc
diff --git a/testing/libfuzzer/fuzzers/sqlite3_prepare_v2_fuzzer.cc b/third_party/sqlite/fuzz/sqlite3_prepare_v2_fuzzer.cc
similarity index 99%
rename from testing/libfuzzer/fuzzers/sqlite3_prepare_v2_fuzzer.cc
rename to third_party/sqlite/fuzz/sqlite3_prepare_v2_fuzzer.cc
index 8f7d90a643e56d0b5cc879faef1b39e68361f9b1..27524e1331adcc807b8ff221a73226c9f311da77 100644
--- a/testing/libfuzzer/fuzzers/sqlite3_prepare_v2_fuzzer.cc
+++ b/third_party/sqlite/fuzz/sqlite3_prepare_v2_fuzzer.cc
@@ -47,7 +47,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
&db,
SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE | SQLITE_OPEN_MEMORY, 0);
-
if (SQLITE_OK != return_code)
return 0;
« no previous file with comments | « third_party/sqlite/BUILD.gn ('k') | third_party/sqlite/fuzz/sqlite3_prepare_v2_fuzzer.dict » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698