mirror of https://github.com/google/oss-fuzz.git
ngolo-fuzzing: more generic arguments for fuzz targets building (#7653)
This commit is contained in:
parent
3195128435
commit
bcf7972c03
|
@ -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/args.txt | grep "$pkg_flat " | cut -d" " -f2-`
|
||||
./ngolo-fuzzing $args $pkg fuzz_ng_$pkg_flat
|
||||
(
|
||||
cd fuzz_ng_$pkg_flat
|
||||
|
|
Loading…
Reference in New Issue