Skip to content

Commit 7b62874

Browse files
authored
Merge pull request #184 from ionut-arm/fuzz-update
Update fuzz target
2 parents 5d98b7b + 7db3ce2 commit 7b62874

16 files changed

+769
-230
lines changed

fuzz.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ set -e
1010

1111
if [[ "$1" == "run" ]]
1212
then
13+
# Build Docker image
14+
docker build fuzz/docker -t parsec/fuzz
15+
1316
# Set up fuzz folder
1417
docker run --rm -v $(pwd):/parsec -w /parsec/fuzz --name $CLEANUP_CONTAINER_NAME parsec/fuzz ./cleanup.sh
1518
# A copy of the config file is used because the file is modified during the run
1619
cp fuzz/config.toml fuzz/run_config.toml
1720

18-
# Build Docker image
19-
docker build fuzz/docker -t parsec/fuzz
20-
2121
# Stop previous container and run fuzzer
2222
docker kill $FUZZ_CONTAINER_NAME || true
2323
sleep 5s

fuzz/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ artifacts
55
*.log
66
run_config.toml
77
NVChip
8+
init_corpus

0 commit comments

Comments
 (0)