libfido2: enable more fuzzing engines (#9467)

This commit is contained in:
Ludvig Michaelsson 2023-01-20 12:07:03 +01:00 committed by GitHub
parent 5a9e2a461b
commit c347ac5cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -46,7 +46,8 @@ make install
# Building libfido2 with ${LIB_FUZZING_ENGINE} and chosen sanitizer
cd ${SRC}/libfido2
mkdir build && cd build
cmake -DFUZZ=1 -DFUZZ_LDFLAGS=${LIB_FUZZING_ENGINE} \
cmake -DFUZZ=1 -DFUZZ_LDFLAGS="${LIB_FUZZING_ENGINE}" \
-DFUZZ_LINKER_LANGUAGE=CXX \
-DPKG_CONFIG_USE_CMAKE_PREFIX_PATH=1 \
-DCMAKE_PREFIX_PATH=${WORK} \
-DCMAKE_INSTALL_PREFIX=${WORK} \

View File

@ -13,4 +13,7 @@ sanitizers:
- memory
fuzzing_engines:
- libfuzzer
- afl
- centipede
- honggfuzz
main_repo: 'https://github.com/Yubico/libfido2'