Skip to content

Commit

Permalink
Add thirdparty/ ubsan suppressions for TPS demo
Browse files Browse the repository at this point in the history
With these suppressions it is possible to import and run the TPS demo
without any thirdparty/ reported ubsan.

This is useful because it is a complex project, so it is good for
testing if new errors show up in our own code.
  • Loading branch information
hpvb committed Dec 13, 2024
1 parent dc5f1b7 commit 49a19db
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions misc/error_suppressions/ubsan.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,36 @@
enum:thirdparty/glslang/SPIRV/spirv.hpp
float-divide-by-zero:thirdparty/amd-fsr2/ffx_fsr2.cpp
float-divide-by-zero:thirdparty/misc/ok_color.h
float-divide-by-zero:thirdparty/rvo2/rvo2_2d/Agent2d.cpp
float-divide-by-zero:thirdparty/thorvg/src/renderer/sw_engine/tvgSwFill.cpp
function:thirdparty/embree/common/sys/thread.cpp
function:thirdparty/embree/kernels/common/accel.h
function:thirdparty/xatlas/xatlas.cpp
implicit-integer-sign-change:thirdparty/basis_universal/transcoder/basisu_astc_helpers.h
implicit-integer-sign-change:thirdparty/embree/common/lexers/../sys/ref.h
implicit-integer-sign-change:thirdparty/embree/common/lexers/tokenstream.cpp
implicit-integer-sign-change:thirdparty/embree/common/sys/sysinfo.cpp
implicit-integer-sign-change:thirdparty/embree/common/tasking/taskschedulerinternal.cpp
implicit-integer-sign-change:thirdparty/embree/common/tasking/taskschedulerinternal.h
implicit-integer-sign-change:thirdparty/embree/kernels/bvh/../common/../builders/primref.h
implicit-integer-sign-change:thirdparty/embree/kernels/bvh/../common/../../common/sys/../math/../simd/vfloat4_sse2.h
implicit-integer-sign-change:thirdparty/embree/kernels/bvh/../common/../../common/sys/../math/../simd/vuint4_sse2.h
implicit-integer-sign-change:thirdparty/embree/kernels/bvh/../common/vector.h
implicit-integer-sign-change:thirdparty/embree/kernels/bvh/../geometry/triangle.h
implicit-integer-sign-change:thirdparty/glslang/glslang/MachineIndependent/ParseHelper.cpp
implicit-integer-sign-change:thirdparty/glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp
implicit-integer-sign-change:thirdparty/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp
implicit-integer-sign-change:thirdparty/glslang/glslang/MachineIndependent/Versions.cpp
implicit-integer-sign-change:thirdparty/glslang/SPIRV/hex_float.h
implicit-integer-sign-change:thirdparty/harfbuzz/src/hb-algs.hh
implicit-integer-sign-change:thirdparty/harfbuzz/src/hb-buffer.hh
implicit-integer-sign-change:thirdparty/harfbuzz/src/hb-cache.hh
implicit-integer-sign-change:thirdparty/harfbuzz/src/hb-face.hh
implicit-integer-sign-change:thirdparty/harfbuzz/src/hb-ot-layout-gsubgpos.hh
implicit-integer-sign-change:thirdparty/harfbuzz/src/OT/Layout/GDEF/../../../hb-cache.hh
implicit-integer-sign-change:thirdparty/harfbuzz/src/OT/Layout/GPOS/../../../hb-ot-layout-gsubgpos.hh
implicit-integer-sign-change:thirdparty/harfbuzz/src/OT/Layout/GPOS/../../../OT/Layout/GDEF/../../../hb-cache.hh
implicit-integer-sign-change:thirdparty/harfbuzz/src/OT/Layout/GSUB/../../../hb-ot-layout-gsubgpos.hh
implicit-integer-sign-change:thirdparty/harfbuzz/src/OT/name/name.hh
implicit-integer-sign-change:thirdparty/icu4c/common/bmpset.cpp
implicit-integer-sign-change:thirdparty/icu4c/common/ubidiln.cpp
Expand All @@ -19,14 +46,18 @@ implicit-integer-sign-change:thirdparty/mbedtls/library/base64.c
implicit-integer-sign-change:thirdparty/misc/smolv.cpp
implicit-integer-sign-change:thirdparty/recastnavigation/Recast/Include/Recast.h
implicit-integer-sign-change:thirdparty/recastnavigation/Recast/Source/RecastMesh.cpp
implicit-integer-sign-change:thirdparty/spirv-reflect/spirv_reflect.c
implicit-integer-sign-change:thirdparty/thorvg/src/renderer/sw_engine/tvgSwRaster.cpp
implicit-integer-sign-change:thirdparty/tinyexr/tinyexr.h
implicit-integer-sign-change:thirdparty/vulkan/vk_mem_alloc.h
implicit-integer-sign-change:thirdparty/xatlas/xatlas.cpp
implicit-integer-sign-change:thirdparty/zlib/trees.c
implicit-integer-sign-change:thirdparty/zstd/compress/zstd_cwksp.h
integer-divide-by-zero:thirdparty/misc/ok_color.h
integer-divide-by-zero:thirdparty/rvo2/rvo2_2d/Agent2d.cpp
nonnull-attribute:thirdparty/spirv-reflect/spirv_reflect.c
pointer-overflow:thirdparty/libogg/framing.c
shift-base:thirdparty/libogg/bitwise.c
shift-base:thirdparty/libvorbis/sharedbook.c
shift-base:thirdparty/noise/FastNoiseLite.h
shift-base:thirdparty/tinyexr/tinyexr.h
shift-exponent:thirdparty/misc/mikktspace.c
signed-integer-overflow:thirdparty/noise/FastNoiseLite.h

0 comments on commit 49a19db

Please sign in to comment.