/aosp_15_r20/external/compiler-rt/test/msan/ |
H A D | chained_origin_limits.cc | 6 // 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 D | allocator_returns_null.cc | 7 // 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 D | keep-going.cc | 3 // 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 D | dtor-vtable.cc | 1 …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 D | dtor-vtable-multiple-inheritance.cc | 1 …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 D | keep-going-dso.cc | 3 // 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 D | dtor-member.cc | 1 // 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 D | coverage-levels.cc | 5 // 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 D | use-after-dtor.cc | 1 // 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 D | print_stats.cc | 4 // 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 D | dtor-trivial.cpp | 1 …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 D | dtor-derived-class.cc | 1 …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 D | dtor-base-access.cc | 1 …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 D | dtor-bit-fields.cc | 1 …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 D | dtor-trivial-class-members.cc | 1 …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 D | dtor-multiple-inheritance.cc | 8 …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 D | dtor-multiple-inheritance-nontrivial-class-members.cc | 1 …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 D | msan.cc | 174 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 D | fuzzer_test.gni | 21 # - 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 D | gen_fuzzer_config.py | 41 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 D | fuzzer_test.gni | 29 # - 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 D | gen_fuzzer_config.py | 46 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 D | sendmsg.cc | 10 // 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 D | test_env.py | 101 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 D | afl-network-server.c | 206 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()
|