aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Catena cyber <35799796+catenacyber@users.noreply.github.com>2022-04-15 22:30:12 +0200
committerGravatar GitHub <noreply@github.com>2022-04-15 21:30:12 +0100
commit38800d5907235c15585670c1a4e075b95f235f50 (patch)
treeaa85df8e2f4acd00c734c85327300d8708852f06
parent88ca7c42141f6c99f30724d2179bb26b0fa84d0b (diff)
ngolo-fuzzing: better excluse pattern (#7574)
so that runtime gets only patterns from runtime and not from runtime/debug
-rwxr-xr-xprojects/ngolo-fuzzing/build.sh2
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