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

Side by Side Diff: test/fuzzer/fuzzer.gyp

Issue 2336603002: [wasm] Write fuzzers for single wasm sections. (Closed)
Patch Set: Rebase Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | test/fuzzer/fuzzer.isolate » ('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 2016 the V8 project authors. All rights reserved. 1 # Copyright 2016 the V8 project 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 { 5 {
6 'variables': { 6 'variables': {
7 'v8_code': 1, 7 'v8_code': 1,
8 }, 8 },
9 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'], 9 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'],
10 'targets': [ 10 'targets': [
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 'include_dirs': [ 164 'include_dirs': [
165 '../..', 165 '../..',
166 ], 166 ],
167 'sources': [ ### gcmole(all) ### 167 'sources': [ ### gcmole(all) ###
168 'wasm-code.cc', 168 'wasm-code.cc',
169 '../common/wasm/wasm-module-runner.cc', 169 '../common/wasm/wasm-module-runner.cc',
170 '../common/wasm/wasm-module-runner.h', 170 '../common/wasm/wasm-module-runner.h',
171 ], 171 ],
172 }, 172 },
173 { 173 {
174 'target_name': 'v8_simple_wasm_data_section_fuzzer',
175 'type': 'executable',
176 'dependencies': [
177 'wasm_data_section_fuzzer_lib',
178 ],
179 'include_dirs': [
180 '../..',
181 ],
182 'sources': [
183 'fuzzer.cc',
184 ],
185 },
186 {
187 'target_name': 'wasm_data_section_fuzzer_lib',
188 'type': 'static_library',
189 'dependencies': [
190 'fuzzer_support',
191 ],
192 'include_dirs': [
193 '../..',
194 ],
195 'sources': [ ### gcmole(all) ###
196 'wasm-data-section.cc',
197 '../common/wasm/wasm-module-runner.cc',
198 '../common/wasm/wasm-module-runner.h',
199 '../fuzzer/wasm-section-fuzzers.cc',
200 '../fuzzer/wasm-section-fuzzers.h',
201 ],
202 },
203 {
204 'target_name': 'v8_simple_wasm_function_sigs_section_fuzzer',
205 'type': 'executable',
206 'dependencies': [
207 'wasm_function_sigs_section_fuzzer_lib',
208 ],
209 'include_dirs': [
210 '../..',
211 ],
212 'sources': [
213 'fuzzer.cc',
214 ],
215 },
216 {
217 'target_name': 'wasm_function_sigs_section_fuzzer_lib',
218 'type': 'static_library',
219 'dependencies': [
220 'fuzzer_support',
221 ],
222 'include_dirs': [
223 '../..',
224 ],
225 'sources': [ ### gcmole(all) ###
226 'wasm-function-sigs-section.cc',
227 '../common/wasm/wasm-module-runner.cc',
228 '../common/wasm/wasm-module-runner.h',
229 '../fuzzer/wasm-section-fuzzers.cc',
230 '../fuzzer/wasm-section-fuzzers.h',
231 ],
232 },
233 {
234 'target_name': 'v8_simple_wasm_globals_section_fuzzer',
235 'type': 'executable',
236 'dependencies': [
237 'wasm_globals_section_fuzzer_lib',
238 ],
239 'include_dirs': [
240 '../..',
241 ],
242 'sources': [
243 'fuzzer.cc',
244 ],
245 },
246 {
247 'target_name': 'wasm_globals_section_fuzzer_lib',
248 'type': 'static_library',
249 'dependencies': [
250 'fuzzer_support',
251 ],
252 'include_dirs': [
253 '../..',
254 ],
255 'sources': [ ### gcmole(all) ###
256 'wasm-globals-section.cc',
257 '../common/wasm/wasm-module-runner.cc',
258 '../common/wasm/wasm-module-runner.h',
259 '../fuzzer/wasm-section-fuzzers.cc',
260 '../fuzzer/wasm-section-fuzzers.h',
261 ],
262 },
263 {
264 'target_name': 'v8_simple_wasm_imports_section_fuzzer',
265 'type': 'executable',
266 'dependencies': [
267 'wasm_imports_section_fuzzer_lib',
268 ],
269 'include_dirs': [
270 '../..',
271 ],
272 'sources': [
273 'fuzzer.cc',
274 ],
275 },
276 {
277 'target_name': 'wasm_imports_section_fuzzer_lib',
278 'type': 'static_library',
279 'dependencies': [
280 'fuzzer_support',
281 ],
282 'include_dirs': [
283 '../..',
284 ],
285 'sources': [ ### gcmole(all) ###
286 'wasm-imports-section.cc',
287 '../common/wasm/wasm-module-runner.cc',
288 '../common/wasm/wasm-module-runner.h',
289 '../fuzzer/wasm-section-fuzzers.cc',
290 '../fuzzer/wasm-section-fuzzers.h',
291 ],
292 },
293 {
294 'target_name': 'v8_simple_wasm_memory_section_fuzzer',
295 'type': 'executable',
296 'dependencies': [
297 'wasm_memory_section_fuzzer_lib',
298 ],
299 'include_dirs': [
300 '../..',
301 ],
302 'sources': [
303 'fuzzer.cc',
304 ],
305 },
306 {
307 'target_name': 'wasm_memory_section_fuzzer_lib',
308 'type': 'static_library',
309 'dependencies': [
310 'fuzzer_support',
311 ],
312 'include_dirs': [
313 '../..',
314 ],
315 'sources': [ ### gcmole(all) ###
316 'wasm-memory-section.cc',
317 '../common/wasm/wasm-module-runner.cc',
318 '../common/wasm/wasm-module-runner.h',
319 '../fuzzer/wasm-section-fuzzers.cc',
320 '../fuzzer/wasm-section-fuzzers.h',
321 ],
322 },
323 {
324 'target_name': 'v8_simple_wasm_names_section_fuzzer',
325 'type': 'executable',
326 'dependencies': [
327 'wasm_names_section_fuzzer_lib',
328 ],
329 'include_dirs': [
330 '../..',
331 ],
332 'sources': [
333 'fuzzer.cc',
334 ],
335 },
336 {
337 'target_name': 'wasm_names_section_fuzzer_lib',
338 'type': 'static_library',
339 'dependencies': [
340 'fuzzer_support',
341 ],
342 'include_dirs': [
343 '../..',
344 ],
345 'sources': [ ### gcmole(all) ###
346 'wasm-names-section.cc',
347 '../common/wasm/wasm-module-runner.cc',
348 '../common/wasm/wasm-module-runner.h',
349 '../fuzzer/wasm-section-fuzzers.cc',
350 '../fuzzer/wasm-section-fuzzers.h',
351 ],
352 },
353 {
354 'target_name': 'v8_simple_wasm_types_section_fuzzer',
355 'type': 'executable',
356 'dependencies': [
357 'wasm_types_section_fuzzer_lib',
358 ],
359 'include_dirs': [
360 '../..',
361 ],
362 'sources': [
363 'fuzzer.cc',
364 ],
365 },
366 {
367 'target_name': 'wasm_types_section_fuzzer_lib',
368 'type': 'static_library',
369 'dependencies': [
370 'fuzzer_support',
371 ],
372 'include_dirs': [
373 '../..',
374 ],
375 'sources': [ ### gcmole(all) ###
376 'wasm-types-section.cc',
377 '../common/wasm/wasm-module-runner.cc',
378 '../common/wasm/wasm-module-runner.h',
379 '../fuzzer/wasm-section-fuzzers.cc',
380 '../fuzzer/wasm-section-fuzzers.h',
381 ],
382 },
383 {
174 'target_name': 'fuzzer_support', 384 'target_name': 'fuzzer_support',
175 'type': 'static_library', 385 'type': 'static_library',
176 'dependencies': [ 386 'dependencies': [
177 '../../src/v8.gyp:v8_libplatform', 387 '../../src/v8.gyp:v8_libplatform',
178 ], 388 ],
179 'include_dirs': [ 389 'include_dirs': [
180 '../..', 390 '../..',
181 ], 391 ],
182 'sources': [ ### gcmole(all) ### 392 'sources': [ ### gcmole(all) ###
183 'fuzzer-support.cc', 393 'fuzzer-support.cc',
(...skipping 27 matching lines...) Expand all
211 '../../gypfiles/isolate.gypi', 421 '../../gypfiles/isolate.gypi',
212 ], 422 ],
213 'sources': [ 423 'sources': [
214 'fuzzer.isolate', 424 'fuzzer.isolate',
215 ], 425 ],
216 }, 426 },
217 ], 427 ],
218 }], 428 }],
219 ], 429 ],
220 } 430 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | test/fuzzer/fuzzer.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698