Skip to content

Commit 0ada65b

Browse files
committed
Merge pull request #109960 from Repiteo/ci/sanitizer-cleanup
CI: Ensure prettier/clearer sanitizer output
2 parents ac4c97e + d54870c commit 0ada65b

File tree

5 files changed

+31
-4
lines changed

5 files changed

+31
-4
lines changed

.github/workflows/linux_builds.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ env:
1111
GODOT_CPP_BRANCH: 4.4
1212
DOTNET_NOLOGO: true
1313
DOTNET_CLI_TELEMETRY_OPTOUT: true
14-
TSAN_OPTIONS: suppressions=${{ github.workspace }}/misc/error_suppressions/tsan.txt
15-
UBSAN_OPTIONS: suppressions=${{ github.workspace }}/misc/error_suppressions/ubsan.txt
14+
ASAN_OPTIONS: color=always:print_suppressions=1:suppressions=${{ github.workspace }}/misc/error_suppressions/asan.txt
15+
LSAN_OPTIONS: color=always:print_suppressions=1:suppressions=${{ github.workspace }}/misc/error_suppressions/lsan.txt
16+
TSAN_OPTIONS: color=always:print_suppressions=1:suppressions=${{ github.workspace }}/misc/error_suppressions/tsan.txt
17+
UBSAN_OPTIONS: color=always:print_suppressions=1:suppressions=${{ github.workspace }}/misc/error_suppressions/ubsan.txt
1618

1719
jobs:
1820
build-linux:

misc/error_suppressions/asan.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Supported suppression types are:
2+
# - interceptor_name
3+
# - interceptor_via_fun
4+
# - interceptor_via_lib
5+
# - odr_violation

misc/error_suppressions/lsan.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Supported suppression types are:
2+
# - leak

misc/error_suppressions/tsan.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# See the below link for an explanation of this file's format
22
# https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
33

4-
deadlock:tests/core/templates/test_command_queue.h
54
deadlock:modules/text_server_adv/text_server_adv.cpp
65
deadlock:modules/text_server_fb/text_server_fb.cpp
6+
deadlock:tests/core/templates/test_command_queue.h
77
race:modules/navigation_2d/nav_map_2d.cpp
88
race:modules/navigation_3d/nav_map_3d.cpp
99
race:thirdparty/thorvg/src/loaders/external_jpg/tvgJpgLoader.cpp

misc/error_suppressions/ubsan.txt

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,34 @@
1+
# See the below link for an explanation of this file's format
2+
# https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#available-checks
3+
4+
bounds:thirdparty/harfbuzz/src/hb-open-type.hh
5+
bounds:thirdparty/harfbuzz/src/OT/Layout/GPOS/../../../hb-ot-layout-gsubgpos.hh
6+
bounds:thirdparty/harfbuzz/src/OT/Layout/GSUB/LigatureSet.hh
7+
bounds:thirdparty/harfbuzz/src/OT/name/../../hb-open-type.hh
8+
bounds:thirdparty/icu4c/common/rbbi.cpp
19
enum:thirdparty/glslang/SPIRV/spirv.hpp
210
float-divide-by-zero:thirdparty/amd-fsr2/ffx_fsr2.cpp
311
float-divide-by-zero:thirdparty/misc/ok_color.h
412
float-divide-by-zero:thirdparty/rvo2/rvo2_2d/Agent2d.cpp
513
float-divide-by-zero:thirdparty/thorvg/src/renderer/sw_engine/tvgSwFill.cpp
14+
float-divide-by-zero:thirdparty/thorvg/src/renderer/tvgText.h
615
function:thirdparty/embree/common/sys/thread.cpp
716
function:thirdparty/embree/kernels/common/accel.h
817
function:thirdparty/xatlas/xatlas.cpp
18+
implicit-integer-sign-change:MachineIndependent/glslang.y
919
implicit-integer-sign-change:thirdparty/basis_universal/encoder/jpgd.cpp
1020
implicit-integer-sign-change:thirdparty/basis_universal/transcoder/basisu_astc_helpers.h
1121
implicit-integer-sign-change:thirdparty/embree/common/lexers/../sys/ref.h
1222
implicit-integer-sign-change:thirdparty/embree/common/lexers/tokenstream.cpp
1323
implicit-integer-sign-change:thirdparty/embree/common/sys/sysinfo.cpp
1424
implicit-integer-sign-change:thirdparty/embree/common/tasking/taskschedulerinternal.cpp
1525
implicit-integer-sign-change:thirdparty/embree/common/tasking/taskschedulerinternal.h
16-
implicit-integer-sign-change:thirdparty/embree/kernels/bvh/../common/../builders/primref.h
1726
implicit-integer-sign-change:thirdparty/embree/kernels/bvh/../common/../../common/sys/../math/../simd/vfloat4_sse2.h
1827
implicit-integer-sign-change:thirdparty/embree/kernels/bvh/../common/../../common/sys/../math/../simd/vuint4_sse2.h
28+
implicit-integer-sign-change:thirdparty/embree/kernels/bvh/../common/../builders/primref.h
1929
implicit-integer-sign-change:thirdparty/embree/kernels/bvh/../common/vector.h
2030
implicit-integer-sign-change:thirdparty/embree/kernels/bvh/../geometry/triangle.h
31+
implicit-integer-sign-change:thirdparty/etcpak/ProcessDxtc.cpp
2132
implicit-integer-sign-change:thirdparty/glslang/glslang/MachineIndependent/ParseHelper.cpp
2233
implicit-integer-sign-change:thirdparty/glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp
2334
implicit-integer-sign-change:thirdparty/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp
@@ -26,6 +37,7 @@ implicit-integer-sign-change:thirdparty/glslang/SPIRV/hex_float.h
2637
implicit-integer-sign-change:thirdparty/harfbuzz/src/hb-algs.hh
2738
implicit-integer-sign-change:thirdparty/harfbuzz/src/hb-buffer.hh
2839
implicit-integer-sign-change:thirdparty/harfbuzz/src/hb-cache.hh
40+
implicit-integer-sign-change:thirdparty/harfbuzz/src/hb-face.cc
2941
implicit-integer-sign-change:thirdparty/harfbuzz/src/hb-face.hh
3042
implicit-integer-sign-change:thirdparty/harfbuzz/src/hb-ot-layout-gsubgpos.hh
3143
implicit-integer-sign-change:thirdparty/harfbuzz/src/OT/Layout/GDEF/../../../hb-cache.hh
@@ -39,14 +51,20 @@ implicit-integer-sign-change:thirdparty/icu4c/common/unicode/unistr.h
3951
implicit-integer-sign-change:thirdparty/icu4c/common/unistr.cpp
4052
implicit-integer-sign-change:thirdparty/icu4c/common/uresbund.cpp
4153
implicit-integer-sign-change:thirdparty/icu4c/common/ustrtrns.cpp
54+
implicit-integer-sign-change:thirdparty/libjpeg-turbo/src/jcdctmgr.c
55+
implicit-integer-sign-change:thirdparty/libjpeg-turbo/src/jdarith.c
56+
implicit-integer-sign-change:thirdparty/libjpeg-turbo/src/jdhuff.c
4257
implicit-integer-sign-change:thirdparty/libogg/bitwise.c
4358
implicit-integer-sign-change:thirdparty/libvorbis/info.c
4459
implicit-integer-sign-change:thirdparty/libvorbis/sharedbook.c
60+
implicit-integer-sign-change:thirdparty/manifold/src/impl.h
4561
implicit-integer-sign-change:thirdparty/mbedtls/library/base64.c
4662
implicit-integer-sign-change:thirdparty/misc/smolv.cpp
4763
implicit-integer-sign-change:thirdparty/recastnavigation/Recast/Include/Recast.h
4864
implicit-integer-sign-change:thirdparty/recastnavigation/Recast/Source/RecastMesh.cpp
65+
implicit-integer-sign-change:thirdparty/sdl/SDL_guid.c
4966
implicit-integer-sign-change:thirdparty/spirv-reflect/spirv_reflect.c
67+
implicit-integer-sign-change:thirdparty/thorvg/src/common/tvgCompressor.cpp
5068
implicit-integer-sign-change:thirdparty/thorvg/src/renderer/sw_engine/tvgSwRaster.cpp
5169
implicit-integer-sign-change:thirdparty/tinyexr/tinyexr.h
5270
implicit-integer-sign-change:thirdparty/vulkan/vk_mem_alloc.h

0 commit comments

Comments
 (0)