Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Bug 1316274 - Fuzzing mode: Move fuzz/ to GYP, remove Makefiles and m…
…anifests r=franziskus Differential Revision: https://nss-review.dev.mozaws.net/D52 * * * fixup From ab8763469977a338a61d610ed69ef045244630f3 Mon Sep 17 00:00:00 2001 --HG-- rename : fuzz/nssfuzz/cert_target.cc => fuzz/cert_target.cc rename : fuzz/nssfuzz/nssfuzz.cc => fuzz/nssfuzz.cc rename : fuzz/nssfuzz/pkcs8_target.cc => fuzz/pkcs8_target.cc rename : fuzz/nssfuzz/registry.h => fuzz/registry.h rename : fuzz/nssfuzz/shared.h => fuzz/shared.h rename : fuzz/nssfuzz/spki_target.cc => fuzz/spki_target.cc
- Loading branch information
Tim Taubert
committed
Nov 11, 2016
1 parent
c3e0471
commit 36bc203
Showing
20 changed files
with
84 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
{ | ||
'includes': [ | ||
'../coreconf/config.gypi', | ||
'../cmd/platlibs.gypi' | ||
], | ||
'targets': [ | ||
{ | ||
'target_name': 'nssfuzz', | ||
'type': 'executable', | ||
'sources': [ | ||
'cert_target.cc', | ||
'pkcs8_target.cc', | ||
'spki_target.cc', | ||
'nssfuzz.cc', | ||
], | ||
'dependencies': [ | ||
'<(DEPTH)/exports.gyp:nss_exports', | ||
'<(DEPTH)/fuzz/libFuzzer/libFuzzer.gyp:libFuzzer' | ||
] | ||
} | ||
], | ||
'target_defaults': { | ||
'include_dirs': [ | ||
'libFuzzer', | ||
], | ||
}, | ||
'variables': { | ||
'module': 'nss', | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
{ | ||
'includes': [ | ||
'../../coreconf/config.gypi' | ||
], | ||
'targets': [ | ||
{ | ||
'target_name': 'libFuzzer', | ||
'type': 'static_library', | ||
'sources': [ | ||
'FuzzerCrossOver.cpp', | ||
'FuzzerDriver.cpp', | ||
'FuzzerExtFunctionsDlsym.cpp', | ||
'FuzzerExtFunctionsWeak.cpp', | ||
'FuzzerIO.cpp', | ||
'FuzzerLoop.cpp', | ||
'FuzzerMutate.cpp', | ||
'FuzzerSHA1.cpp', | ||
'FuzzerTracePC.cpp', | ||
'FuzzerTraceState.cpp', | ||
'FuzzerUtil.cpp', | ||
'FuzzerUtilDarwin.cpp', | ||
'FuzzerUtilLinux.cpp', | ||
], | ||
'cflags': [ | ||
'-O2', | ||
], | ||
'cflags/': [ | ||
['exclude', '-fsanitize='], | ||
['exclude', '-fsanitize-'], | ||
] | ||
} | ||
], | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,3 @@ IMPORTS = nspr20/v4.8 \ | |
RELEASE = nss | ||
|
||
DIRS = coreconf lib cmd gtests | ||
|
||
ifdef FUZZ | ||
DIRS += fuzz | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters