File tree Expand file tree Collapse file tree 3 files changed +31
-12
lines changed Expand file tree Collapse file tree 3 files changed +31
-12
lines changed Original file line number Diff line number Diff line change @@ -103,23 +103,14 @@ jobs:
103
103
NO_DEPENDS=1
104
104
GOAL="install"
105
105
BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --enable-glibc-back-compat --enable-reduce-exports --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER"
106
- # x86_64 Linux (no depends, only system libs)
107
- - stage : test
108
- env : >-
109
- HOST=x86_64-unknown-linux-gnu
110
- PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev"
111
- NO_DEPENDS=1
112
- GOAL="install"
113
- BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --enable-glibc-back-compat --enable-reduce-exports --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER"
114
- # x86_64 Linux (sanitizers)
106
+ # x86_64 Linux (no depends, only system libs, sanitizers: undefined (UBSAN) + integer)
115
107
- stage : test
116
108
env : >-
117
109
HOST=x86_64-unknown-linux-gnu
118
110
PACKAGES="clang python3-zmq qtbase5-dev qttools5-dev-tools libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev"
119
111
NO_DEPENDS=1
120
- RUN_FUNCTIONAL_TESTS=false # Disabled for now, can be combined with the other x86_64 linux NO_DEPENDS job when functional tests pass the sanitizers
121
112
GOAL="install"
122
- BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --enable-glibc-back-compat --enable-reduce-exports --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=undefined CC=clang CXX=clang++"
113
+ BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --enable-glibc-back-compat --enable-reduce-exports --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=integer, undefined CC=clang CXX=clang++"
123
114
# x86_64 Linux, No wallet
124
115
- stage : test
125
116
env : >-
Original file line number Diff line number Diff line change 7
7
export LC_ALL=C.UTF-8
8
8
9
9
travis_retry docker pull " $DOCKER_NAME_TAG "
10
- env | grep -E ' ^(CCACHE_|WINEDEBUG|LC_ALL|BOOST_TEST_RANDOM|CONFIG_SHELL)' | tee /tmp/env
10
+ export UBSAN_OPTIONS=" suppressions=${TRAVIS_BUILD_DIR} /contrib/sanitizers-ubsan.suppressions"
11
+ env | grep -E ' ^(CCACHE_|WINEDEBUG|LC_ALL|BOOST_TEST_RANDOM|CONFIG_SHELL|UBSAN_OPTIONS)' | tee /tmp/env
11
12
if [[ $HOST = * -mingw32 ]]; then
12
13
DOCKER_ADMIN=" --cap-add SYS_ADMIN"
13
14
fi
Original file line number Diff line number Diff line change
1
+ alignment:move.h
2
+ alignment:prevector.h
3
+ bool:wallet/wallet.cpp
4
+ float-divide-by-zero:policy/fees.cpp
5
+ float-divide-by-zero:validation.cpp
6
+ float-divide-by-zero:wallet/wallet.cpp
7
+ nonnull-attribute:support/cleanse.cpp
8
+ unsigned-integer-overflow:basic_string.h
9
+ unsigned-integer-overflow:bench/bench.h
10
+ unsigned-integer-overflow:bloom.cpp
11
+ unsigned-integer-overflow:chain.h
12
+ unsigned-integer-overflow:crypto/chacha20.cpp
13
+ unsigned-integer-overflow:crypto/ctaes/ctaes.c
14
+ unsigned-integer-overflow:crypto/ripemd160.cpp
15
+ unsigned-integer-overflow:crypto/sha1.cpp
16
+ unsigned-integer-overflow:crypto/sha256.cpp
17
+ unsigned-integer-overflow:crypto/sha512.cpp
18
+ unsigned-integer-overflow:hash.cpp
19
+ unsigned-integer-overflow:leveldb/db/log_reader.cc
20
+ unsigned-integer-overflow:leveldb/util/bloom.cc
21
+ unsigned-integer-overflow:leveldb/util/crc32c.h
22
+ unsigned-integer-overflow:leveldb/util/hash.cc
23
+ unsigned-integer-overflow:policy/fees.cpp
24
+ unsigned-integer-overflow:script/interpreter.cpp
25
+ unsigned-integer-overflow:stl_bvector.h
26
+ unsigned-integer-overflow:txmempool.cpp
27
+ unsigned-integer-overflow:validation.cpp
You can’t perform that action at this time.
0 commit comments