Home
last modified time | relevance | path

Searched refs:PoisonShadow (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_poisoning.cpp35 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 Dasan_allocator.cpp213 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 Dasan_rtl.cpp96 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 Dasan_poisoning.h27 void PoisonShadow(uptr addr, uptr size, u8 value);
H A Dasan_fake_stack.cpp40 PoisonShadow(ptr, size, static_cast<u8>(magic)); in SetShadow()
81 PoisonShadow(reinterpret_cast<uptr>(this), RequiredSize(stack_size_log()), in PoisonAll()
H A Dasan_globals.cpp390 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 Dasan_thread.cpp322 PoisonShadow(stack_bottom_, stack_top_ - stack_bottom_, 0); in ClearShadowForThreadStackAndTLS()
H A Dasan_interceptors.cpp257 PoisonShadow(bottom, ssize, 0); in ClearShadowMemoryForContextStack()