diff options
author | Catena cyber <35799796+catenacyber@users.noreply.github.com> | 2022-04-15 22:30:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-15 21:30:12 +0100 |
commit | 38800d5907235c15585670c1a4e075b95f235f50 (patch) | |
tree | aa85df8e2f4acd00c734c85327300d8708852f06 | |
parent | 88ca7c42141f6c99f30724d2179bb26b0fa84d0b (diff) |
ngolo-fuzzing: better excluse pattern (#7574)
so that runtime gets only patterns from runtime and not from
runtime/debug
-rwxr-xr-x | projects/ngolo-fuzzing/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/ngolo-fuzzing/build.sh b/projects/ngolo-fuzzing/build.sh index 8c8b584a..557f627f 100755 --- a/projects/ngolo-fuzzing/build.sh +++ b/projects/ngolo-fuzzing/build.sh @@ -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 |