Home
last modified time | relevance | path

Searched refs:asan (Results 1 – 25 of 220) sorted by relevance

123456789

/external/llvm/test/Instrumentation/AddressSanitizer/
Dinstrumentation-with-call-threshold.ll1 ; Test asan internal compiler flags:
2 ; -asan-instrumentation-with-call-threshold
3 ; -asan-memory-access-callback-prefix
5 ; RUN: opt < %s -asan -asan-module -asan-instrumentation-with-call-threshold=1 -S | FileCheck %s --…
6 ; RUN: opt < %s -asan -asan-module -asan-instrumentation-with-call-threshold=0 -S | FileCheck %s --…
7 ; RUN: opt < %s -asan -asan-module -asan-instrumentation-with-call-threshold=0 -asan-memory-access-…
8 ; RUN: opt < %s -asan -asan-module -asan-instrumentation-with-call-threshold=5 -S | FileCheck %s --…
9 ; RUN: opt < %s -asan -asan-module -S | FileCheck %s --check-prefix=CHECK-INLINE
Dlifetime-uar-uas.ll2 ; RUN: opt < %s -asan -asan-module -asan-use-after-return=0 -asan-use-after-scope=0 -S | FileCheck …
3 ; RUN: opt < %s -asan -asan-module -asan-use-after-return=1 -asan-use-after-scope=0 -S | FileCheck …
4 ; RUN: opt < %s -asan -asan-module -asan-use-after-return=0 -asan-use-after-scope=1 -S | FileCheck …
5 ; RUN: opt < %s -asan -asan-module -asan-use-after-return=1 -asan-use-after-scope=1 -S | FileCheck …
Dscale-offset.ll1 ; Test that the scale (-asan-mapping-scale) and offset (-asan-mapping-offset) command-line options …
3 ; RUN: opt < %s -asan -asan-module -asan-mapping-offset 0xdeadbeef -S | FileCheck --check-prefix=CH…
4 ; RUN: opt < %s -asan -asan-module -asan-mapping-scale 1 -S | FileCheck --check-prefix=CHECK-SCALE …
5 ; RUN: opt < %s -asan -asan-module -asan-mapping-offset 0xc0ffee -asan-mapping-scale 0 -S | FileChe…
Dinstrument_load_then_store.ll2 ; RUN: opt < %s -asan -asan-module -S -asan-opt=1 | FileCheck %s -check-prefix=OPT1
3 ; RUN: opt < %s -asan -asan-module -S -asan-opt=0 | FileCheck %s -check-prefix=OPT0
19 ; OPT1: asan.module_ctor
25 ; OPT0: asan.module_ctor
Ddebug_info_noninstrumented_alloca.ll5 ; RUN: opt < %s -asan -asan-module -S | FileCheck %s
6 ; RUN: opt < %s -asan -asan-module -asan-instrument-allocas=1 -S | FileCheck %s
13 ; Won't be instrumented because of asan-skip-promotable-allocas.
19 ; Won't be instrumented because of asan-skip-promotable-allocas.
25 ; Won't be instrumented because of asan-skip-promotable-allocas.
Dkeep_going.ll1 ; Test asan internal compiler flags:
2 ; -asan-recover=1
4 ; RUN: opt < %s -asan -asan-recover -asan-module -S | FileCheck %s
Dstack-poisoning.ll1 ; RUN: opt < %s -asan -asan-module -asan-use-after-return -S | FileCheck --check-prefix=CHECK-UAR %s
2 ; RUN: opt < %s -asan -asan-module -asan-use-after-return=0 -S | FileCheck --check-prefix=CHECK-PLA…
Dglobal_metadata_darwin.ll5 ; RUN: opt < %s -asan -asan-module -asan-globals-live-support -S | FileCheck %s
12 !llvm.asan.globals = !{!0}
28 ; CHECK-LABEL: define internal void @asan.module_ctor
34 ; CHECK-LABEL: define internal void @asan.module_dtor
Dglobal_metadata.ll1 ; RUN: opt < %s -asan -asan-module -S | FileCheck %s
20 ; CHECK: [[FILENAME:@__asan_gen_.[0-9]+]] = private unnamed_addr constant [22 x i8] c"/tmp/asan-glo…
53 !llvm.asan.globals = !{!0, !1, !2, !3, !4}
64 !6 = !{!"/tmp/asan-globals.cpp", i32 5, i32 5}
65 !7 = !{!"/tmp/asan-globals.cpp", i32 7, i32 5}
66 !8 = !{!"/tmp/asan-globals.cpp", i32 12, i32 14}
67 !9 = !{!"/tmp/asan-globals.cpp", i32 14, i32 25}
Dinstrument-dynamic-allocas.ll1 ; Test asan internal compiler flags:
2 ; -asan-instrument-allocas=1
4 ; RUN: opt < %s -asan -asan-module -asan-instrument-allocas=1 -S | FileCheck %s --check-prefix=CHEC…
Dlocalescape.ll1 ; RUN: opt < %s -asan -asan-module -asan-use-after-return -asan-stack-dynamic-alloca -S | FileCheck…
2 ; RUN: opt < %s -asan -asan-module -asan-use-after-return=0 -asan-stack-dynamic-alloca=0 -S | FileC…
Dlifetime.ll2 ; RUN: opt < %s -asan -asan-module -asan-use-after-scope -asan-use-after-return=0 -S | FileCheck %s
3 ; RUN: opt < %s -asan -asan-module -asan-use-after-scope -asan-use-after-return=0 -asan-instrument-…
Dfreebsd.ll1 ; RUN: opt < %s -asan -asan-module -S \
6 ; RUN: opt < %s -asan -asan-module -S \
Dstack_layout.ll3 ; RUN: opt < %s -asan -asan-module -asan-stack-dynamic-alloca=0 -S \
5 ; RUN: opt < %s -asan -asan-module -asan-stack-dynamic-alloca=1 -S \
Ddo-not-instrument-profiling-globals.ll2 ; RUN: opt < %s -asan -asan-module -S | FileCheck %s
7 ; CHECK-DAG: @asan.module_ctor
/external/compiler-rt/lib/asan/
DCMakeLists.txt108 add_custom_target(asan) target
109 set_target_properties(asan PROPERTIES FOLDER "Compiler-RT Misc")
112 add_compiler_rt_runtime(clang_rt.asan
124 PARENT_TARGET asan)
135 add_compiler_rt_runtime(clang_rt.asan
143 PARENT_TARGET asan)
152 PARENT_TARGET asan)
154 add_compiler_rt_runtime(clang_rt.asan-preinit
160 PARENT_TARGET asan)
164 add_sanitizer_rt_version_list(clang_rt.asan-dynamic-${arch}
[all …]
/external/google-fruit/extras/scripts/
Dtravis_yml_generator.py32 def determine_tests(asan, ubsan, clang_tidy, smoke_tests, use_precompiled_headers_in_tests, exclude… argument
37 if asan:
43 if ubsan and not asan:
77 def add_ubuntu_tests(ubuntu_version, compiler, os='linux', stl=None, asan=True, ubsan=True, clang_t… argument
89 tests = determine_tests(asan, ubsan, clang_tidy, smoke_tests,
104 def add_osx_tests(compiler, xcode_version=None, stl=None, asan=True, ubsan=True, clang_tidy=True, argument
116 tests = determine_tests(asan, ubsan, clang_tidy, smoke_tests,
159 add_ubuntu_tests(ubuntu_version='18.04', compiler='gcc-5', asan=False, ubsan=False)
160 add_ubuntu_tests(ubuntu_version='18.04', compiler='gcc-8', asan=False, ubsan=False)
170 add_ubuntu_tests(ubuntu_version='16.04', compiler='gcc-5', asan=False, ubsan=False)
[all …]
/external/grpc-grpc/tools/
Dbazel.rc6 build:asan --strip=never
7 build:asan --copt -fsanitize-coverage=edge
8 build:asan --copt -fsanitize=address
9 build:asan --copt -O0
10 build:asan --copt -fno-omit-frame-pointer
11 build:asan --copt -DGPR_NO_DIRECT_SYSCALLS
12 build:asan --linkopt -fsanitize=address
13 build:asan --action_env=ASAN_OPTIONS=detect_leaks=1:color=always
14 build:asan --action_env=LSAN_OPTIONS=suppressions=test/core/util/lsan_suppressions.txt:report_objec…
/external/llvm/test/DebugInfo/COFF/
Dasan-module-without-functions.ll5 ; D:\asan.c:
12 ; ModuleID = 'asan.c'
17 … appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 1, void ()* @asan.module_ctor }]
18 @__asan_gen_ = private constant [7 x i8] c"asan.c\00", align 1
21 … appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 1, void ()* @asan.module_dtor }]
23 define internal void @asan.module_ctor() {
39 define internal void @asan.module_dtor() {
49 !1 = !DIFile(filename: "asan.c", directory: "D:\5C")
Dasan-module-ctor.ll5 ; D:\asan.c:
20 ; ModuleID = 'asan.c'
24 … appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 1, void ()* @asan.module_ctor }]
32 define internal void @asan.module_ctor() {
86 !1 = !DIFile(filename: "asan.c", directory: "D:\5C")
89 !5 = !DIFile(filename: "asan.c", directory: "D:C")
/external/compiler-rt/test/asan/
DCMakeLists.txt6 # TODO(wwchrome): Re-enable Win64 asan tests when ready.
7 # Disable tests for asan Win64 temporarily.
24 list(APPEND ASAN_TEST_DEPS asan)
108 add_lit_testsuite(check-asan "Running the AddressSanitizer tests"
112 set_target_properties(check-asan PROPERTIES FOLDER "Compiler-RT Misc")
115 # Add check-dynamic-asan target. It is a part of check-all only on Windows,
121 add_lit_testsuite(check-asan-dynamic
125 set_target_properties(check-asan-dynamic
132 # TODO(wwchrome): Re-enable the tests for asan Win64 when ready.
/external/rust/crates/grpcio-sys/grpc/tools/
Dbazel.rc17 build:asan --strip=never
18 build:asan --copt=-fsanitize=address
19 build:asan --copt=-O0
20 build:asan --copt=-fno-omit-frame-pointer
21 build:asan --copt=-DGPR_NO_DIRECT_SYSCALLS
22 build:asan --copt=-DGRPC_ASAN
23 build:asan --copt=-DADDRESS_SANITIZER # used by absl
24 build:asan --linkopt=-fsanitize=address
25 build:asan --action_env=ASAN_OPTIONS=detect_leaks=1:color=always
26 build:asan --action_env=LSAN_OPTIONS=suppressions=test/core/util/lsan_suppressions.txt:report_objec…
/external/libwebm/infra/
Drun_unit_tests.sh47 TARGET supported targets: (x86-asan, x86-ubsan, x86_64-asan, x86_64-ubsan,
105 *-asan)
153 *-asan) opts+=("-DCMAKE_CXX_FLAGS=-fsanitize=address") ;;
181 *-asan | *-ubsan)
/external/zstd/contrib/pzstd/
DMakefile90 .PHONY: test-pzstd-asan
91 test-pzstd-asan: LDFLAGS=-fuse-ld=gold
92 test-pzstd-asan: TESTFLAGS=--gtest_filter=-*ExtremelyLarge*
93 test-pzstd-asan: clean asan check
130 .PHONY: asan
131 asan: EXTRA_FLAGS += -fsanitize=address target
132 asan: debug target
148 asan32: asan
/external/bc/scripts/
Dfuzz_prep.sh54 asan=0
60 a) asan=1 ;;
82 if [ "$asan" -ne 0 ]; then

123456789