summaryrefslogtreecommitdiff
path: root/fuzz/fuzz.gyp
diff options
context:
space:
mode:
authorTim Taubert <ttaubert@mozilla.com>2017-01-09 12:15:40 -0500
committerTim Taubert <ttaubert@mozilla.com>2017-01-09 12:15:40 -0500
commite449c2b4fbfd41761ed159d649ab66bff2427a7e (patch)
tree1faf08a10bf3dfb4ffa7d8660c529dbf51f5a631 /fuzz/fuzz.gyp
parentd8d18be6b10128c49d13e55f3f0fb860aabcbb13 (diff)
downloadnss-hg-e449c2b4fbfd41761ed159d649ab66bff2427a7e.tar.gz
Bug 1326416 - Update libFuzzer revision r=franziskus
Differential Revision: https://nss-review.dev.mozaws.net/D132
Diffstat (limited to 'fuzz/fuzz.gyp')
-rw-r--r--fuzz/fuzz.gyp47
1 files changed, 44 insertions, 3 deletions
diff --git a/fuzz/fuzz.gyp b/fuzz/fuzz.gyp
index ec76c4431..d0e5e1a53 100644
--- a/fuzz/fuzz.gyp
+++ b/fuzz/fuzz.gyp
@@ -15,8 +15,13 @@
'libFuzzer/FuzzerDriver.cpp',
'libFuzzer/FuzzerExtFunctionsDlsym.cpp',
'libFuzzer/FuzzerExtFunctionsWeak.cpp',
+ 'libFuzzer/FuzzerExtFunctionsWeakAlias.cpp',
'libFuzzer/FuzzerIO.cpp',
+ 'libFuzzer/FuzzerIOPosix.cpp',
+ 'libFuzzer/FuzzerIOWindows.cpp',
'libFuzzer/FuzzerLoop.cpp',
+ 'libFuzzer/FuzzerMain.cpp',
+ 'libFuzzer/FuzzerMerge.cpp',
'libFuzzer/FuzzerMutate.cpp',
'libFuzzer/FuzzerSHA1.cpp',
'libFuzzer/FuzzerTracePC.cpp',
@@ -24,6 +29,8 @@
'libFuzzer/FuzzerUtil.cpp',
'libFuzzer/FuzzerUtilDarwin.cpp',
'libFuzzer/FuzzerUtilLinux.cpp',
+ 'libFuzzer/FuzzerUtilPosix.cpp',
+ 'libFuzzer/FuzzerUtilWindows.cpp',
],
'direct_dependent_settings': {
'include_dirs': [
@@ -32,18 +39,52 @@
}
},
{
- 'target_name': 'nssfuzz',
+ 'target_name': 'nssfuzz-cert',
'type': 'executable',
'sources': [
'asn1_mutators.cc',
- 'nssfuzz.cc',
+ 'cert_target.cc',
+ 'initialize.cc',
+ ],
+ 'dependencies': [
+ '<(DEPTH)/exports.gyp:nss_exports',
+ 'libFuzzer',
+ ],
+ },
+ {
+ 'target_name': 'nssfuzz-pkcs8',
+ 'type': 'executable',
+ 'sources': [
+ 'asn1_mutators.cc',
+ 'initialize.cc',
'pkcs8_target.cc',
- 'quickder_targets.cc',
],
'dependencies': [
'<(DEPTH)/exports.gyp:nss_exports',
'libFuzzer',
],
+ },
+ {
+ 'target_name': 'nssfuzz-spki',
+ 'type': 'executable',
+ 'sources': [
+ 'asn1_mutators.cc',
+ 'spki_target.cc',
+ 'initialize.cc',
+ ],
+ 'dependencies': [
+ '<(DEPTH)/exports.gyp:nss_exports',
+ 'libFuzzer',
+ ],
+ },
+ {
+ 'target_name': 'nssfuzz',
+ 'type': 'none',
+ 'dependencies': [
+ 'nssfuzz-cert',
+ 'nssfuzz-pkcs8',
+ 'nssfuzz-spki',
+ ]
}
],
'target_defaults': {