aboutsummaryrefslogtreecommitdiff
path: root/infra/base-images/base-runner/reproduce
diff options
context:
space:
mode:
authorMax Moroz <mmoroz@chromium.org>2020-08-17 11:34:21 -0700
committerGitHub <noreply@github.com>2020-08-17 11:34:21 -0700
commitd250f4ffbbdd04554df9e497fc452df2d2cdbd43 (patch)
tree4a335d680d68ff8426cfd689674c919602778a30 /infra/base-images/base-runner/reproduce
parentf686d962570d18f042e11968a1cb0a1b5a8e4b0d (diff)
downloadoss-fuzz-d250f4ffbbdd04554df9e497fc452df2d2cdbd43.tar.gz
[infra] Upgrade reproduce command to re-use run_fuzzer functionality. (#4324)
* [infra] Upgrade reproduce command to re-use run_fuzzer functionality. * fix a typo * add missing quotes
Diffstat (limited to 'infra/base-images/base-runner/reproduce')
-rwxr-xr-xinfra/base-images/base-runner/reproduce8
1 files changed, 4 insertions, 4 deletions
diff --git a/infra/base-images/base-runner/reproduce b/infra/base-images/base-runner/reproduce
index 5e71eefe1..0b4357bdf 100755
--- a/infra/base-images/base-runner/reproduce
+++ b/infra/base-images/base-runner/reproduce
@@ -15,7 +15,6 @@
#
################################################################################
-DEBUGGER=${DEBUGGER:-}
FUZZER=$1
shift
@@ -28,6 +27,7 @@ if [ ! -f $TESTCASE ]; then
exit 1
fi
-export PATH=$OUT:$PATH
-cd $OUT
-$DEBUGGER $OUT/$FUZZER $FUZZER_ARGS $@ $TESTCASE
+export RUN_FUZZER_MODE="interactive"
+export FUZZING_ENGINE="libfuzzer"
+
+run_fuzzer $FUZZER $@ $TESTCASE