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

Side by Side Diff: third_party/sqlite/BUILD.gn

Issue 2524753002: Add ossfuzz.c fuzzer for sqlite3 (taken from the upstream). (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/sqlite/fuzz/ossfuzz.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//testing/libfuzzer/fuzzer_test.gni") 5 import("//testing/libfuzzer/fuzzer_test.gni")
6 6
7 declare_args() { 7 declare_args() {
8 # Controls whether the build should uses the version of sqlite3 library 8 # Controls whether the build should uses the version of sqlite3 library
9 # shipped with the system (currently only supported on iOS) or the one 9 # shipped with the system (currently only supported on iOS) or the one
10 # shipped with Chromium source. 10 # shipped with Chromium source.
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 269
270 fuzzer_test("sqlite3_prepare_v2_fuzzer") { 270 fuzzer_test("sqlite3_prepare_v2_fuzzer") {
271 sources = [ 271 sources = [
272 "fuzz/sqlite3_prepare_v2_fuzzer.cc", 272 "fuzz/sqlite3_prepare_v2_fuzzer.cc",
273 ] 273 ]
274 deps = [ 274 deps = [
275 ":sqlite", 275 ":sqlite",
276 ] 276 ]
277 dict = "fuzz/sqlite3_prepare_v2_fuzzer.dict" 277 dict = "fuzz/sqlite3_prepare_v2_fuzzer.dict"
278 } 278 }
279
280 fuzzer_test("sqlite3_ossfuzz_fuzzer") {
281 # TODO(mmoroz, shess): remove fuzz/ossfuzz.c after next sqlite3 update.
Scott Hess - ex-Googler 2016/11/22 19:14:14 Just for my info, you mean replace that reference
mmoroz 2016/11/22 20:11:34 Yes, replace it + remove 'fuzz/ossfuzz.c' file fro
282 sources = [
283 "fuzz/ossfuzz.c",
284 ]
285 deps = [
286 ":sqlite",
287 ]
288 dict = "fuzz/sql.dict"
289 }
OLDNEW
« no previous file with comments | « no previous file | third_party/sqlite/fuzz/ossfuzz.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698