Skip to content

Commit 5a8d580

Browse files
authored
oss-fuzz: Fix patch for golang (#2082)
Fix patch for golang Signed-off-by: Arthur Chan <[email protected]>
1 parent 37a7542 commit 5a8d580

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

oss_fuzz_integration/oss-fuzz-patches.diff

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ index e05d0e6ea..2554b9d3f 100755
6363
# Restore the sanitizer flag for rust
6464
export SANITIZER="introspector"
6565
fi
66-
@@ -413,15 +394,22 @@ if [ "$SANITIZER" = "introspector" ] || [ "$RUST_SANITIZER" = "introspector" ];
66+
@@ -413,15 +394,23 @@ if [ "$SANITIZER" = "introspector" ] || [ "$RUST_SANITIZER" = "introspector" ];
6767
echo "GOING jvm route"
6868
set -x
6969
find $OUT/ -name "jacoco.xml" -exec cp {} $SRC/inspector/ \;
@@ -84,6 +84,7 @@ index e05d0e6ea..2554b9d3f 100755
8484
+ elif [ "$FUZZING_LANGUAGE" = "go" ]; then
8585
+ echo "GOING go route"
8686
+ find $OUT/ -name "fuzz.cov" -exec cp {} $SRC/inspector/ \;
87+
+ find $OUT/ -name "fuzz.cov" -exec cp {} $OUT/textcov_reports/ \;
8788
+ REPORT_ARGS="$REPORT_ARGS --target-dir=$SRC --out-dir=$SRC/inspector"
8889
+ REPORT_ARGS="$REPORT_ARGS --language=go"
8990
+ fuzz-introspector full $REPORT_ARGS

0 commit comments

Comments
 (0)