From c45fddd5975797dab656849968fa010c2207a722 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Thu, 26 Dec 2024 16:30:16 +0100 Subject: Run fuzz-checker workflow on ubuntu-24.04 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix missing afl++-clang package Use clang-18 Configure ubsan with -fno-sanitize=function Reviewed-by: Saša Nedvědický Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/26269) --- .github/workflows/fuzz-checker.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to '.github/workflows/fuzz-checker.yml') diff --git a/.github/workflows/fuzz-checker.yml b/.github/workflows/fuzz-checker.yml index 8c8dfe80b3..7ac104a3a4 100644 --- a/.github/workflows/fuzz-checker.yml +++ b/.github/workflows/fuzz-checker.yml @@ -21,28 +21,28 @@ jobs: { name: AFL, config: enable-fuzz-afl no-module, - install: afl++-clang, + install: afl++, cc: afl-clang-fast }, { 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/include/clang/12/include/fuzzer, - install: libfuzzer-12-dev, - cc: clang-12, - linker: clang++-12, + config: enable-fuzz-libfuzzer enable-asan enable-ubsan -fno-sanitize=function, + libs: --with-fuzzer-lib=/usr/lib/llvm-18/lib/libFuzzer.a --with-fuzzer-include=/usr/include/clang/18/include/fuzzer, + install: libfuzzer-18-dev, + cc: clang-18, + linker: clang++-18, tests: -test_memleak }, { 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/include/clang/12/include/fuzzer, + config: enable-fuzz-libfuzzer enable-asan enable-ubsan -fno-sanitize=function -fsanitize-coverage=trace-cmp -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION, + libs: --with-fuzzer-lib=/usr/lib/llvm-18/lib/libFuzzer.a --with-fuzzer-include=/usr/include/clang/18/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, - linker: clang++-12, + install: libfuzzer-18-dev, + cc: clang-18, + linker: clang++-18, tests: -test_memleak } ] - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: install packages run: | -- cgit v1.2.3