Home
last modified time | relevance | path

Searched full:msan_options (Results 1 – 25 of 53) sorted by relevance

123

/aosp_15_r20/external/compiler-rt/test/msan/
H A Dchained_origin_limits.cc6 // RUN: MSAN_OPTIONS=origin_history_size=7 not %run %t >%t.out 2>&1
9 // RUN: MSAN_OPTIONS=origin_history_size=2 not %run %t >%t.out 2>&1
12 // RUN: MSAN_OPTIONS=origin_history_per_stack_limit=1 not %run %t >%t.out 2>&1
15 // RUN: MSAN_OPTIONS=origin_history_size=7,origin_history_per_stack_limit=0 not %run %t >%t.out 2>&1
21 // RUN: MSAN_OPTIONS=origin_history_size=7 not %run %t >%t.out 2>&1
24 // RUN: MSAN_OPTIONS=origin_history_size=2 not %run %t >%t.out 2>&1
27 // RUN: MSAN_OPTIONS=origin_history_per_stack_limit=1 not %run %t >%t.out 2>&1
30 // RUN: MSAN_OPTIONS=origin_history_size=7,origin_history_per_stack_limit=0 not %run %t >%t.out 2>&1
37 // RUN: MSAN_OPTIONS=origin_history_size=7 not %run %t >%t.out 2>&1
40 // RUN: MSAN_OPTIONS=origin_history_size=2 not %run %t >%t.out 2>&1
[all …]
H A Dallocator_returns_null.cc7 // RUN: MSAN_OPTIONS=allocator_may_return_null=0 not %run %t malloc 2>&1 | FileCheck %s --check-pre…
8 // RUN: MSAN_OPTIONS=allocator_may_return_null=1 %run %t malloc 2>&1 | FileCheck %s --check-pre…
9 // RUN: MSAN_OPTIONS=allocator_may_return_null=0 not %run %t calloc 2>&1 | FileCheck %s --check-pre…
10 // RUN: MSAN_OPTIONS=allocator_may_return_null=1 %run %t calloc 2>&1 | FileCheck %s --check-pre…
11 // RUN: MSAN_OPTIONS=allocator_may_return_null=0 not %run %t calloc-overflow 2>&1 | FileCheck %s --…
12 // RUN: MSAN_OPTIONS=allocator_may_return_null=1 %run %t calloc-overflow 2>&1 | FileCheck %s --…
13 // RUN: MSAN_OPTIONS=allocator_may_return_null=0 not %run %t realloc 2>&1 | FileCheck %s --check-pr…
14 // RUN: MSAN_OPTIONS=allocator_may_return_null=1 %run %t realloc 2>&1 | FileCheck %s --check-pr…
15 // RUN: MSAN_OPTIONS=allocator_may_return_null=0 not %run %t realloc-after-malloc 2>&1 | FileCheck …
16 // RUN: MSAN_OPTIONS=allocator_may_return_null=1 %run %t realloc-after-malloc 2>&1 | FileCheck …
H A Dkeep-going.cc3 // RUN: %clangxx_msan -O0 %s -o %t && MSAN_OPTIONS=keep_going=0 not %run %t >%t.out 2>&1
5 // RUN: %clangxx_msan -O0 %s -o %t && MSAN_OPTIONS=keep_going=1 not %run %t >%t.out 2>&1
10 // RUN: %clangxx_msan -mllvm -msan-keep-going=1 -O0 %s -o %t && MSAN_OPTIONS=keep_going=0 not %run …
12 // RUN: %clangxx_msan -mllvm -msan-keep-going=1 -O0 %s -o %t && MSAN_OPTIONS=keep_going=1 not %run …
14 // RUN: %clangxx_msan -mllvm -msan-keep-going=1 -O0 %s -o %t && MSAN_OPTIONS=halt_on_error=1 not %r…
16 // RUN: %clangxx_msan -mllvm -msan-keep-going=1 -O0 %s -o %t && MSAN_OPTIONS=halt_on_error=0 not %r…
19 // Test behaviour of -mllvm -msan-keep-going and MSAN_OPTIONS=keep_going.
21 // of 1 can be overwritten by MSAN_OPTIONS, value of 0 can not.
H A Ddtor-vtable.cc1 …an %s -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
3 …an %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
5 …an %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
7 …TRA=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
9 …RCA=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
11 …RCB=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
13 …TRC=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
H A Ddtor-vtable-multiple-inheritance.cc1 …an %s -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
3 …an %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
5 …an %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
7 …PTR=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
9 …PTR=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
11 …PTR=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
H A Dkeep-going-dso.cc3 // RUN: %clangxx_msan -O0 %s -o %t && MSAN_OPTIONS=keep_going=0 not %run %t >%t.out 2>&1
5 // RUN: %clangxx_msan -O0 %s -o %t && MSAN_OPTIONS=keep_going=1 not %run %t >%t.out 2>&1
10 // RUN: %clangxx_msan -mllvm -msan-keep-going=1 -O0 %s -o %t && MSAN_OPTIONS=keep_going=0 not %run …
12 // RUN: %clangxx_msan -mllvm -msan-keep-going=1 -O0 %s -o %t && MSAN_OPTIONS=keep_going=1 not %run …
15 // Test how -mllvm -msan-keep-going and MSAN_OPTIONS=keep_going affect reports
18 // always overwritten by MSAN_OPTIONS
H A Ddtor-member.cc1 // RUN: %clangxx_msan %s -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=p…
4 …an %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
7 …an %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
10 // RUN: %clangxx_msan %s -fsanitize=memory -o %t && MSAN_OPTIONS=poison_in_dtor=1 %run %t >%t.out …
13 // RUN: %clangxx_msan -fsanitize=memory -fsanitize-memory-use-after-dtor %s -o %t && MSAN_OPTIONS=p…
H A Dcoverage-levels.cc5 // RUN: MSAN_OPTIONS=coverage=1:verbosity=1:coverage_dir=%T/coverage-levels %run %t 2>&1 | FileChec…
7 // RUN: MSAN_OPTIONS=coverage=1:verbosity=1:coverage_dir=%T/coverage-levels not %run %t 2>&1 | File…
9 // RUN: MSAN_OPTIONS=coverage=1:verbosity=1:coverage_dir=%T/coverage-levels not %run %t 2>&1 | File…
11 // RUN: MSAN_OPTIONS=coverage=1:verbosity=1:coverage_dir=%T/coverage-levels not %run %t 2>&1 | File…
H A Duse-after-dtor.cc1 // RUN: %clangxx_msan %s -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=p…
4 …an %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
7 …an %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
10 …nitize-memory-use-after-dtor -fsanitize-memory-track-origins -o %t && MSAN_OPTIONS=poison_in_dtor=…
H A Dprint_stats.cc4 // RUN: MSAN_OPTIONS=print_stats=1 %run %t 2>&1 | \
6 // RUN: MSAN_OPTIONS=print_stats=1,atexit=1 %run %t 2>&1 | \
12 // RUN: MSAN_OPTIONS=print_stats=1 not %run %t 2>&1 | \
18 // RUN: MSAN_OPTIONS=print_stats=1 not %run %t 2>&1 | \
H A Ddtor-trivial.cpp1 …an %s -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
3 …an %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
5 …an %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
H A Ddtor-derived-class.cc1 …an %s -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
2 …an %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
3 …an %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
H A Ddtor-base-access.cc1 …an %s -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
3 …an %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
5 …an %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
H A Ddtor-bit-fields.cc1 …an %s -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
3 …an %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
5 …an %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
H A Ddtor-trivial-class-members.cc1 …an %s -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
3 …an %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
5 …an %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
H A Ddtor-multiple-inheritance.cc8 …an %s -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
10 …an %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
12 …an %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
H A Ddtor-multiple-inheritance-nontrivial-class-members.cc1 …an %s -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
3 …an %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
5 …an %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=…
/aosp_15_r20/external/compiler-rt/lib/msan/
H A Dmsan.cc174 const char *msan_options = GetEnv("MSAN_OPTIONS"); in InitializeFlags() local
175 parser.ParseString(msan_options); in InitializeFlags()
179 VPrintf(1, "MSAN_OPTIONS: %s\n", msan_options ? msan_options : "<empty>"); in InitializeFlags()
190 Printf("MSAN_OPTIONS=exit_code is deprecated! " in InitializeFlags()
191 "Please use MSAN_OPTIONS=exitcode instead.\n"); in InitializeFlags()
/aosp_15_r20/external/openscreen/testing/libfuzzer/
H A Dfuzzer_test.gni21 # - msan_options - MemorySanitizer options.
79 defined(invoker.asan_options) || defined(invoker.msan_options) ||
118 if (defined(invoker.msan_options)) {
119 args += [ "--msan_options" ]
120 args += invoker.msan_options
H A Dgen_fuzzer_config.py41 parser.add_argument('--msan_options', nargs='+', default=[])
52 args.asan_options or args.msan_options or args.ubsan_options):
68 [option.split('=') for option in args.msan_options])
/aosp_15_r20/external/cronet/testing/libfuzzer/
H A Dfuzzer_test.gni29 # - msan_options - MemorySanitizer options.
124 defined(invoker.msan_options) || defined(invoker.ubsan_options) ||
172 if (defined(invoker.msan_options)) {
173 args += [ "--msan_options" ]
174 args += invoker.msan_options
H A Dgen_fuzzer_config.py46 parser.add_argument('--msan_options', nargs='+', default=[])
58 args.asan_options or args.msan_options or args.ubsan_options or
82 [option.split('=') for option in args.msan_options])
/aosp_15_r20/external/compiler-rt/test/msan/Linux/
H A Dsendmsg.cc10 // RUN: MSAN_OPTIONS=intercept_send=0 %run %t 2>&1 | FileCheck %s --check-prefix=NEGATIVE
12 // RUN: MSAN_OPTIONS=intercept_send=0 %run %t 2>&1 | FileCheck %s --check-prefix=NEGATIVE
14 // RUN: MSAN_OPTIONS=intercept_send=0 %run %t 2>&1 | FileCheck %s --check-prefix=NEGATIVE
/aosp_15_r20/external/cronet/testing/
H A Dtest_env.py101 msan_options = symbolization_options[:]
103 msan_options.append('detect_leaks=1')
104 extra_env['MSAN_OPTIONS'] = ' '.join(msan_options)
/aosp_15_r20/external/AFLplusplus/utils/afl_network_proxy/
H A Dafl-network-server.c206 x = get_afl_env("MSAN_OPTIONS"); in set_up_environment()
212 FATAL("Custom MSAN_OPTIONS set without exit_code=" STRINGIFY( in set_up_environment()
219 FATAL("Custom MSAN_OPTIONS set without symbolize=0 - please fix!"); in set_up_environment()
290 "MSAN_OPTIONS: custom settings for MSAN\n" in usage()

123