mirror of https://github.com/google/oss-fuzz.git
Update libfuzzer-pipeline.groovy
This commit is contained in:
parent
de96b8ce14
commit
b3b401862e
|
@ -85,7 +85,7 @@ def call(body) {
|
||||||
sh "mkdir $out"
|
sh "mkdir $out"
|
||||||
stage("$sanitizer sanitizer") {
|
stage("$sanitizer sanitizer") {
|
||||||
// Run image to produce fuzzers
|
// Run image to produce fuzzers
|
||||||
sh "docker run -u $uid -v $out:/out -e SANITIZER_FLAGS=\"-fsanitize=$sanitizer\" -t $dockerTag"
|
sh "docker run --user $uid -v $out:/out -e SANITIZER_FLAGS=\"-fsanitize=$sanitizer\" -t $dockerTag"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -110,7 +110,7 @@ def call(body) {
|
||||||
echo "skipping: $file"
|
echo "skipping: $file"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
sh "docker run -u $uid --rm -v $d:/out -t ossfuzz/libfuzzer-runner /out/$file -runs=32"
|
sh "docker run --user $uid --rm -v $d:/out -t ossfuzz/libfuzzer-runner /out/$file -runs=32"
|
||||||
fuzzersFound += 1
|
fuzzersFound += 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue