You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
972 B
17 lines
972 B
base: ubuntu:16.04
|
|
language: c++
|
|
engine: libFuzzer
|
|
environment:
|
|
- CXXFLAGS=-fcoverage-mapping -fno-omit-frame-pointer -fprofile-instr-generate -gline-tables-only -O1
|
|
setup:
|
|
- sudo apt-get update
|
|
- sudo apt-get install -y autoconf bsdmainutils clang git libboost-system-dev libboost-filesystem-dev libboost-test-dev libc++1 libc++abi1 libc++abi-dev libc++-dev libclang1 libclang-dev libdb5.3++ libevent-dev libllvm-ocaml-dev libomp5 libomp-dev libqt5core5a libqt5dbus5 libqt5gui5 libtool llvm llvm-dev llvm-runtime pkg-config qttools5-dev qttools5-dev-tools software-properties-common
|
|
- ./autogen.sh
|
|
- CC=clang CXX=clang++ ./configure --enable-fuzz --with-sanitizers=address,fuzzer,undefined --enable-danger-fuzz-link-all
|
|
- make
|
|
- git clone https://github.com/bitcoin-core/qa-assets
|
|
auto_targets:
|
|
find_targets_command: find src/test/fuzz/ -executable -type f ! -name "*.cpp" ! -name "*.h"
|
|
base_corpus_dir: qa-assets/fuzz_seed_corpus/
|
|
memory_limit: none
|