Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 # PDFium fuzzers. | 5 # PDFium fuzzers. |
| 6 | 6 |
| 7 import("//third_party/pdfium/pdfium.gni") | 7 import("//third_party/pdfium/pdfium.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 import("//testing/libfuzzer/fuzzer_test.gni") | 9 import("//testing/libfuzzer/fuzzer_test.gni") |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 29 } | 29 } |
| 30 | 30 |
| 31 fuzzer_test("pdf_jpx_fuzzer") { | 31 fuzzer_test("pdf_jpx_fuzzer") { |
| 32 sources = [] | 32 sources = [] |
| 33 deps = [ | 33 deps = [ |
| 34 "//third_party/pdfium/testing/libfuzzer:pdf_jpx_fuzzer", | 34 "//third_party/pdfium/testing/libfuzzer:pdf_jpx_fuzzer", |
| 35 ] | 35 ] |
| 36 seed_corpus = "corpora/pdf_jpx" | 36 seed_corpus = "corpora/pdf_jpx" |
| 37 } | 37 } |
| 38 | 38 |
| 39 fuzzer_test("pdf_hint_table_fuzzer") { | |
| 40 sources = [] | |
| 41 deps = [ | |
| 42 "//third_party/pdfium/testing/libfuzzer:pdf_hint_table_fuzzer", | |
| 43 ] | |
| 44 seed_corpus = "corpora/pdf_hint_table" | |
|
Oliver Chang
2016/08/19 19:02:26
pdf/pdfium/fuzzers/corpora/pdf_hint_table doesn't
Lei Zhang
2016/08/19 19:03:23
I don't actually have a seed_corpus. This is just
| |
| 45 } | |
| 46 | |
| 39 if (pdf_enable_xfa) { | 47 if (pdf_enable_xfa) { |
| 40 fuzzer_test("pdf_codec_bmp_fuzzer") { | 48 fuzzer_test("pdf_codec_bmp_fuzzer") { |
| 41 sources = [] | 49 sources = [] |
| 42 deps = [ | 50 deps = [ |
| 43 "//third_party/pdfium/testing/libfuzzer:pdf_codec_bmp_fuzzer", | 51 "//third_party/pdfium/testing/libfuzzer:pdf_codec_bmp_fuzzer", |
| 44 ] | 52 ] |
| 45 seed_corpus = "corpora/pdf_codec_bmp" | 53 seed_corpus = "corpora/pdf_codec_bmp" |
| 46 } | 54 } |
| 47 | 55 |
| 48 fuzzer_test("pdf_codec_gif_fuzzer") { | 56 fuzzer_test("pdf_codec_gif_fuzzer") { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 106 } | 114 } |
| 107 | 115 |
| 108 fuzzer_test("pdf_cfx_saxreader_fuzzer") { | 116 fuzzer_test("pdf_cfx_saxreader_fuzzer") { |
| 109 sources = [] | 117 sources = [] |
| 110 deps = [ | 118 deps = [ |
| 111 "//third_party/pdfium/testing/libfuzzer:pdf_cfx_saxreader_fuzzer", | 119 "//third_party/pdfium/testing/libfuzzer:pdf_cfx_saxreader_fuzzer", |
| 112 ] | 120 ] |
| 113 dict = "dicts/pdf_xml.dict" | 121 dict = "dicts/pdf_xml.dict" |
| 114 } | 122 } |
| 115 } | 123 } |
| OLD | NEW |