github.com/google/syzkaller@v0.0.0-20251211124644-a066d2bc4b02/tools/docker/syzbot/run-syz-command.sh (about) 1 #!/usr/bin/env bash 2 # Copyright 2024 syzkaller project authors. All rights reserved. 3 # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 4 5 set -e # exit on any problem 6 set -o pipefail 7 8 syzDir=$(mktemp -d) 9 10 git clone --depth 1 --branch master --single-branch \ 11 https://github.com/google/syzkaller $syzDir 12 cd $syzDir 13 "$@" 14 cd - 15 rm -rf $syzDir