Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_poisoning.cpp33 void PoisonShadow(uptr addr, uptr size, u8 value) { in PoisonShadow() function
289 PoisonShadow(addr, aligned_size, in PoisonAlignedStackMemory()
386 PoisonShadow(a, b1 - a, 0); in __sanitizer_annotate_contiguous_container()
387 PoisonShadow(b2, c - b2, kAsanContiguousContainerOOBMagic); in __sanitizer_annotate_contiguous_container()
H A Dasan_allocator.cpp214 PoisonShadow(m->Beg(), in Recycle()
247 PoisonShadow(p, size, kAsanHeapLeftRedzoneMagic); in OnMap()
254 PoisonShadow(p, size, 0); in OnUnmap()
369 PoisonShadow(chunk, beg - chunk, kAsanHeapLeftRedzoneMagic); in RePoisonChunk()
380 PoisonShadow(chunk, allocated_size, kAsanHeapLeftRedzoneMagic); in RePoisonChunk()
556 PoisonShadow((uptr)allocated, allocated_size, kAsanHeapLeftRedzoneMagic); in Allocate()
579 PoisonShadow(user_beg, size_rounded_down_to_granularity, 0); in Allocate()
654 PoisonShadow(m->Beg(), in QuarantineChunk()
H A Dasan_rtl.cpp98 PoisonShadow(ptr, size, kAsanInternalHeapMagic); in OnLowLevelAllocate()
563 PoisonShadow(bottom, RoundUpTo(top - bottom, SHADOW_GRANULARITY), 0); in UnpoisonStack()
621 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()
80 PoisonShadow(reinterpret_cast<uptr>(this), RequiredSize(stack_size_log()), in PoisonAll()
H A Dasan_globals.cpp393 PoisonShadow(reinterpret_cast<uptr>(globals), n * sizeof(__asan_global), in __asan_register_globals()
412 PoisonShadow(reinterpret_cast<uptr>(globals), n * sizeof(__asan_global), 0); in __asan_unregister_globals()
H A Dasan_thread.cpp323 PoisonShadow(stack_bottom_, stack_top_ - stack_bottom_, 0); in ClearShadowForThreadStackAndTLS()
H A Dasan_interceptors.cpp252 PoisonShadow(bottom, ssize, 0); in ClearShadowMemoryForContextStack()