Skip to content

Commit 40da5bf

Browse files
oss-fuzz: support cpp runs (#1910)
Signed-off-by: David Korczynski <[email protected]>
1 parent 9769ad6 commit 40da5bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oss_fuzz_integration/oss-fuzz-patches.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ index 64d11095b..34bee0c13 100644
2020
# /ccache/bin will contain the compiler wrappers, and /ccache/cache will
2121
# contain the actual cache, which can be saved.
2222
diff --git a/infra/base-images/base-builder/compile b/infra/base-images/base-builder/compile
23-
index 1c10d9e23..d716f8f0e 100755
23+
index 1c10d9e23..118e6220e 100755
2424
--- a/infra/base-images/base-builder/compile
2525
+++ b/infra/base-images/base-builder/compile
2626
@@ -229,7 +229,7 @@ if [ "$SANITIZER" = "introspector" ] || [ "$RUST_SANITIZER" = "introspector" ];
@@ -50,7 +50,7 @@ index 1c10d9e23..d716f8f0e 100755
5050
+ find $OUT/textcov_reports/ -name "*.json" -exec cp {} $SRC/inspector/ \;
5151
+ fi
5252
+
53-
+ python3 /fuzz-introspector/src/fuzz_introspector/frontends/oss_fuzz.py --target=$SRC/ --language=c
53+
+ python3 /fuzz-introspector/src/fuzz_introspector/frontends/oss_fuzz.py --target=$SRC/ --language=$FUZZING_LANGUAGE
5454
+ python3 /fuzz-introspector/src/main.py report --target=.
5555
+ rsync -avu --delete "$SRC/inspector/" "$OUT/inspector"
5656
+ exit 0

0 commit comments

Comments
 (0)