Skip to content

Commit 8d30686

Browse files
ci: Add fuzzbuzz integration
1 parent 4702cad commit 8d30686

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.fuzzbuzz.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
base: ubuntu:16.04
2+
language: c++
3+
engine: libFuzzer
4+
environment:
5+
- CXXFLAGS=-fcoverage-mapping -fno-omit-frame-pointer -fprofile-instr-generate -gline-tables-only -O1
6+
setup:
7+
- sudo apt-get update
8+
- sudo apt-get install -y autoconf bsdmainutils clang git libboost-all-dev libboost-program-options-dev libc++1 libc++abi1 libc++abi-dev libc++-dev libclang1 libclang-dev libdb5.3++ libevent-dev libllvm-ocaml-dev libomp5 libomp-dev libprotobuf-dev libqt5core5a libqt5dbus5 libqt5gui5 libssl-dev libtool llvm llvm-dev llvm-runtime pkg-config protobuf-compiler qttools5-dev qttools5-dev-tools software-properties-common
9+
- ./autogen.sh
10+
- CC=clang CXX=clang++ ./configure --enable-fuzz --with-sanitizers=address,fuzzer,undefined
11+
- make
12+
- git clone https://github.com/bitcoin-core/qa-assets
13+
auto_targets:
14+
find_targets_command: find src/test/fuzz/ -executable -type f ! -name "*.cpp" ! -name "*.h"
15+
base_corpus_dir: qa-assets/fuzz_seed_corpus/
16+
memory_limit: none

0 commit comments

Comments
 (0)