Fuzz checker CI: Use more generic include dir for fuzzer includes
authorTomas Mraz <tomas@openssl.org>
Thu, 8 Dec 2022 10:33:30 +0000 (11:33 +0100)
committerPauli <pauli@openssl.org>
Thu, 8 Dec 2022 22:20:11 +0000 (09:20 +1100)
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19860)

.github/workflows/fuzz-checker.yml

index 4e18a892d0b71ccc7822e54acca3d23df70dc357..bd17791707e575a61fd35915a974a441d3df1b60 100644 (file)
@@ -26,7 +26,7 @@ jobs:
           }, {
             name: libFuzzer,
             config: enable-fuzz-libfuzzer enable-asan enable-ubsan,
-            libs: --with-fuzzer-lib=/usr/lib/llvm-12/lib/libFuzzer.a --with-fuzzer-include=/usr/lib/llvm-12/build/lib/clang/12.0.0/include/fuzzer,
+            libs: --with-fuzzer-lib=/usr/lib/llvm-12/lib/libFuzzer.a --with-fuzzer-include=/usr/include/clang/12/include/fuzzer,
             install: libfuzzer-12-dev,
             cc: clang-12,
             linker: clang++-12,
@@ -34,7 +34,7 @@ jobs:
           }, {
             name: libFuzzer+,
             config: enable-fuzz-libfuzzer enable-asan enable-ubsan -fsanitize-coverage=trace-cmp -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION,
-            libs: --with-fuzzer-lib=/usr/lib/llvm-12/lib/libFuzzer.a --with-fuzzer-include=/usr/lib/llvm-12/build/lib/clang/12.0.0/include/fuzzer,
+            libs: --with-fuzzer-lib=/usr/lib/llvm-12/lib/libFuzzer.a --with-fuzzer-include=/usr/include/clang/12/include/fuzzer,
             extra: enable-fips enable-ec_nistp_64_gcc_128 -fno-sanitize=alignment enable-tls1_3 enable-weak-ssl-ciphers enable-rc5 enable-md2 enable-ssl3 enable-ssl3-method enable-nextprotoneg,
             install: libfuzzer-12-dev,
             cc: clang-12,