Searched refs:__asan (Results 1 – 25 of 39) sorted by relevance
12
/external/compiler-rt/lib/asan/tests/ |
D | asan_noinst_test.cc | 37 __asan::DisableReexec(); in AsanInitCaller() 72 __asan::asan_free(ptr, &stack1, __asan::FROM_MALLOC); in MallocStress() 81 char *ptr = (char*)__asan::asan_memalign(alignment, size, in MallocStress() 82 &stack2, __asan::FROM_MALLOC); in MallocStress() 83 EXPECT_EQ(size, __asan::asan_malloc_usable_size(ptr, 0, 0)); in MallocStress() 91 __asan::asan_free(vec[i], &stack3, __asan::FROM_MALLOC); in MallocStress() 116 uptr shadow = __asan::MemToShadow(ptr + i); in PrintShadow() 142 void *p = __asan::asan_malloc(size, &stack); in TEST() 143 __asan::asan_free(p, &stack, __asan::FROM_MALLOC); in TEST() 147 void *p1 = __asan::asan_malloc(size, &stack); in TEST() [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_thread.cc | 26 namespace __asan { namespace 315 __asan::AsanThread *GetAsanThreadByOsIDLocked(uptr os_id) { in GetAsanThreadByOsIDLocked() 316 __asan::AsanThreadContext *context = static_cast<__asan::AsanThreadContext *>( in GetAsanThreadByOsIDLocked() 317 __asan::asanThreadRegistry().FindThreadContextByOsIDLocked(os_id)); in GetAsanThreadByOsIDLocked() 328 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id); in GetThreadRangesLocked() 342 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id); in ForEachExtraStackRange() 348 __asan::asanThreadRegistry().Lock(); in LockThreadRegistry() 352 __asan::asanThreadRegistry().Unlock(); in UnlockThreadRegistry() 356 __asan::EnsureMainThreadIDIsCorrect(); in EnsureMainThreadIDIsCorrect()
|
D | asan_allocator.cc | 32 namespace __asan { namespace 789 __asan::get_allocator().ForceLock(); in LockAllocator() 793 __asan::get_allocator().ForceUnlock(); in UnlockAllocator() 797 *begin = (uptr)&__asan::get_allocator(); in GetAllocatorGlobalRange() 798 *end = *begin + sizeof(__asan::get_allocator()); in GetAllocatorGlobalRange() 803 __asan::AsanChunk *m = __asan::instance.GetAsanChunkByAddrFastLocked(addr); in PointsIntoChunk() 806 if (m->chunk_state != __asan::CHUNK_ALLOCATED) in PointsIntoChunk() 817 __asan::AsanChunk *m = __asan::instance.GetAsanChunkByAddrFastLocked(chunk); in GetUserBegin() 823 metadata_ = reinterpret_cast<void *>(chunk - __asan::kChunkHeaderSize); in LsanMetadata() 827 __asan::AsanChunk *m = reinterpret_cast<__asan::AsanChunk *>(metadata_); in allocated() [all …]
|
D | asan_poisoning.cc | 22 namespace __asan { namespace 99 using namespace __asan; // NOLINT 182 return __asan::AddressIsPoisoned((uptr)addr); in __asan_address_is_poisoned() 198 if (!__asan::AddressIsPoisoned(beg) && in __asan_region_is_poisoned() 199 !__asan::AddressIsPoisoned(end - 1) && in __asan_region_is_poisoned() 207 if (__asan::AddressIsPoisoned(beg)) in __asan_region_is_poisoned() 217 if (UNLIKELY(__asan::AddressIsPoisoned(__p) || \ 218 __asan::AddressIsPoisoned(__p + __size - 1))) { \
|
D | asan_stack.cc | 18 namespace __asan { namespace 37 using namespace __asan; in __sanitizer_print_stack_trace()
|
D | asan_malloc_linux.cc | 27 using namespace __asan; // NOLINT 162 namespace __asan { namespace 180 namespace __asan { namespace
|
D | asan_win.cc | 30 using namespace __asan; // NOLINT 113 if (__asan::GetCurrentThread()) in EnsureWorkerThreadRegistered() 137 namespace __asan { namespace
|
D | asan_malloc_win.cc | 26 using namespace __asan; // NOLINT 142 namespace __asan { namespace
|
D | asan_debugging.cc | 23 namespace __asan { namespace 113 using namespace __asan;
|
D | asan_activation.h | 18 namespace __asan {
|
D | asan_preinit.cc | 16 using namespace __asan;
|
D | asan_stats.cc | 22 namespace __asan { namespace 141 using namespace __asan; // NOLINT
|
D | asan_suppressions.h | 20 namespace __asan {
|
D | asan_flags.h | 30 namespace __asan {
|
D | asan_stats.h | 20 namespace __asan {
|
D | asan_internal.h | 60 namespace __asan {
|
D | asan_posix.cc | 34 namespace __asan { namespace
|
D | asan_interceptors.h | 106 namespace __asan {
|
D | asan_malloc_mac.cc | 36 using namespace __asan; // NOLINT 322 namespace __asan { namespace
|
D | asan_linux.cc | 69 namespace __asan { namespace
|
D | asan_mac.cc | 41 namespace __asan { namespace 301 using namespace __asan; // NOLINT
|
D | asan_globals.cc | 28 namespace __asan { namespace 218 using namespace __asan; // NOLINT
|
D | asan_fake_stack.cc | 18 namespace __asan { namespace 215 using namespace __asan;
|
D | asan_poisoning.h | 20 namespace __asan {
|
D | asan_suppressions.cc | 22 namespace __asan { namespace
|
12