Skip to content

Commit

Permalink
botan: Add MSan and Centipede
Browse files Browse the repository at this point in the history
  • Loading branch information
randombit committed Jul 31, 2024
1 parent 999f374 commit 1269585
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 2 additions & 6 deletions projects/botan/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,9 @@ cd $SRC/botan

ln -s $SRC/fuzzer_corpus .

./configure.py --cc-bin=$CXX --cc-abi-flags="$CXXFLAGS" \
--disable-shared --disable-modules=locking_allocator \
--unsafe-fuzzer-mode --build-fuzzers=libfuzzer \
--without-os-features=getrandom,getentropy --with-fuzzer-lib='FuzzingEngine'
./src/scripts/config_for_oss_fuzz.py $CXX "$CXXFLAGS"

make -j$(nproc) libs
make -j$(nproc) fuzzers
make -j$(nproc) libs fuzzers
make fuzzer_corpus_zip

# the seed corpus zips will also be in this directory
Expand Down
5 changes: 2 additions & 3 deletions projects/botan/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ auto_ccs:
- "[email protected]"
sanitizers:
- address
# Disabled MSAN because of https://github.com/google/oss-fuzz/issues/6294
# - memory
- memory
- undefined
main_repo: 'https://github.com/randombit/botan.git'
fuzzing_engines:
- afl
- centipede
- honggfuzz
- libfuzzer

0 comments on commit 1269585

Please sign in to comment.