Home
last modified time | relevance | path

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

123456789

/external/swiftshader/third_party/llvm-7.0/llvm/test/Instrumentation/AddressSanitizer/
Dwith-ifunc.ll1 ; Test -asan-with-ifunc flag.
3 ; RUN: opt -asan -asan-module -S -asan-with-ifunc=0 < %s | \
5 ; RUN: opt -asan -asan-module -S -asan-with-ifunc=1 -asan-with-ifunc-suppress-remat=0 < %s | \
7 ; RUN: opt -asan -asan-module -S -asan-with-ifunc=1 -asan-with-ifunc-suppress-remat=1 < %s | \
11 ; RUN: opt -asan -asan-module -S -asan-with-ifunc=1 -asan-with-ifunc-suppress-remat=0 -mtriple=armv…
13 ; RUN: opt -asan -asan-module -S -asan-with-ifunc=1 -asan-with-ifunc-suppress-remat=0 -mtriple=armv…
15 ; RUN: opt -asan -asan-module -S -asan-with-ifunc=1 -asan-with-ifunc-suppress-remat=0 -mtriple=armv…
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 …
Dglobal_metadata_array.ll1 ; RUN: opt < %s -asan -asan-module -asan-globals-live-support=0 -mtriple=x86_64-unknown-linux-gnu -…
2 ; RUN: opt < %s -asan -asan-module -asan-globals-live-support=0 -mtriple=x86_64-apple-macosx10.11.0…
3 ; RUN: opt < %s -asan -asan-module -asan-globals-live-support=0 -mtriple=x86_64-pc-windows-msvc19.0…
4 ; RUN: opt < %s -asan -asan-module -asan-globals-live-support=0 -asan-mapping-scale=5 -mtriple=x86_…
22 ; CHECK: [[FILENAME:@___asan_gen_.[0-9]+]] = private unnamed_addr constant [22 x i8] c"/tmp/asan-gl…
57 !llvm.asan.globals = !{!0, !1, !2, !3, !4}
68 !6 = !{!"/tmp/asan-globals.cpp", i32 5, i32 5}
69 !7 = !{!"/tmp/asan-globals.cpp", i32 7, i32 5}
70 !8 = !{!"/tmp/asan-globals.cpp", i32 12, i32 14}
71 !9 = !{!"/tmp/asan-globals.cpp", i32 14, i32 25}
Dno-globals.ll1 ; A module with no asan-instrumented globals has no asan destructor, and has an asan constructor in…
2 ; RUN: opt -mtriple=x86_64-unknown-linux-gnu < %s -asan -asan-module -asan-with-comdat=1 -asan-glob…
9 …)*, i8* }] [{ i32, void ()*, i8* } { i32 1, void ()* @asan.module_ctor, i8* bitcast (void ()* @asa…
11 ; CHECK: define internal void @asan.module_ctor() comdat
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…
Dstack-poisoning-byval-args.ll2 ; RUN: opt < %s -asan -asan-realign-stack=32 -S | FileCheck %s
3 ; RUN: opt < %s -asan -asan-realign-stack=32 -asan-force-dynamic-shadow -S | FileCheck %s
4 ; RUN: opt < %s -asan -asan-realign-stack=32 -asan-mapping-scale=5 -S | FileCheck %s
5 ; RUN: opt < %s -asan -asan-realign-stack=32 -asan-force-dynamic-shadow -asan-mapping-scale=5 -S | …
37 ; passed via the -asan-realign-stack option, which is greater than 4.
Dglobal_metadata.ll1 ; RUN: opt < %s -asan -asan-module -asan-globals-live-support=1 -S | FileCheck %s
2 ; RUN: opt < %s -asan -asan-module -asan-globals-live-support=1 -asan-mapping-scale=5 -S | FileChec…
22 ; CHECK: [[FILENAME:@___asan_gen_.[0-9]+]] = private unnamed_addr constant [22 x i8] c"/tmp/asan-gl…
60 !llvm.asan.globals = !{!0, !1, !2, !3, !4}
71 !6 = !{!"/tmp/asan-globals.cpp", i32 5, i32 5}
72 !7 = !{!"/tmp/asan-globals.cpp", i32 7, i32 5}
73 !8 = !{!"/tmp/asan-globals.cpp", i32 12, i32 14}
74 !9 = !{!"/tmp/asan-globals.cpp", i32 14, i32 25}
Ddebug_info_noninstrumented_alloca.ll5 ; RUN: opt < %s -asan -asan-module -S | FileCheck %s
6 ; RUN: opt < %s -asan -asan-module -asan-instrument-dynamic-allocas -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.
Dforce-dynamic-shadow.ll1 ; Test -asan-force-dynamic-shadow flag.
3 ; RUN: opt -asan -asan-module -S -asan-force-dynamic-shadow=1 < %s | FileCheck %s --check-prefixes=…
4 ; RUN: opt -asan -asan-module -S -asan-force-dynamic-shadow=0 < %s | FileCheck %s --check-prefixes=…
Dinstrument_global.ll1 ; RUN: opt < %s -asan -asan-module -asan-globals-live-support=1 -S | FileCheck %s
2 ; RUN: opt < %s -asan -asan-module -asan-globals-live-support=1 -asan-mapping-scale=5 -S | FileChec…
72 !llvm.asan.globals = !{!0}
75 ; CHECK-LABEL: define internal void @asan.module_ctor
80 ; CHECK-LABEL: define internal void @asan.module_dtor
Dinstrument-stack.ll2 ; RUN: opt < %s -asan -asan-module -asan-opt-stack -S | FileCheck %s
3 ; RUN: opt < %s -asan -asan-module -asan-opt-stack -asan-mapping-scale=5 -S | FileCheck %s
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
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_dynamic_alloca.ll1 ; RUN: opt < %s -asan -asan-module -asan-stack-dynamic-alloca \
2 ; RUN: -asan-use-after-return -S | FileCheck %s
3 ; RUN: opt < %s -asan -asan-module -asan-stack-dynamic-alloca -asan-mapping-scale=5 \
4 ; RUN: -asan-use-after-return -S | FileCheck %s
/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
/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.py30 def determine_tests(asan, ubsan, smoke_tests, use_precompiled_headers_in_tests, exclude_tests, argument
35 if asan:
41 if ubsan and not asan:
70 def add_ubuntu_tests(ubuntu_version, compiler, os='linux', stl=None, asan=True, ubsan=True, argument
82 tests = determine_tests(asan, ubsan, smoke_tests,
97 def add_osx_tests(compiler, xcode_version=None, stl=None, asan=True, ubsan=True, argument
109 tests = determine_tests(asan, ubsan, smoke_tests,
141 add_ubuntu_tests(ubuntu_version='18.10', compiler='gcc-8', asan=False, ubsan=False, smoke_tests=['D…
149 add_ubuntu_tests(ubuntu_version='14.04', compiler='gcc-5', asan=False, ubsan=False)
150 add_ubuntu_tests(ubuntu_version='14.04', compiler='clang-3.5', stl='libstdc++', asan=False, ubsan=F…
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Instrumentation/HWAddressSanitizer/
Dkernel-inline.ll3 ; RUN: opt < %s -asan -asan-kernel=1 -asan-recover=1 -asan-instrumentation-with-call-threshold=1000…
4 ; RUN: opt < %s -asan -asan-kernel=1 -asan-recover=1 -asan-instrumentation-with-call-threshold=0 -S…
/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…

123456789