Home
last modified time | relevance | path

Searched refs:ASan (Results 1 – 25 of 47) sorted by relevance

12

/llvm-project-15.0.7/llvm/docs/
H A DGwpAsan.rst2 GWP-ASan
17 GWP-ASan is based on the classic
27 GWP-ASan vs. ASan
31 GWP-ASan does not induce a significant performance overhead. ASan often requires
36 ASan. Furthermore, GWP-ASan's bug detection capabilities are only probabilistic.
37 As such, we recommend using ASan over GWP-ASan in testing, as well as anywhere
120 GWP-ASan already ships by default in the
123 GWP-ASan.
224 | *** GWP-ASan detected a memory error ***
244 | *** End GWP-ASan report ***
[all …]
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/
H A Doptions.inc23 "Is GWP-ASan enabled? Defaults to " GWP_ASAN_STRINGIFY(
32 "selected for GWP-ASan sampling. Default is 5000. Sample rates "
35 // Developer note - This option is not actually processed by GWP-ASan itself. It
44 "Install GWP-ASan signal handlers for SIGSEGV during dynamic loading. This "
46 "deallocation when reporting a memory error. GWP-ASan's signal handler "
53 "Install GWP-ASan atfork handlers to acquire internal locks "
61 // If you are adding flags to GWP-ASan, please note that GWP-ASan flag strings
62 // may be parsed by trusted system components (on Android, GWP-ASan flag strings
63 // are parsed by libc during the dynamic loader). This means that GWP-ASan
66 // setuid ASan log_path exploits: https://www.exploit-db.com/exploits/46241.
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A DREADME.txt3 This directory contains sources of the AddressSanitizer (ASan) runtime library.
11 tests/* : ASan unit tests.
13 Also ASan runtime needs the following libraries:
17 ASan runtime currently also embeds part of LeakSanitizer runtime for
20 ASan runtime can only be built by CMake. You can run ASan tests
H A Dasan_flags.inc9 // ASan runtime flags.
64 "ASan allocator flag. max_malloc_fill_size is the maximal amount of "
68 "ASan allocator flag. max_free_fill_size is the maximal amount of "
103 "If set, prints ASan exit stats even after program terminates "
136 "If true, ASan tweaks a bunch of other flags (quarantine, redzone, heap "
163 "Check position of ASan runtime in library list (needs to be disabled"
H A Dasan_activation_flags.inc9 // A subset of ASan (and common) runtime flags supported at activation time.
H A DCMakeLists.txt129 # Compile ASan sources into an object library.
173 # Build ASan runtimes shipped with Clang.
/llvm-project-15.0.7/compiler-rt/test/scudo/standalone/unit/gwp_asan/
H A Dlit.site.cfg.py.in15 # GWP-ASan mode. Every allocation that can go to GWP-ASan, should go to
16 # GWP-ASan. This ensures that GWP-ASan allocations meet the same testing
23 # GWP-ASan doesn't support malloc-type mismatch.
/llvm-project-15.0.7/compiler-rt/lib/asan/tests/
H A DCMakeLists.txt44 # -gline-tables-only must be enough for ASan, so use it if possible.
130 # ASan benchmarks (not actively used now).
254 # Add static ASan runtime that will be linked with uninstrumented tests.
293 # Test w/o ASan instrumentation. Link it with ASan statically.
311 # Test with ASan instrumentation. Link with ASan dynamic runtime.
H A Dasan_test.ignore1 # ignorelisted functions for instrumented ASan unit test
/llvm-project-15.0.7/compiler-rt/test/gwp_asan/
H A DCMakeLists.txt15 # ARM[64] toolchain... See similar measures for ASan and sanitizer-common that
40 add_lit_testsuite(check-gwp_asan "Running the GWP-ASan tests"
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp872 AddressSanitizer &ASan; member
910 : F(F), ASan(ASan), DIB(*F.getParent(), /*AllowUnresolved*/ false), in FunctionStackPoisoner()
911 C(ASan.C), IntptrTy(ASan.IntptrTy), in FunctionStackPoisoner()
1024 if (!ASan.isInterestingAlloca(AI)) { in visitAllocaInst()
1048 if (!ASan.UseAfterScope) in visitIntrinsicInst()
1071 if (!ASan.isInterestingAlloca(*AI)) in visitIntrinsicInst()
2796 if (ASan.UseAfterScope) { in initializeCallbacks()
2919 if (CopyInsertPoint == ASan.LocalDynamicShadow) { in copyArgsPassedByValToAllocas()
2993 assert(ASan.isInterestingAlloca(*APC.AI)); in processDynamicAllocas()
3016 AddressSanitizer &ASan, Instruction &InsBefore, in findStoresToUninstrumentedArgAllocas() argument
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1093 // FIXME: under ASan the call below may write to freed memory and corrupt
1111 // FIXME: under ASan the call below may write to freed memory and corrupt
1128 // FIXME: under ASan the call below may write to freed memory and corrupt
1146 // FIXME: under ASan the call below may write to freed memory and corrupt
1321 // FIXME: under ASan the call below may write to freed memory and corrupt
1465 // FIXME: under ASan the call below may write to freed memory and corrupt
1478 // FIXME: under ASan the call below may write to freed memory and corrupt
1491 // FIXME: under ASan the call below may write to freed memory and corrupt
1685 // FIXME: under ASan the REAL() call below may write to freed memory and
1702 // FIXME: under ASan the REAL() call below may write to freed memory and
[all …]
H A Dsanitizer_common_interceptors_netbsd_compat.inc37 // FIXME: under ASan the call below may write to freed memory and corrupt
49 // FIXME: under ASan the call below may write to freed memory and corrupt
H A Dsanitizer_malloc_mac.inc101 // FIXME: ASan should support purgeable allocations.
108 // FIXME: ASan should support purgeable allocations. Ignoring them is fine
114 // FIXME: ASan should support purgeable allocations. Ignoring them is fine
/llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/
H A DCMakeLists.txt1 add_subdirectory(ASan)
/llvm-project-15.0.7/libcxx/cmake/caches/
H A DGeneric-asan.cmake2 # This is a temporary (hopefully) workaround for an ASan issue (see https://llvm.org/D119410).
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A Dvalue-profile-cmp2.test2 FIXME: Make libFuzzer handle exits without ASan properly on Windows.
/llvm-project-15.0.7/compiler-rt/test/scudo/standalone/unit/
H A Dlit.site.cfg.py.in14 # Disable GWP-ASan for scudo internal tests.
/llvm-project-15.0.7/llvm/test/Instrumentation/AddressSanitizer/
H A Dversion-mismatch-check.ll1 ; Check that the ASan module constructor guards against compiler/runtime version
H A Dinstrument-no-return.ll38 ; Do *not* instrument functions without ASan
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dasan-new-pm.ll1 ; Test that ASan runs with the new pass manager
/llvm-project-15.0.7/compiler-rt/test/tsan/Unit/
H A Dlit.site.cfg.py.in10 # it as build directory with ASan unit tests.
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/tests/
H A DCMakeLists.txt47 # GWP-ASan unit tests are only run on the host machine.
/llvm-project-15.0.7/clang/bindings/python/tests/
H A DCMakeLists.txt23 # with ASan.
/llvm-project-15.0.7/compiler-rt/test/asan/Unit/
H A Dlit.site.cfg.py.in40 # it as build directory with ASan unit tests.

12