mirror of https://github.com/google/oss-fuzz.git
ngolo-fuzzing: better excluse pattern (#7574)
so that runtime gets only patterns from runtime and not from runtime/debug
This commit is contained in:
parent
88ca7c4214
commit
38800d5907
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue