reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/asan/asan_activation_flags.inc
   23 ASAN_ACTIVATION_FLAG(int, redzone)
   24 ASAN_ACTIVATION_FLAG(int, max_redzone)
   25 ASAN_ACTIVATION_FLAG(int, quarantine_size_mb)
   26 ASAN_ACTIVATION_FLAG(int, thread_local_quarantine_size_kb)
   27 ASAN_ACTIVATION_FLAG(bool, alloc_dealloc_mismatch)
   28 ASAN_ACTIVATION_FLAG(bool, poison_heap)
   30 COMMON_ACTIVATION_FLAG(bool, allocator_may_return_null)
   31 COMMON_ACTIVATION_FLAG(int, malloc_context_size)
   32 COMMON_ACTIVATION_FLAG(bool, coverage)
   33 COMMON_ACTIVATION_FLAG(const char *, coverage_dir)
   34 COMMON_ACTIVATION_FLAG(int, verbosity)
   35 COMMON_ACTIVATION_FLAG(bool, help)
   36 COMMON_ACTIVATION_FLAG(s32, allocator_release_to_os_interval_ms)
projects/compiler-rt/lib/asan/asan_flags.inc
   19 ASAN_FLAG(int, quarantine_size, -1,
   21 ASAN_FLAG(int, quarantine_size_mb, -1,
   25 ASAN_FLAG(int, thread_local_quarantine_size_kb, -1,
   31 ASAN_FLAG(int, redzone, 16,
   34 ASAN_FLAG(int, max_redzone, 2048,
   36 ASAN_FLAG(
   39 ASAN_FLAG(
   44 ASAN_FLAG(bool, check_initialization_order, false,
   46 ASAN_FLAG(
   50 ASAN_FLAG(bool, replace_intrin, true,
   52 ASAN_FLAG(bool, detect_stack_use_after_return, false,
   54 ASAN_FLAG(int, min_uar_stack_size_log, 16, // We can't do smaller anyway.
   56 ASAN_FLAG(int, max_uar_stack_size_log,
   59 ASAN_FLAG(bool, uar_noreserve, false,
   61 ASAN_FLAG(
   65 ASAN_FLAG(
   69 ASAN_FLAG(int, malloc_fill_byte, 0xbe,
   71 ASAN_FLAG(int, free_fill_byte, 0x55,
   73 ASAN_FLAG(bool, allow_user_poisoning, true,
   76 ASAN_FLAG(
   81 ASAN_FLAG(
   85 ASAN_FLAG(bool, check_malloc_usable_size, true,
   88 ASAN_FLAG(bool, unmap_shadow_on_exit, false,
   90 ASAN_FLAG(bool, protect_shadow_gap, !SANITIZER_RTEMS,
   92 ASAN_FLAG(bool, print_stats, false,
   95 ASAN_FLAG(bool, print_legend, true, "Print the legend for the shadow bytes.")
   96 ASAN_FLAG(bool, print_scariness, false,
   98 ASAN_FLAG(bool, atexit, false,
  101 ASAN_FLAG(
  105 ASAN_FLAG(
  109 ASAN_FLAG(bool, poison_partial, true,
  113 ASAN_FLAG(bool, poison_array_cookie, true,
  120 ASAN_FLAG(bool, alloc_dealloc_mismatch,
  124 ASAN_FLAG(bool, new_delete_type_mismatch, true,
  126 ASAN_FLAG(
  130 ASAN_FLAG(
  137 ASAN_FLAG(
  142 ASAN_FLAG(bool, detect_container_overflow, true,
  146 ASAN_FLAG(int, detect_odr_violation, 2,
  150 ASAN_FLAG(const char *, suppressions, "", "Suppressions file name.")
  151 ASAN_FLAG(bool, halt_on_error, true,
  154 ASAN_FLAG(bool, allocator_frees_and_returns_null_on_realloc_zero, true,
  158 ASAN_FLAG(bool, verify_asan_link_order, true,
  161 ASAN_FLAG(
projects/compiler-rt/lib/dfsan/dfsan_flags.inc
   19 DFSAN_FLAG(bool, warn_unimplemented, true,
   21 DFSAN_FLAG(bool, warn_nonzero_labels, false,
   23 DFSAN_FLAG(
   29 DFSAN_FLAG(const char *, dump_labels_at_exit, "", "The path of the file where "
   32 DFSAN_FLAG(bool, fast16labels, false,
projects/compiler-rt/lib/gwp_asan/options.inc
   13 GWP_ASAN_OPTION(bool, Enabled, true, "Is GWP-ASan enabled? Defaults to true.")
   15 GWP_ASAN_OPTION(
   24 GWP_ASAN_OPTION(int, MaxSimultaneousAllocations, 16,
   28 GWP_ASAN_OPTION(int, SampleRate, 5000,
   33 GWP_ASAN_OPTION(
projects/compiler-rt/lib/hwasan/hwasan_flags.inc
   19 HWASAN_FLAG(bool, verbose_threads, false,
   21 HWASAN_FLAG(bool, tag_in_malloc, true, "")
   22 HWASAN_FLAG(bool, tag_in_free, true, "")
   23 HWASAN_FLAG(bool, print_stats, false, "")
   24 HWASAN_FLAG(bool, halt_on_error, true, "")
   25 HWASAN_FLAG(bool, atexit, false, "")
   29 HWASAN_FLAG(bool, disable_allocator_tagging, false, "")
   33 HWASAN_FLAG(bool, random_tags, true, "")
   35 HWASAN_FLAG(
   40 HWASAN_FLAG(bool, free_checks_tail_magic, 1,
   44 HWASAN_FLAG(
   48 HWASAN_FLAG(int, malloc_fill_byte, 0xbe,
   50 HWASAN_FLAG(int, free_fill_byte, 0x55,
   52 HWASAN_FLAG(int, heap_history_size, 1023,
   56 HWASAN_FLAG(bool, export_memory_stats, true,
   58 HWASAN_FLAG(int, stack_history_size, 1024,
   68 HWASAN_FLAG(uptr, malloc_bisect_left, 0,
   70 HWASAN_FLAG(uptr, malloc_bisect_right, 0,
   72 HWASAN_FLAG(bool, malloc_bisect_dump, false,
projects/compiler-rt/lib/lsan/lsan_flags.inc
   19 LSAN_FLAG(bool, report_objects, false,
   21 LSAN_FLAG(
   25 LSAN_FLAG(int, max_leaks, 0, "The number of leaks reported.")
   28 LSAN_FLAG(bool, use_globals, true,
   30 LSAN_FLAG(bool, use_stacks, true, "Root set: include thread stacks")
   31 LSAN_FLAG(bool, use_registers, true, "Root set: include thread registers")
   32 LSAN_FLAG(bool, use_tls, true,
   34 LSAN_FLAG(bool, use_root_regions, true,
   36 LSAN_FLAG(bool, use_ld_allocations, true,
   41 LSAN_FLAG(bool, use_unaligned, false, "Consider unaligned pointers valid.")
   42 LSAN_FLAG(bool, use_poisoned, false,
   44 LSAN_FLAG(bool, log_pointers, false, "Debug logging")
   45 LSAN_FLAG(bool, log_threads, false, "Debug logging")
   46 LSAN_FLAG(const char *, suppressions, "", "Suppressions file name.")
projects/compiler-rt/lib/msan/msan_flags.inc
   19 MSAN_FLAG(int, exit_code, -1,
   21 MSAN_FLAG(int, origin_history_size, Origin::kMaxDepth, "")
   22 MSAN_FLAG(int, origin_history_per_stack_limit, 20000, "")
   23 MSAN_FLAG(bool, poison_heap_with_zeroes, false, "")
   24 MSAN_FLAG(bool, poison_stack_with_zeroes, false, "")
   25 MSAN_FLAG(bool, poison_in_malloc, true, "")
   26 MSAN_FLAG(bool, poison_in_free, true, "")
   27 MSAN_FLAG(bool, poison_in_dtor, false, "")
   28 MSAN_FLAG(bool, report_umrs, true, "")
   29 MSAN_FLAG(bool, wrap_signals, true, "")
   30 MSAN_FLAG(bool, print_stats, false, "")
   31 MSAN_FLAG(bool, halt_on_error, !&__msan_keep_going, "")
   32 MSAN_FLAG(bool, atexit, false, "")
   33 MSAN_FLAG(int, store_context_size, 20,
projects/compiler-rt/lib/sanitizer_common/sancov_flags.inc
   16 SANCOV_FLAG(bool, symbolize, true,
   20 SANCOV_FLAG(bool, help, false, "Print flags help.")
projects/compiler-rt/lib/sanitizer_common/sanitizer_flags.inc
   22 COMMON_FLAG(
   26 COMMON_FLAG(
   30 COMMON_FLAG(
   35 COMMON_FLAG(const char *, strip_path_prefix, "",
   37 COMMON_FLAG(bool, fast_unwind_on_check, false,
   40 COMMON_FLAG(bool, fast_unwind_on_fatal, false,
   43 COMMON_FLAG(bool, fast_unwind_on_malloc, true,
   46 COMMON_FLAG(bool, handle_ioctl, false, "Intercept and handle ioctl requests.")
   47 COMMON_FLAG(int, malloc_context_size, 1,
   49 COMMON_FLAG(
   53 COMMON_FLAG(
   57 COMMON_FLAG(
   61 COMMON_FLAG(
   64 COMMON_FLAG(bool, strip_env, 1,
   67 COMMON_FLAG(bool, detect_leaks, !SANITIZER_MAC, "Enable memory leak detection.")
   68 COMMON_FLAG(
   73 COMMON_FLAG(bool, allocator_may_return_null, false,
   76 COMMON_FLAG(bool, print_summary, true,
   79 COMMON_FLAG(int, print_module_map, 0,
   82 COMMON_FLAG(bool, check_printf, true, "Check printf arguments.")
   87 COMMON_FLAG(HandleSignalMode, handle_segv, kHandleSignalYes,
   89 COMMON_FLAG(HandleSignalMode, handle_sigbus, kHandleSignalYes,
   91 COMMON_FLAG(HandleSignalMode, handle_abort, kHandleSignalNo,
   93 COMMON_FLAG(HandleSignalMode, handle_sigill, kHandleSignalNo,
   95 COMMON_FLAG(HandleSignalMode, handle_sigtrap, kHandleSignalNo,
   97 COMMON_FLAG(HandleSignalMode, handle_sigfpe, kHandleSignalYes,
  100 COMMON_FLAG(bool, allow_user_segv_handler, true,
  103 COMMON_FLAG(bool, use_sigaltstack, true,
  105 COMMON_FLAG(bool, detect_deadlocks, true,
  107 COMMON_FLAG(
  111 COMMON_FLAG(const char *, color, "auto",
  113 COMMON_FLAG(
  116 COMMON_FLAG(bool, intercept_tls_get_addr, false, "Intercept __tls_get_addr.")
  117 COMMON_FLAG(bool, help, false, "Print the flag descriptions.")
  118 COMMON_FLAG(uptr, mmap_limit_mb, 0,
  121 COMMON_FLAG(uptr, hard_rss_limit_mb, 0,
  126 COMMON_FLAG(uptr, soft_rss_limit_mb, 0,
  135 COMMON_FLAG(bool, heap_profile, false, "Experimental heap profiler, asan-only")
  136 COMMON_FLAG(s32, allocator_release_to_os_interval_ms,
  142 COMMON_FLAG(bool, can_use_proc_maps_statm, true,
  145 COMMON_FLAG(
  149 COMMON_FLAG(const char *, coverage_dir, ".",
  152 COMMON_FLAG(bool, full_address_space, false,
  155 COMMON_FLAG(bool, print_suppressions, true,
  157 COMMON_FLAG(
  162 COMMON_FLAG(bool, use_madv_dontdump, true,
  165 COMMON_FLAG(bool, symbolize_inline_frames, true,
  167 COMMON_FLAG(bool, symbolize_vs_style, false,
  170 COMMON_FLAG(int, dedup_token_length, 0,
  175 COMMON_FLAG(const char *, stack_trace_format, "DEFAULT",
  179 COMMON_FLAG(bool, no_huge_pages_for_shadow, true,
  181 COMMON_FLAG(bool, strict_string_checks, false,
  183 COMMON_FLAG(bool, intercept_strstr, true,
  186 COMMON_FLAG(bool, intercept_strspn, true,
  189 COMMON_FLAG(bool, intercept_strtok, true,
  192 COMMON_FLAG(bool, intercept_strpbrk, true,
  195 COMMON_FLAG(bool, intercept_strlen, true,
  198 COMMON_FLAG(bool, intercept_strndup, true,
  201 COMMON_FLAG(bool, intercept_strchr, true,
  204 COMMON_FLAG(bool, intercept_memcmp, true,
  207 COMMON_FLAG(bool, strict_memcmp, true,
  210 COMMON_FLAG(bool, intercept_memmem, true,
  212 COMMON_FLAG(bool, intercept_intrin, true,
  215 COMMON_FLAG(bool, intercept_stat, true,
  218 COMMON_FLAG(bool, intercept_send, true,
  221 COMMON_FLAG(bool, decorate_proc_maps, (bool)SANITIZER_ANDROID,
  224 COMMON_FLAG(int, exitcode, 1, "Override the program exit status if the tool "
  226 COMMON_FLAG(
  230 COMMON_FLAG(bool, suppress_equal_pcs, true,
  233 COMMON_FLAG(bool, print_cmdline, false, "Print command line on crash "
  235 COMMON_FLAG(bool, html_cov_report, false, "Generate html coverage report.")
  236 COMMON_FLAG(const char *, sancov_path, "sancov", "Sancov tool location.")
  237 COMMON_FLAG(bool, dump_instruction_bytes, false,
  239 COMMON_FLAG(bool, dump_registers, true,
  242 COMMON_FLAG(bool, detect_write_exec, false,
  245 COMMON_FLAG(bool, test_only_emulate_no_memorymap, false,
projects/compiler-rt/lib/scudo/scudo_flags.inc
   17 SCUDO_FLAG(int, QuarantineSizeMb, -1,
   21 SCUDO_FLAG(int, QuarantineSizeKb, -1,
   28 SCUDO_FLAG(int, ThreadLocalQuarantineSizeKb, -1,
   35 SCUDO_FLAG(int, QuarantineChunksUpToSize, -1,
   41 SCUDO_FLAG(bool, DeallocationTypeMismatch, !SANITIZER_ANDROID,
   44 SCUDO_FLAG(bool, DeleteSizeMismatch, true,
   47 SCUDO_FLAG(bool, ZeroContents, false,
projects/compiler-rt/lib/tsan/dd/dd_rtl.cpp
   84   RegisterFlag(&parser, "second_deadlock_stack", "", &f->second_deadlock_stack);
projects/compiler-rt/lib/tsan/rtl/tsan_flags.cpp
   47   RegisterFlag(parser, "second_deadlock_stack",
projects/compiler-rt/lib/tsan/rtl/tsan_flags.inc
   19 TSAN_FLAG(bool, enable_annotations, true,
   23 TSAN_FLAG(bool, suppress_equal_stacks, true,
   26 TSAN_FLAG(bool, suppress_equal_addresses, true,
   30 TSAN_FLAG(bool, report_bugs, true,
   32 TSAN_FLAG(bool, report_thread_leaks, true, "Report thread leaks at exit?")
   33 TSAN_FLAG(bool, report_destroy_locked, true,
   35 TSAN_FLAG(bool, report_mutex_bugs, true,
   37 TSAN_FLAG(bool, report_signal_unsafe, true,
   40 TSAN_FLAG(bool, report_atomic_races, true,
   42 TSAN_FLAG(
   46 TSAN_FLAG(bool, print_benign, false, "Print matched \"benign\" races at exit.")
   47 TSAN_FLAG(bool, halt_on_error, false, "Exit after first reported error.")
   48 TSAN_FLAG(int, atexit_sleep_ms, 1000,
   51 TSAN_FLAG(const char *, profile_memory, "",
   53 TSAN_FLAG(int, flush_memory_ms, 0, "Flush shadow memory every X ms.")
   54 TSAN_FLAG(int, flush_symbolizer_ms, 5000, "Flush symbolizer caches every X ms.")
   55 TSAN_FLAG(
   59 TSAN_FLAG(bool, stop_on_start, false,
   61 TSAN_FLAG(bool, running_on_valgrind, false,
   64 TSAN_FLAG(
   71 TSAN_FLAG(int, io_sync, 1,
   76 TSAN_FLAG(bool, die_after_fork, true,
   78 TSAN_FLAG(const char *, suppressions, "", "Suppressions file name.")
   79 TSAN_FLAG(bool, ignore_noninstrumented_modules, SANITIZER_MAC ? true : false,
   82 TSAN_FLAG(bool, shared_ptr_interceptor, true,
projects/compiler-rt/lib/ubsan/ubsan_flags.inc
   19 UBSAN_FLAG(bool, halt_on_error, false,
   21 UBSAN_FLAG(bool, print_stacktrace, false,
   23 UBSAN_FLAG(const char *, suppressions, "", "Suppressions file name.")
   24 UBSAN_FLAG(bool, report_error_type, false,
   26 UBSAN_FLAG(bool, silence_unsigned_overflow, false,
projects/compiler-rt/lib/xray/xray_basic_flags.inc
   16 XRAY_FLAG(int, func_duration_threshold_us, 5,
   19 XRAY_FLAG(int, max_stack_depth, 64,
   22 XRAY_FLAG(int, thread_buffer_size, 1024,
projects/compiler-rt/lib/xray/xray_fdr_flags.inc
   17 XRAY_FLAG(int, func_duration_threshold_us, 5,
   20 XRAY_FLAG(int, grace_period_ms, 100,
   24 XRAY_FLAG(int, buffer_size, 16384,
   26 XRAY_FLAG(int, buffer_max, 100, "Maximum number of buffers in the queue.")
   27 XRAY_FLAG(bool, no_file_flush, false,
projects/compiler-rt/lib/xray/xray_flags.inc
   16 XRAY_FLAG(bool, patch_premain, false,
   18 XRAY_FLAG(const char *, xray_logfile_base, "xray-log.",
   20 XRAY_FLAG(const char *, xray_mode, "", "Mode to install by default.")
   21 XRAY_FLAG(uptr, xray_page_size_override, 0,
   26 XRAY_FLAG(bool, xray_naive_log, false,
   28 XRAY_FLAG(int, xray_naive_log_func_duration_threshold_us, 5,
   31 XRAY_FLAG(int, xray_naive_log_max_stack_depth, 64,
   34 XRAY_FLAG(int, xray_naive_log_thread_buffer_size, 1024,
   39 XRAY_FLAG(bool, xray_fdr_log, false,
   41 XRAY_FLAG(int, xray_fdr_log_func_duration_threshold_us, 5,
   44 XRAY_FLAG(int, xray_fdr_log_grace_period_us, 0,
   47 XRAY_FLAG(int, xray_fdr_log_grace_period_ms, 100,
projects/compiler-rt/lib/xray/xray_profiling_flags.inc
   16 XRAY_FLAG(uptr, per_thread_allocator_max, 16384,
   18 XRAY_FLAG(uptr, global_allocator_max, 2 << 24,
   20 XRAY_FLAG(uptr, stack_allocator_max, 2 << 20,
   22 XRAY_FLAG(int, grace_period_ms, 1,
   26 XRAY_FLAG(bool, no_flush, false,
   29 XRAY_FLAG(int, buffers_max, 128,