Home
last modified time | relevance | path

Searched refs:asan (Results 1 – 25 of 105) 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
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.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…
Dfreebsd.ll1 ; RUN: opt < %s -asan -asan-module -S \
6 ; RUN: opt < %s -asan -asan-module -S \
Dlifetime-uar.ll2 ; RUN: opt < %s -asan -asan-module -asan-use-after-return -asan-check-lifetime -S | FileCheck %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-promotable-allocas.ll1 ; RUN: opt < %s -asan -asan-module -asan-instrument-allocas=1 -S | FileCheck %s --check-prefix=CHECK
Ddo-not-touch-odr-global.ll3 ; RUN: opt < %s -asan -asan-module -S | FileCheck %s
11 ; CHECK: @asan.module_ctor
Ddo-not-touch-comdat-global.ll3 ; RUN: opt < %s -asan -asan-module -S | FileCheck %s
14 ; CHECK: @asan.module_ctor
Ddo-not-instrument-globals-darwin.ll3 ; RUN: opt < %s -asan -asan-module -S | FileCheck %s
19 ; CHECK: @asan.module_ctor
Dexperiment-call.ll2 ; -asan-force-experiment flag turns all memory accesses into experiments.
3 ; RUN: opt < %s -asan -asan-module -asan-force-experiment=42 -asan-instrumentation-with-call-thresh…
Dinstrument_global.ll1 ; RUN: opt < %s -asan -asan-module -S | FileCheck %s
71 !llvm.asan.globals = !{!0}
74 ; CHECK-LABEL: define internal void @asan.module_ctor
79 ; CHECK-LABEL: define internal void @asan.module_dtor
/external/compiler-rt/lib/asan/
DCMakeLists.txt107 add_custom_target(asan) target
109 add_compiler_rt_runtime(clang_rt.asan
121 PARENT_TARGET asan)
132 add_compiler_rt_runtime(clang_rt.asan
140 PARENT_TARGET asan)
149 PARENT_TARGET asan)
151 add_compiler_rt_runtime(clang_rt.asan-preinit
157 PARENT_TARGET asan)
161 add_sanitizer_rt_version_list(clang_rt.asan-dynamic-${arch}
162 LIBS clang_rt.asan-${arch} clang_rt.asan_cxx-${arch}
[all …]
DAndroid.mk114 -fsanitize-blacklist=external/compiler-rt/lib/asan/tests/asan_test.ignore \
143 define build-asan-rt-shared-library
180 $(eval $(call build-asan-rt-shared-library,$(ADDRESS_SANITIZER_RUNTIME_LIBRARY),64))
181 $(eval $(call build-asan-rt-shared-library,$(2ND_ADDRESS_SANITIZER_RUNTIME_LIBRARY),32))
183 $(eval $(call build-asan-rt-shared-library,$(ADDRESS_SANITIZER_RUNTIME_LIBRARY),32))
209 external/compiler-rt/lib/asan/tests \
237 external/compiler-rt/lib/asan/tests \
289 external/compiler-rt/lib/asan/tests \
312 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")
90 !5 = !DIFile(filename: "asan.c", directory: "D:C")
/external/libchrome/base/
Dbase.isolate23 ['OS=="mac" and asan==1', {
38 ['OS=="win" and asan==1 and component=="shared_library"', {
47 ['OS=="linux" and (asan==1 or lsan==1 or msan==1 or tsan==1)', {
55 ['asan==1 or lsan==1 or msan==1 or tsan==1', {
58 '../tools/valgrind/asan/',
64 ['asan==0 or lsan==0 or msan==0 or tsan==0', {
/external/compiler-rt/test/asan/
DCMakeLists.txt18 list(APPEND ASAN_TEST_DEPS asan)
97 add_lit_testsuite(check-asan "Running the AddressSanitizer tests"
100 set_target_properties(check-asan PROPERTIES FOLDER "ASan tests")
103 # Add check-dynamic-asan target. It is a part of check-all only on Windows,
108 add_lit_testsuite(check-asan-dynamic
112 set_target_properties(check-asan-dynamic
/external/v8/src/
Dbase.isolate41 ['OS=="mac" and asan==1', {
55 ['OS=="linux" and (asan==1 or cfi_vptr==1 or msan==1 or tsan==1)', {
63 ['asan==1 or cfi_vptr==1 or msan==1 or tsan==1', {
71 ['asan==0 or cfi_vptr==0 or msan==0 or tsan==0', {
/external/libchrome/crypto/
Dcrypto_unittests.isolate11 '--asan=<(asan)',
24 ['OS=="mac" and asan==1 and fastbuild==0', {

12345