|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
projects/compiler-rt/lib/asan/asan_allocator.cpp 407 Flags &fl = *flags();
575 Flags &fl = *flags();
638 if (flags()->new_delete_type_mismatch &&
897 if (flags()->allocator_frees_and_returns_null_on_realloc_zero) {
968 if (flags()->check_malloc_usable_size && (usable_size == 0)) {
projects/compiler-rt/lib/asan/asan_descriptions.cpp 63 if (flags()->print_full_thread_history) {
projects/compiler-rt/lib/asan/asan_errors.cpp 569 if (flags()->print_legend) PrintLegend(&str);
projects/compiler-rt/lib/asan/asan_fake_stack.cpp 53 flags()->uar_noreserve ? MmapNoReserveOrDie(size, "FakeStack")
61 size >> 10, flags()->uar_noreserve);
projects/compiler-rt/lib/asan/asan_flags.cpp 67 Flags *f = flags();
projects/compiler-rt/lib/asan/asan_globals.cpp 110 if (!flags()->report_globals) return 0;
115 if (flags()->report_globals >= 2)
150 (flags()->detect_odr_violation >= 2 || g->size != l->g->size) &&
166 (flags()->detect_odr_violation >= 2 || g->size != l->g->size) &&
199 if (flags()->report_globals >= 2)
201 CHECK(flags()->report_globals);
214 if (flags()->detect_odr_violation) {
240 if (flags()->report_globals >= 2)
242 CHECK(flags()->report_globals);
261 if (!flags()->check_initialization_order || !dynamic_init_globals)
263 flags()->check_initialization_order = false;
359 if (!flags()->report_globals) return;
370 if (flags()->report_globals >= 2) {
400 if (!flags()->report_globals) return;
420 if (!flags()->check_initialization_order ||
424 bool strict_init_order = flags()->strict_init_order;
428 if (flags()->report_globals >= 3)
446 if (!flags()->check_initialization_order ||
projects/compiler-rt/lib/asan/asan_interceptors.cpp 212 if (flags()->strict_init_order)
385 if (flags()->replace_str) {
406 if (flags()->replace_str) {
434 if (flags()->replace_str) {
449 if (flags()->replace_str) {
465 if (flags()->replace_str) {
479 if (flags()->replace_str) {
492 if (!flags()->replace_str) {
508 if (!flags()->replace_str) {
529 if (!flags()->replace_str) {
544 if (!flags()->replace_str) {
557 if (!flags()->replace_str) {
projects/compiler-rt/lib/asan/asan_linux.cpp 189 if (!ASAN_DYNAMIC || !flags()->verify_asan_link_order)
projects/compiler-rt/lib/asan/asan_mapping.h 361 (flags()->protect_shadow_gap == 0 && AddrIsInShadowGap(a));
projects/compiler-rt/lib/asan/asan_poisoning.cpp 108 if (!flags()->allow_user_poisoning || size == 0) return;
148 if (!flags()->allow_user_poisoning || size == 0) return;
268 if (!flags()->poison_array_cookie) return;
276 if (!flags()->poison_array_cookie) return *p;
358 if (!flags()->detect_container_overflow) return;
407 if (!flags()->detect_container_overflow)
projects/compiler-rt/lib/asan/asan_poisoning.h 82 bool poison_partial = flags()->poison_partial;
projects/compiler-rt/lib/asan/asan_report.cpp 125 : halt_on_error_(fatal || flags()->halt_on_error) {
148 if (flags()->print_stats)
412 switch (flags()->detect_invalid_pointer_pairs) {
484 bool fatal = flags()->halt_on_error;
projects/compiler-rt/lib/asan/asan_rtl.cpp 49 if (flags()->sleep_before_dying) {
50 Report("Sleeping for %d second(s)\n", flags()->sleep_before_dying);
51 SleepForSeconds(flags()->sleep_before_dying);
53 if (flags()->unmap_shadow_on_exit) {
367 Printf("redzone=%zu\n", (uptr)flags()->redzone);
368 Printf("max_redzone=%zu\n", (uptr)flags()->max_redzone);
369 Printf("quarantine_size_mb=%zuM\n", (uptr)flags()->quarantine_size_mb);
371 (uptr)flags()->thread_local_quarantine_size_kb);
422 SetCanPoisonMemory(flags()->poison_heap);
440 flags()->detect_stack_use_after_return;
469 allocator_options.SetFrom(flags(), common_flags());
482 if (flags()->atexit)
489 if (flags()->start_deactivated)
504 if (flags()->halt_on_error)
528 if (flags()->sleep_after_init) {
529 Report("Sleeping for %d second(s)\n", flags()->sleep_after_init);
530 SleepForSeconds(flags()->sleep_after_init);
projects/compiler-rt/lib/asan/asan_scariness_score.h 50 if (score && flags()->print_scariness)
projects/compiler-rt/lib/asan/asan_shadow_setup.cpp 44 if (!flags()->protect_shadow_gap) {
projects/compiler-rt/lib/asan/asan_suppressions.cpp 41 suppression_ctx->ParseFromFile(flags()->suppressions);
projects/compiler-rt/lib/asan/asan_thread.cpp 208 CHECK_LE(flags()->min_uar_stack_size_log, flags()->max_uar_stack_size_log);
208 CHECK_LE(flags()->min_uar_stack_size_log, flags()->max_uar_stack_size_log);
210 Min(stack_size_log, static_cast<uptr>(flags()->max_uar_stack_size_log));
212 Max(stack_size_log, static_cast<uptr>(flags()->min_uar_stack_size_log));
projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc 6041 COMMON_INTERCEPTOR_ON_DLOPEN(filename, flag);