Home
last modified time | relevance | path

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

12345

/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
Ddo-not-instrument-promotable-allocas.ll1 ; RUN: opt < %s -asan -asan-module -asan-instrument-allocas=1 -S | FileCheck %s
Ddo-not-touch-odr-global.ll3 ; RUN: opt < %s -asan -asan-module -S | FileCheck %s
11 ; CHECK: @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 …]
DAndroid.bp161 // name: "libclang_rt.asan-arm-android",
171 // name: "libclang_rt.asan-aarch64-android",
181 // name: "libclang_rt.asan-mips-android",
191 // name: "libclang_rt.asan-mips64-android",
201 // name: "libclang_rt.asan-i686-android",
235 "external/compiler-rt/lib/asan/tests",
271 "external/compiler-rt/lib/asan/tests",
/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/libchrome/base/
Dbase.isolate23 ['OS=="mac" and asan==1', {
30 ['OS=="win" and asan==1 and component=="shared_library"', {
39 ['OS=="linux" and (asan==1 or lsan==1 or msan==1 or tsan==1)', {
47 ['asan==1 or lsan==1 or msan==1 or tsan==1', {
50 '../tools/valgrind/asan/',
56 ['asan==0 or lsan==0 or msan==0 or tsan==0', {
/external/skia/site/dev/testing/
Dxsan.md34 mkdir -p out/asan
35 cat > out/asan/args.gn <<- EOF
41 bin/gn gen out/asan
42 ninja -C out/asan
/external/libchrome/crypto/
Dcrypto_unittests.isolate11 '--asan=<(asan)',
24 ['OS=="mac" and asan==1 and fastbuild==0', {

12345