Skip to content

Commit

Permalink
UBSAN: Suppressions file
Browse files Browse the repository at this point in the history
  • Loading branch information
RudolfWeeber authored and jngrad committed Apr 23, 2020
1 parent 9b5a63e commit 1d17066
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ubuntu-20.04-sanitizer:
image: docker.pkg.github.com/espressomd/docker/ubuntu-20.04:a1192b35590a1a474c55fe1e9a1e6c25758454ea
stage: build
script:
- export myconfig=maxset with_cuda=false with_coverage=false with_static_analysis=true with_asan=true with_ubsan=true test_timeout=900 ASAN_OPTIONS="allocator_may_return_null=1" OMPI_CC=clang-9 OMPI_CXX=clang++-9 CC=clang-9 CXX=clang++-9
- export myconfig=maxset with_cuda=false with_coverage=false with_static_analysis=true with_asan=true with_ubsan=true test_timeout=900 ASAN_OPTIONS="allocator_may_return_null=1" OMPI_CC=clang-9 OMPI_CXX=clang++-9 CC=clang-9 CXX=clang++-9 UBSAN_OPTIONS=suppressions=${CI_PROJECT_DIR}/maintainer/CI/ubsan.supp
- bash maintainer/CI/build_cmake.sh
tags:
- docker
Expand Down
10 changes: 10 additions & 0 deletions maintainer/CI/ubsan.supp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Stuff occuring in boost directly
null:boost/serialization/singleton.hpp
null:boost/mpi/detail/binary_buffer_iprimitive.hpp
null:boost/mpi/communicator.hpp

# Caused by boost MPI
null:stl_iterator.h

# function calls with invalid pointers in Cython-generated code
function:python/espressomd/*.cpp

0 comments on commit 1d17066

Please sign in to comment.