fuzz: Qualify target ID

Includes org name in target ID.
This commit is contained in:
Book Moons 2019-08-29 03:37:00 -04:00 committed by Andrea Spacca
parent 071ecb491c
commit b40e9d1fb8

View file

@ -8,6 +8,7 @@ if [ "$#" -ne 1 ]; then
fi
# Configure
NAME=transfersh
ROOT=./server
TYPE=$1
@ -27,7 +28,7 @@ function fuzz {
DIR=${3:-$ROOT}
go-fuzz-build -libfuzzer -func $FUNC -o fuzzer.a $DIR
clang -fsanitize=fuzzer fuzzer.a -o fuzzer
./fuzzit create job --type $TYPE $TARGET fuzzer
./fuzzit create job --type $TYPE $NAME/$TARGET fuzzer
}
fuzz Profile profile
fuzz HTTP http