Searched refs:PoisonShadow (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_poisoning.cpp | 35 void PoisonShadow(uptr addr, uptr size, u8 value) { in PoisonShadow() function 291 PoisonShadow(addr, aligned_size, in PoisonAlignedStackMemory() 388 PoisonShadow(a, b1 - a, 0); in __sanitizer_annotate_contiguous_container() 389 PoisonShadow(b2, c - b2, kAsanContiguousContainerOOBMagic); in __sanitizer_annotate_contiguous_container()
|
| H A D | asan_allocator.cpp | 213 PoisonShadow(m->Beg(), RoundUpTo(m->UsedSize(), ASAN_SHADOW_GRANULARITY), in Recycle() 245 PoisonShadow(p, size, kAsanHeapLeftRedzoneMagic); in OnMap() 252 PoisonShadow(p, size, 0); in OnUnmap() 358 PoisonShadow(chunk, beg - chunk, kAsanHeapLeftRedzoneMagic); in RePoisonChunk() 369 PoisonShadow(chunk, allocated_size, kAsanHeapLeftRedzoneMagic); in RePoisonChunk() 545 PoisonShadow((uptr)allocated, allocated_size, kAsanHeapLeftRedzoneMagic); in Allocate() 568 PoisonShadow(user_beg, size_rounded_down_to_granularity, 0); in Allocate() 643 PoisonShadow(m->Beg(), RoundUpTo(m->UsedSize(), ASAN_SHADOW_GRANULARITY), in QuarantineChunk()
|
| H A D | asan_rtl.cpp | 96 PoisonShadow(ptr, size, kAsanInternalHeapMagic); in OnLowLevelAllocate() 538 PoisonShadow(bottom, RoundUpTo(top - bottom, ASAN_SHADOW_GRANULARITY), 0); in UnpoisonStack() 596 PoisonShadow(bottom, (uptr)sp - bottom, 0); in __asan_handle_vfork()
|
| H A D | asan_poisoning.h | 27 void PoisonShadow(uptr addr, uptr size, u8 value);
|
| H A D | asan_fake_stack.cpp | 40 PoisonShadow(ptr, size, static_cast<u8>(magic)); in SetShadow() 81 PoisonShadow(reinterpret_cast<uptr>(this), RequiredSize(stack_size_log()), in PoisonAll()
|
| H A D | asan_globals.cpp | 390 PoisonShadow(reinterpret_cast<uptr>(globals), n * sizeof(__asan_global), in __asan_register_globals() 409 PoisonShadow(reinterpret_cast<uptr>(globals), n * sizeof(__asan_global), 0); in __asan_unregister_globals()
|
| H A D | asan_thread.cpp | 322 PoisonShadow(stack_bottom_, stack_top_ - stack_bottom_, 0); in ClearShadowForThreadStackAndTLS()
|
| H A D | asan_interceptors.cpp | 257 PoisonShadow(bottom, ssize, 0); in ClearShadowMemoryForContextStack()
|