Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1317998 - Run cert fuzzing target on TC r=franziskus
- Loading branch information
Tim Taubert
committed
Nov 16, 2016
1 parent
7bdede5
commit fc9a785
Showing
4 changed files
with
39 additions
and
2 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 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 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,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
source $(dirname $0)/tools.sh | ||
|
||
if [ $(id -u) = 0 ]; then | ||
# Drop privileges by re-running this script. | ||
exec su worker -c "$0 $*" | ||
fi | ||
|
||
# Fetch artifact if needed. | ||
fetch_dist | ||
|
||
# Clone corpus. | ||
./nss/fuzz/clone_corpus.sh | ||
|
||
# Fetch objdir name. | ||
objdir=$(cat dist/latest) | ||
|
||
# Run nssfuzz. | ||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:dist/$objdir/lib dist/$objdir/bin/nssfuzz $* |
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