| /external/compiler-rt/lib/ubsan/ |
| D | CMakeLists.txt | 36 add_custom_target(ubsan) target 37 set_target_properties(ubsan PROPERTIES FOLDER "Compiler-RT Misc") 45 # Common parts of UBSan runtime. 53 # Initializer of standalone UBSan runtime. 60 add_compiler_rt_runtime(clang_rt.ubsan 68 PARENT_TARGET ubsan) 72 # Common parts of UBSan runtime. 76 # C++-specific parts of UBSan runtime. Requires a C++ ABI library. 82 # Initializer of standalone UBSan runtime. 87 # Standalone UBSan runtimes. [all …]
|
| D | ubsan_init.h | 10 // Initialization function for UBSan runtime. 18 // Initialize UBSan as a standalone tool. Typically should be called early 22 // Initialize UBSan as a standalone tool, if it hasn't been initialized before. 25 // Initializes UBSan as a plugin tool. This function should be called once
|
| /external/clang/test/CodeGen/ |
| D | catch-undef-behavior.c | 1 …linux-gnu | opt -instnamer -S | FileCheck %s --check-prefix=CHECK-COMMON --check-prefix=CHECK-UBSAN 6 // CHECK-UBSAN: @[[INT:.*]] = private unnamed_addr constant { i16, i16, [6 x i8] } { i16 0, i16 11,… 9 // CHECK-UBSAN: @[[LINE_100:.*]] = private unnamed_addr global {{.*}}, i32 100, i32 5 {{.*}} @[[INT… 10 // CHECK-UBSAN: @[[LINE_200:.*]] = {{.*}}, i32 200, i32 10 {{.*}}, i64 4, i8 0 11 // CHECK-UBSAN: @[[LINE_300:.*]] = {{.*}}, i32 300, i32 12 {{.*}} @{{.*}}, {{.*}} @{{.*}} 12 // CHECK-UBSAN: @[[LINE_400:.*]] = {{.*}}, i32 400, i32 12 {{.*}} @{{.*}}, {{.*}} @{{.*}} 13 // CHECK-UBSAN: @[[LINE_500:.*]] = {{.*}}, i32 500, i32 10 {{.*}} @{{.*}}, i64 4, i8 0 } 14 // CHECK-UBSAN: @[[LINE_600:.*]] = {{.*}}, i32 600, i32 3 {{.*}} @{{.*}}, i64 4, i8 1 } 16 // CHECK-UBSAN: @[[STRUCT_S:.*]] = private unnamed_addr constant { i16, i16, [11 x i8] } { i16 -1, … 18 // CHECK-UBSAN: @[[LINE_700:.*]] = {{.*}}, i32 700, i32 14 {{.*}} @[[STRUCT_S]], i64 4, i8 3 } [all …]
|
| D | unsigned-trapv.c | 16 // TRAPV-NOT: ubsan in test_signed() 19 // BOTH-NOT: ubsan in test_signed() 31 // UNSIGNED: ubsan in test_unsigned() 35 // BOTH: ubsan in test_unsigned()
|
| /external/pdfium/core/fxcrt/ |
| D | fx_memcpy_wrappers_unittest.cpp | 10 // Test passes if it does not trigger UBSAN warnings. in TEST() 15 // Test passes if it does not trigger UBSAN warnings. in TEST() 20 // Test passes if it does not trigger UBSAN warnings. in TEST() 25 // Test passes if it does not trigger UBSAN warnings. in TEST() 30 // Test passes if it does not trigger UBSAN warnings. in TEST() 35 // Test passes if it does not trigger UBSAN warnings. in TEST() 40 // Test passes if it does not trigger UBSAN warnings. in TEST() 45 // Test passes if it does not trigger UBSAN warnings. in TEST() 50 // Test passes if it does not trigger UBSAN warnings. in TEST() 55 // Test passes if it does not trigger UBSAN warnings. in TEST()
|
| /external/clang/test/Driver/ |
| D | sanitizer-ld.c | 195 // RUN: | FileCheck --check-prefix=CHECK-UBSAN-LINUX %s 196 // CHECK-UBSAN-LINUX: "{{.*}}ld{{(.exe)?}}" 197 // CHECK-UBSAN-LINUX-NOT: libclang_rt.asan 198 // CHECK-UBSAN-LINUX-NOT: libclang_rt.ubsan_standalone_cxx 199 // CHECK-UBSAN-LINUX: "-whole-archive" "{{.*}}libclang_rt.ubsan_standalone-i386.a" "-no-whole-archi… 200 // CHECK-UBSAN-LINUX-NOT: libclang_rt.asan 201 // CHECK-UBSAN-LINUX-NOT: libclang_rt.ubsan_standalone_cxx 202 // CHECK-UBSAN-LINUX-NOT: "-lstdc++" 203 // CHECK-UBSAN-LINUX: "-lpthread" 208 // RUN: | FileCheck --check-prefix=CHECK-UBSAN-LINUX-LINK-CXX %s [all …]
|
| D | darwin-sanitizer-ld.c | 26 // RUN: | FileCheck --check-prefix=CHECK-UBSAN %s 28 // CHECK-UBSAN: "{{.*}}ld{{(.exe)?}}" 29 // CHECK-UBSAN-NOT: "-lstdc++" 30 // CHECK-UBSAN-NOT: "-lc++" 31 // CHECK-UBSAN: libclang_rt.ubsan_osx_dynamic.dylib" 32 // CHECK-UBSAN: "-rpath" "@executable_path" 33 // CHECK-UBSAN: "-rpath" "{{.*}}lib{{.*}}darwin" 45 // RUN: | FileCheck --check-prefix=CHECK-DYN-UBSAN %s 47 // CHECK-DYN-UBSAN: "{{.*}}ld{{(.exe)?}}" 48 // CHECK-DYN-UBSAN: "-dylib" [all …]
|
| /external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/ |
| D | bazel.rc | 129 build:ubsan --strip=never 130 build:ubsan --copt=-fsanitize=undefined 131 build:ubsan --copt=-fsanitize-link-c++-runtime 132 build:ubsan --copt=-fno-omit-frame-pointer 133 build:ubsan --copt=-DGRPC_UBSAN 134 build:ubsan --copt=-DNDEBUG 135 build:ubsan --copt=-fno-sanitize=function,vptr 136 build:ubsan --linkopt=-fsanitize=undefined 137 # avoid ubsan build error with int128 by linking against libc++ 139 build:ubsan --linkopt=-fsanitize-link-c++-runtime [all …]
|
| /external/pdfium/third_party/agg23/ |
| D | README.pdfium | 18 0002-ubsan-error-fixes.patch: Fix UBSan errors for overflows. 19 0003-ubsan-render-line-error.patch: Fix UBSan overflow error in render_line. 20 0004-ubsan-sweep-scanline-error.patch: Fix UBSan left shift of negative value 24 0006-ubsan-sweep-scanline-error.patch: Fix UBSan integer overflow error in 34 0014-ubsan-render-line.patch: Fix some integer overflows in
|
| /external/grpc-grpc/tools/ |
| D | bazel.rc | 138 build:ubsan --strip=never 139 build:ubsan --copt=-fsanitize=undefined 140 build:ubsan --copt=-fsanitize-link-c++-runtime 141 build:ubsan --copt=-fno-omit-frame-pointer 142 build:ubsan --copt=-DGRPC_UBSAN 143 build:ubsan --copt=-DNDEBUG 144 build:ubsan --copt=-fno-sanitize=function,vptr 145 build:ubsan --linkopt=-fsanitize=undefined 146 # avoid ubsan build error with int128 by linking against libc++ 148 build:ubsan --linkopt=-fsanitize-link-c++-runtime [all …]
|
| /external/compiler-rt/test/ubsan/ |
| D | lit.common.cfg | 18 # Choose between standalone and UBSan+ASan modes. 21 config.name = 'UBSan-Standalone-' + config.target_arch 22 config.available_features.add("ubsan-standalone") 25 config.name = 'UBSan-ASan-' + config.target_arch 26 config.available_features.add("ubsan-asan") 30 config.name = 'UBSan-MSan-' + config.target_arch 31 config.available_features.add("ubsan-msan") 34 config.name = 'UBSan-TSan-' + config.target_arch 35 config.available_features.add("ubsan-tsan") 38 lit_config.fatal("Unknown UBSan test mode: %r" % ubsan_lit_test_mode)
|
| D | CMakeLists.txt | 32 add_ubsan_testsuite("Standalone" ubsan ${arch}) 35 # TODO(wwchrome): Re-enable ubsan for asan win 64-bit when ready. 36 # Disable ubsan with AddressSanitizer tests for Windows 64-bit. 49 add_lit_testsuite(check-ubsan "Running UndefinedBehaviorSanitizer tests" 52 set_target_properties(check-ubsan PROPERTIES FOLDER "Compiler-RT Misc")
|
| /external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/remote_build/ |
| D | linux.bazelrc | 72 build:ubsan --copt=-gmlt 75 build:ubsan --test_timeout=60,600,1800,3600 78 # TODO(jtattermusch): disable memory sanitizer for ubsan build as soon as possible. 79 build:ubsan --copt=-fsanitize=memory 80 build:ubsan --copt=-fsanitize-recover=memory 81 build:ubsan --linkopt=-fsanitize=memory 82 build:ubsan --cxxopt=--stdlib=libc++ 83 build:ubsan --action_env=MSAN_OPTIONS=halt_on_error=0 84 build:ubsan --test_tag_filters=-no_linux,-noubsan 86 # TODO(jtattermusch): run UBSAN without enabling MSAN too. [all …]
|
| /external/grpc-grpc/tools/remote_build/ |
| D | linux.bazelrc | 72 build:ubsan --copt=-gmlt 75 build:ubsan --test_timeout=60,600,1800,3600 78 # TODO(jtattermusch): disable memory sanitizer for ubsan build as soon as possible. 79 build:ubsan --copt=-fsanitize=memory 80 build:ubsan --copt=-fsanitize-recover=memory 81 build:ubsan --linkopt=-fsanitize=memory 82 build:ubsan --cxxopt=--stdlib=libc++ 83 build:ubsan --action_env=MSAN_OPTIONS=halt_on_error=0 84 build:ubsan --test_tag_filters=-no_linux,-noubsan 86 # TODO(jtattermusch): run UBSAN without enabling MSAN too. [all …]
|
| /external/zstd/.github/workflows/ |
| D | dev-long-tests.yml | 97 gcc-8-asan-ubsan-testzstd: 101 - name: gcc-8 + ASan + UBSan + Test Zstd 109 clang-asan-ubsan-testzstd: 113 - name: clang + ASan + UBSan + Test Zstd 116 gcc-asan-ubsan-testzstd-32bit: 120 - name: ASan + UBSan + Test Zstd, 32bit mode 130 gcc-8-asan-ubsan-fuzz: 134 - name: gcc-8 + ASan + UBSan + Fuzz Test 142 clang-asan-ubsan-fuzz: 146 - name: clang + ASan + UBSan + Fuzz Test [all …]
|
| /external/mesa3d/src/broadcom/ci/ |
| D | gitlab-ci.yml | 46 vc4-rpi3-gl-ubsan:arm64: 49 - .broadcom-ubsan-test:arm64 52 # UBSan is quite slow, so restrict to 1 job 55 DEQP_SUITE: broadcom-rpi3-ubsan 126 v3d-rpi4-gl-ubsan:arm64: 129 - .broadcom-ubsan-test:arm64 132 # UBSan is quite slow, so restrict to 1 job 135 DEQP_SUITE: broadcom-rpi4-ubsan 177 v3dv-rpi4-vk-ubsan:arm64: 180 - .broadcom-ubsan-test:arm64 [all …]
|
| D | deqp-broadcom-rpi4-ubsan.toml | 13 prefix = "ubsan-" 27 prefix = "ubsan-" 39 prefix = "ubsan-"
|
| /external/clang/docs/ |
| D | UndefinedBehaviorSanitizer.rst | 11 UndefinedBehaviorSanitizer (UBSan) is a fast undefined behavior detector. 12 UBSan modifies the program at compile-time to catch various kinds of undefined 20 See the full list of available :ref:`checks <ubsan-checks>` below. 22 UBSan has an optional run-time library which provides better error reporting. 35 executable is linked with proper UBSan runtime libraries. You can use ``clang`` 50 You can enable only a subset of :ref:`checks <ubsan-checks>` offered by UBSan, 55 * execute a trap instruction (doesn't require UBSan run-time support). 139 If you want UBSan to print symbolized stack trace for each error report, you 157 You disable UBSan checks for particular functions with 177 Sometimes you can suppress UBSan error reports for specific files, functions, [all …]
|
| /external/sdv/vsomeip/third_party/boost/smart_ptr/ |
| D | .travis.yml | 87 … env: UBSAN=1 TOOLSET=gcc CXXSTD=03,11,14 UBSAN_OPTIONS=print_stacktrace=1 LINKFLAGS=-fuse-ld=gold 98 env: UBSAN=1 TOOLSET=gcc CXXSTD=17,2a UBSAN_OPTIONS=print_stacktrace=1 LINKFLAGS=-fuse-ld=gold 126 env: UBSAN=1 TOOLSET=clang CXXSTD=03,11,14,17,2a UBSAN_OPTIONS=print_stacktrace=1 139 …env: UBSAN=1 TOOLSET=clang COMPILER=clang++-libc++ CXXSTD=03,11,14,1z UBSAN_OPTIONS=print_stacktra… 148 …env: UBSAN=1 TOOLSET=clang COMPILER=clang++-libc++ CXXSTD=03,11,14,17,2a UBSAN_OPTIONS=print_stack… 156 … env: UBSAN=1 TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z UBSAN_OPTIONS=print_stacktrace=1 218 …- ./b2 -j3 libs/smart_ptr/test toolset=$TOOLSET cxxstd=$CXXSTD variant=debug,release ${UBSAN:+cxxf…
|
| /external/pdfium/tools/ubsan/ |
| D | security_ignorelist.txt | 7 # UBSan ignore list. 10 # YASM does some funny things that UBsan doesn't like. 32 # Maybe UBSan itself can be improved here? 43 # UBSan vptr ignore list. 50 # UBSan seems to be emit false positives when virtual base classes are 56 # UBsan goes into an infinite recursion when __dynamic_cast instrumented with
|
| /external/libyuv/infra/config/ |
| D | luci-scheduler.cfg | 141 id: "Linux UBSan" 147 builder: "Linux UBSan" 151 id: "Linux UBSan vptr" 157 builder: "Linux UBSan vptr" 342 triggers: "Linux UBSan" 343 triggers: "Linux UBSan vptr"
|
| /external/zstd/tests/fuzz/ |
| D | README.md | 43 `--enable-ubsan-pointer-overflow`, etc. 71 ./fuzz.py build all --enable-fuzzer --enable-asan --enable-ubsan --cc clang --cxx clang++ 73 CC=clang CXX=clang++ ./fuzz.py build all --enable-fuzzer --enable-asan --enable-ubsan 100 CC=afl-clang CXX=afl-clang++ ./fuzz.py build all --enable-asan --enable-ubsan 111 CC=clang CXX=clang++ ./fuzz.py build all --enable-asan --enable-ubsan 145 ./fuzz.py build your_harness --enable-fuzzer --enable-asan --enable-ubsan --cc clang --cxx clang++
|
| /external/sdv/vsomeip/third_party/boost/core/ |
| D | .travis.yml | 71 …env: UBSAN=1 TOOLSET=gcc COMPILER=g++-10 CXXSTD=03,11,14,17,20 UBSAN_OPTIONS=print_stacktrace=1 LI… 99 …env: UBSAN=1 TOOLSET=clang COMPILER=clang++-11 CXXSTD=03,11,14,17,20 UBSAN_OPTIONS=print_stacktrac… 112 …env: UBSAN=1 TOOLSET=clang COMPILER=clang++-libc++ CXXSTD=03,11,14,17,2a UBSAN_OPTIONS=print_stack… 146 … env: UBSAN=1 TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z UBSAN_OPTIONS=print_stacktrace=1 204 …odel=$ADDRMD} ${UBSAN:+cxxflags=-fsanitize=undefined cxxflags=-fno-sanitize-recover=undefined link…
|
| /external/sdv/vsomeip/third_party/boost/system/ |
| D | .travis.yml | 71 …env: UBSAN=1 TOOLSET=gcc COMPILER=g++-10 CXXSTD=03,11,14,17,20 UBSAN_OPTIONS=print_stacktrace=1 LI… 99 …env: UBSAN=1 TOOLSET=clang COMPILER=clang++-11 CXXSTD=03,11,14,17,20 UBSAN_OPTIONS=print_stacktrac… 112 …env: UBSAN=1 TOOLSET=clang COMPILER=clang++-libc++ CXXSTD=03,11,14,17,2a UBSAN_OPTIONS=print_stack… 150 … env: UBSAN=1 TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z UBSAN_OPTIONS=print_stacktrace=1 207 …odel=$ADDRMD} ${UBSAN:+cxxflags=-fsanitize=undefined cxxflags=-fno-sanitize-recover=undefined link…
|
| /external/libwebm/infra/ |
| D | run_unit_tests.sh | 47 TARGET supported targets: (x86-asan, x86-ubsan, x86_64-asan, x86_64-ubsan, 116 # TODO(b/185520494): Handle ubsan warning output inspection 154 *-ubsan) 156 if [[ "${TARGET}" == "x86-ubsan" ]]; then 181 *-asan | *-ubsan)
|