/external/compiler-rt/lib/lsan/ |
D | lsan.cc | 43 cf.CopyFrom(*common_flags()); in InitializeFlags() 61 SetVerbosity(common_flags()->verbosity); in InitializeFlags() 65 if (common_flags()->help) parser.PrintFlagDescriptions(); in InitializeFlags() 87 if (common_flags()->detect_leaks && common_flags()->leak_check_at_exit) in __lsan_init() 90 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in __lsan_init()
|
D | lsan.h | 35 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal) 38 GET_STACK_TRACE(__sanitizer::common_flags()->malloc_context_size, \ 39 common_flags()->fast_unwind_on_malloc)
|
D | lsan_common.cc | 39 if (!disable_counter && common_flags()->detect_leaks) { in EnableInThisThread() 105 if (common_flags()->detect_leaks) { in InitCommonLsan() 466 if (common_flags()->print_suppressions) in CheckForLeaks() 484 if (common_flags()->exitcode) { in DoLeakCheck() 668 if (!common_flags()->detect_leaks) in __lsan_ignore_object() 739 if (common_flags()->detect_leaks) in __lsan_do_leak_check() 747 if (common_flags()->detect_leaks) in __lsan_do_recoverable_leak_check()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_libcdep.cc | 39 const char *flag = common_flags()->color; in ColorizeReports() 51 if (!common_flags()->print_summary) in ReportErrorSummary() 73 uptr hard_rss_limit_mb = common_flags()->hard_rss_limit_mb; in BackgroundThread() 74 uptr soft_rss_limit_mb = common_flags()->soft_rss_limit_mb; in BackgroundThread() 144 if (!common_flags()->hard_rss_limit_mb && in MaybeStartBackgroudThread() 145 !common_flags()->soft_rss_limit_mb) return; in MaybeStartBackgroudThread()
|
D | sanitizer_stacktrace_libcdep.cc | 29 int dedup_frames = common_flags()->dedup_token_length; in Print() 39 RenderFrame(&frame_desc, common_flags()->stack_trace_format, frame_num++, in Print() 40 cur->info, common_flags()->symbolize_vs_style, in Print() 41 common_flags()->strip_path_prefix); in Print()
|
D | sanitizer_common.cc | 56 if (common_flags()->log_exe_name && exe_name) { in ReopenIfNecessary() 198 if (!common_flags()->print_summary) in ReportErrorSummary() 207 if (!common_flags()->print_summary) in ReportErrorSummary() 211 RenderFrame(&buff, "%L %F", 0, info, common_flags()->symbolize_vs_style, in ReportErrorSummary() 212 common_flags()->strip_path_prefix); in ReportErrorSummary() 284 if (!common_flags()->mmap_limit_mb) return; in IncreaseTotalMmap() 289 RAW_CHECK((total_mmaped >> 20) < common_flags()->mmap_limit_mb); in IncreaseTotalMmap() 293 if (!common_flags()->mmap_limit_mb) return; in DecreaseTotalMmap()
|
D | sanitizer_coverage_libcdep.cc | 213 if (common_flags()->coverage_direct) { in Enable() 220 if (common_flags()->coverage_pc_buffer) in Enable() 288 if (common_flags()->coverage_direct) { in ReInit() 318 if (!common_flags()->coverage_direct) return; in Extend() 395 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in BundlePcAndCounter() 405 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in UnbundlePc() 411 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in UnbundleCounter() 711 if (!common_flags()->coverage_counters) return; in DumpCounters() 735 if (!common_flags()->coverage_bitset) return; in DumpAsBitSet() 787 if (!common_flags()->html_cov_report) { in GenerateHtmlReport() [all …]
|
D | sanitizer_tls_get_addr.cc | 74 if (!common_flags()->intercept_tls_get_addr) return; in DTLS_Destroy() 92 if (!common_flags()->intercept_tls_get_addr) return 0; in DTLS_on_tls_get_addr() 131 if (!common_flags()->intercept_tls_get_addr) return; in DTLS_on_libc_memalign()
|
D | sanitizer_termination.cc | 58 if (common_flags()->abort_on_error) in Die() 60 internal__exit(common_flags()->exitcode); in Die()
|
D | sanitizer_posix_libcdep.cc | 91 if (common_flags()->disable_coredump) { in DisableCoreDumperIfNecessary() 184 if (common_flags()->use_sigaltstack) sigact.sa_flags |= SA_ONSTACK; in MaybeInstallSigaction() 193 if (common_flags()->use_sigaltstack) SetAlternateSignalStack(); in InstallDeadlySignalHandlers() 243 if (!common_flags()->decorate_proc_maps) in GetNamedMappingFd()
|
/external/compiler-rt/lib/asan/ |
D | asan_flags.cc | 63 cf.CopyFrom(*common_flags()); in InitializeFlags() 124 if (common_flags()->help) { in InitializeFlags() 130 if (!CAN_SANITIZE_LEAKS && common_flags()->detect_leaks) { in InitializeFlags() 140 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags() 162 if (!f->replace_str && common_flags()->intercept_strlen) { in InitializeFlags() 166 if (!f->replace_str && common_flags()->intercept_strchr) { in InitializeFlags()
|
D | asan_stack.h | 88 common_flags()->fast_unwind_on_fatal) 94 common_flags()->fast_unwind_on_fatal) 97 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal) 100 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_check) 106 GET_STACK_TRACE(GetMallocContextSize(), common_flags()->fast_unwind_on_malloc)
|
D | asan_rtl.cc | 99 if (common_flags()->no_huge_pages_for_shadow) in ReserveShadowMemoryRange() 101 if (common_flags()->use_madv_dontdump) in ReserveShadowMemoryRange() 392 (uptr)common_flags()->malloc_context_size); in PrintAddressSpaceLayout() 421 SetMallocContextSize(common_flags()->malloc_context_size); in AsanInitInternal() 435 __sanitizer_set_report_path(common_flags()->log_path); in AsanInitInternal() 516 allocator_options.SetFrom(flags(), common_flags()); in AsanInitInternal() 530 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in AsanInitInternal() 553 if (common_flags()->detect_leaks && common_flags()->leak_check_at_exit) { in AsanInitInternal()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_init.cc | 41 __sanitizer_set_report_path(common_flags()->log_path); in CommonStandaloneInit() 42 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in CommonStandaloneInit()
|
D | ubsan_flags.cc | 46 cf.CopyFrom(*common_flags()); in InitializeFlags() 65 if (common_flags()->help) parser.PrintFlagDescriptions(); in InitializeFlags()
|
D | ubsan_diag.cc | 69 if (!common_flags()->print_summary) in MaybeReportErrorSummary() 145 SLoc.getColumn(), common_flags()->symbolize_vs_style, in RenderLocation() 146 common_flags()->strip_path_prefix); in RenderLocation() 156 common_flags()->symbolize_vs_style, in RenderLocation() 157 common_flags()->strip_path_prefix); in RenderLocation() 160 common_flags()->strip_path_prefix); in RenderLocation()
|
/external/compiler-rt/lib/scudo/ |
D | scudo_termination.cpp | 27 if (common_flags()->abort_on_error) in Die() 29 internal__exit(common_flags()->exitcode); in Die()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_mutex.cc | 95 if (common_flags()->detect_deadlocks) { in MutexDestroy() 172 if (common_flags()->detect_deadlocks && (s->recursion - rec) == 0) { in MutexLock() 183 if (common_flags()->detect_deadlocks) { in MutexLock() 215 if (common_flags()->detect_deadlocks && s->recursion == 0 && in MutexUnlock() 225 if (common_flags()->detect_deadlocks && !report_bad_unlock) { in MutexUnlock() 250 if (common_flags()->detect_deadlocks && s->recursion == 0) { in MutexReadLock() 261 if (common_flags()->detect_deadlocks) { in MutexReadLock() 283 if (common_flags()->detect_deadlocks && s->recursion == 0) { in MutexReadUnlock() 293 if (common_flags()->detect_deadlocks) { in MutexReadUnlock() 331 if (common_flags()->detect_deadlocks && s->recursion == 0) { in MutexReadOrWriteUnlock() [all …]
|
D | tsan_rtl_proc.cc | 29 if (common_flags()->detect_deadlocks) in ProcCreate() 41 if (common_flags()->detect_deadlocks) in ProcDestroy()
|
D | tsan_flags.cc | 62 cf.CopyFrom(*common_flags()); in InitializeFlags() 116 if (common_flags()->help) parser.PrintFlagDescriptions(); in InitializeFlags()
|
D | tsan_platform_posix.cc | 80 if (common_flags()->use_madv_dontdump) in InitializeShadowMemory() 96 if (common_flags()->use_madv_dontdump) in InitializeShadowMemory()
|
/external/compiler-rt/lib/esan/ |
D | esan_flags.cpp | 52 if (common_flags()->help) in initializeFlags() 55 __sanitizer_set_report_path(common_flags()->log_path); in initializeFlags()
|
/external/compiler-rt/lib/msan/ |
D | msan.h | 276 GetStackTrace(&stack, common_flags()->malloc_context_size, \ 278 common_flags()->fast_unwind_on_malloc) 284 common_flags()->fast_unwind_on_malloc) 290 common_flags()->fast_unwind_on_fatal)
|
D | msan_linux.cc | 146 if (common_flags()->use_madv_dontdump) in InitShadow() 165 if (common_flags()->exitcode) in MsanAtExit() 166 internal__exit(common_flags()->exitcode); in MsanAtExit()
|
/external/toolchain-utils/bestflags/ |
D | genetic_algorithm.py | 115 common_flags = [] 121 common_flags.append(self_flag) 135 for flag in common_flags:
|