Home
last modified time | relevance | path

Searched refs:AddressSanitizer (Results 1 – 25 of 51) sorted by relevance

123

/external/compiler-rt/lib/asan/tests/
Dasan_test.cc43 TEST(AddressSanitizer, HasFeatureAddressSanitizerTest) { in TEST() argument
54 TEST(AddressSanitizer, SimpleDeathTest) { in TEST() argument
58 TEST(AddressSanitizer, VariousMallocsTest) { in TEST() argument
91 TEST(AddressSanitizer, CallocTest) { in TEST() argument
97 TEST(AddressSanitizer, CallocReturnsZeroMem) { in TEST() argument
121 TEST(AddressSanitizer, VallocTest) { in TEST() argument
129 TEST(AddressSanitizer, PvallocTest) { in TEST() argument
165 TEST(AddressSanitizer, DISABLED_TSDTest) { in TEST() argument
175 TEST(AddressSanitizer, UAF_char) { in TEST() argument
184 TEST(AddressSanitizer, UAF_long_double) { in TEST() argument
[all …]
Dasan_oob_test.cc69 TEST(AddressSanitizer, OOB_char) { in TEST() argument
73 TEST(AddressSanitizer, OOB_int) { in TEST() argument
77 TEST(AddressSanitizer, OOBRightTest) { in TEST() argument
104 TEST(AddressSanitizer, LargeOOBRightTest) { in TEST() argument
114 TEST(AddressSanitizer, DISABLED_DemoOOBLeftLow) { in TEST() argument
118 TEST(AddressSanitizer, DISABLED_DemoOOBLeftHigh) { in TEST() argument
122 TEST(AddressSanitizer, DISABLED_DemoOOBRightLow) { in TEST() argument
126 TEST(AddressSanitizer, DISABLED_DemoOOBRightHigh) { in TEST() argument
Dasan_str_test.cc48 TEST(AddressSanitizer, StrLenOOBTest) { in TEST() argument
68 TEST(AddressSanitizer, WcsLenTest) { in TEST() argument
81 TEST(AddressSanitizer, StrNLenOOBTest) { in TEST() argument
100 TEST(AddressSanitizer, StrDupOOBTest) { in TEST() argument
119 TEST(AddressSanitizer, StrCpyOOBTest) { in TEST() argument
142 TEST(AddressSanitizer, StrNCpyOOBTest) { in TEST() argument
222 TEST(AddressSanitizer, StrChrAndIndexOOBTest) { in TEST() argument
230 TEST(AddressSanitizer, StrCmpAndFriendsLogicTest) { in TEST() argument
306 TEST(AddressSanitizer, StrCmpOOBTest) { in TEST() argument
311 TEST(AddressSanitizer, StrCaseCmpOOBTest) { in TEST() argument
[all …]
Dasan_noinst_test.cc43 TEST(AddressSanitizer, InternalSimpleDeathTest) { in TEST() argument
95 TEST(AddressSanitizer, NoInstMallocTest) { in TEST() argument
99 TEST(AddressSanitizer, ThreadedMallocStressTest) { in TEST() argument
127 TEST(AddressSanitizer, DISABLED_InternalPrintShadow) { in TEST() argument
136 TEST(AddressSanitizer, QuarantineTest) { in TEST() argument
171 TEST(AddressSanitizer, ThreadedQuarantineTest) { in TEST() argument
201 TEST(AddressSanitizer, ThreadedOneSizeMallocStressTest) { in TEST() argument
212 TEST(AddressSanitizer, ShadowRegionIsPoisonedTest) { in TEST() argument
224 TEST(AddressSanitizer, LoadStoreCallbacks) { in TEST() argument
Dasan_benchmarks_test.cc44 TEST(AddressSanitizer, ManyAccessBenchmark) { in TEST() argument
66 TEST(AddressSanitizer, BorderAccessBenchmark) { in TEST() argument
77 TEST(AddressSanitizer, FakeStackBenchmark) { in TEST() argument
Dasan_mem_test.cc68 TEST(AddressSanitizer, MemSetOOBTest) { in TEST() argument
105 TEST(AddressSanitizer, LargeOOBInMemset) { in TEST() argument
191 TEST(AddressSanitizer, MemCpyOOBTest) { in TEST() argument
203 TEST(AddressSanitizer, MemMoveOOBTest) { in TEST() argument
209 TEST(AddressSanitizer, MemCmpOOBTest) { in TEST() argument
Dasan_asm_test.cc206 TEST(AddressSanitizer, asm_load_store) { in TEST() argument
213 TEST(AddressSanitizer, asm_rw) { in TEST() argument
231 TEST(AddressSanitizer, asm_flags) { in TEST() argument
256 TEST(AddressSanitizer, asm_rep_movs) { in TEST() argument
Dasan_mac_test_helpers.mm47 // If AddressSanitizer doesn't instrument the +load method below correctly,
51 "If your test didn't crash, AddressSanitizer is instrumenting "
96 // pthread_create(). We need to verify that AddressSanitizer notices that the
106 // pthread_create(). We need to verify that AddressSanitizer notices that the
113 // to make sure AddressSanitizer handles the reusing correctly.
/external/clang/docs/
DAddressSanitizer.rst2 AddressSanitizer title
11 AddressSanitizer is a fast memory error detector. It consists of a compiler
21 Typical slowdown introduced by AddressSanitizer is **2x**.
32 AddressSanitizer run-time library should be linked to the final executable, so
34 shared libraries, the AddressSanitizer run-time is not linked, so
35 ``-Wl,-z,defs`` may cause link errors (don't use it with AddressSanitizer). To
63 exit with a non-zero exit code. To make AddressSanitizer symbolize its output
71 …==9442== ERROR: AddressSanitizer heap-use-after-free on address 0x7f7ddab8c084 at pc 0x403c8c bp 0…
94 …==9442== ERROR: AddressSanitizer heap-use-after-free on address 0x7f7ddab8c084 at pc 0x403c8c bp 0…
101 file\:line info in the AddressSanitizer reports.
[all …]
DSanitizerSpecialCaseList.rst18 User of sanitizer tools, such as :doc:`AddressSanitizer`, :doc:`ThreadSanitizer`
47 # AddressSanitizer prints an error report.
Dindex.rst24 AddressSanitizer
DLeakSanitizer.rst12 :doc:`AddressSanitizer` to get both memory error and leak detection.
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp386 struct AddressSanitizer : public FunctionPass { struct
387 AddressSanitizer() : FunctionPass(ID) { in AddressSanitizer() argument
506 AddressSanitizer &ASan;
555 FunctionStackPoisoner(Function &F, AddressSanitizer &ASan) in FunctionStackPoisoner()
712 char AddressSanitizer::ID = 0;
714 AddressSanitizer, "asan",
719 AddressSanitizer, "asan", in INITIALIZE_PASS_DEPENDENCY()
723 return new AddressSanitizer(); in INITIALIZE_PASS_DEPENDENCY()
777 Value *AddressSanitizer::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow()
789 void AddressSanitizer::instrumentMemIntrinsic(MemIntrinsic *MI) { in instrumentMemIntrinsic()
[all …]
DCMakeLists.txt2 AddressSanitizer.cpp
DAndroid.mk4 AddressSanitizer.cpp \
/external/compiler-rt/lib/asan/
DREADME.txt1 AddressSanitizer RT
3 This directory contains sources of the AddressSanitizer (ASan) runtime library.
Dasan_blacklist.txt1 # Blacklist for AddressSanitizer. Turns off instrumentation of particular
/external/compiler-rt/test/lsan/
Dlit.common.cfg24 elif lsan_lit_test_mode == "AddressSanitizer":
25 config.name = "LeakSanitizer-AddressSanitizer"
DCMakeLists.txt8 set(LSAN_LIT_TEST_MODE "AddressSanitizer")
/external/compiler-rt/
DCODE_OWNERS.TXT21 D: AddressSanitizer for Windows
41 D: AddressSanitizer, sanitizer_common, porting sanitizers to another platforms
/external/compiler-rt/test/asan/
DCMakeLists.txt86 add_lit_testsuite(check-asan "Running the AddressSanitizer tests"
98 "Running the AddressSanitizer tests with dynamic runtime"
/external/compiler-rt/test/asan/TestCases/Darwin/
Dobjc-odr.mm22 // CHECK-NOT: AddressSanitizer: odr-violation
/external/compiler-rt/test/asan/TestCases/Posix/
Dlog_path_fork_test.cc.disabled22 // CHECK: ERROR: AddressSanitizer
/external/compiler-rt/test/asan/Unit/
Dlit.site.cfg.in15 config.name = 'AddressSanitizer-Unit'
/external/compiler-rt/test/ubsan/
DCMakeLists.txt20 set(UBSAN_LIT_TEST_MODE "AddressSanitizer")

123