ngolo-fuzzing: better excluse pattern (#7574)

so that runtime gets only patterns from runtime and not from
runtime/debug
This commit is contained in:
Catena cyber 2022-04-15 22:30:12 +02:00 committed by GitHub
parent 88ca7c4214
commit 38800d5907
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ mv $SRC/goroot /root/.go
compile_package () {
pkg=$1
pkg_flat=`echo $pkg | sed 's/\//_/g'`
args=`cat $SRC/ngolo-fuzzing/std/exclude.txt | grep $pkg_flat | awk '{print "-exclude", $2}'`
args=`cat $SRC/ngolo-fuzzing/std/exclude.txt | grep "$pkg_flat " | awk '{print "-exclude", $2}'`
./ngolo-fuzzing $args $pkg fuzz_ng_$pkg_flat
(
cd fuzz_ng_$pkg_flat