Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_poisoning.cc34 void PoisonShadow(uptr addr, uptr size, u8 value) { in PoisonShadow() function
301 PoisonShadow(addr, aligned_size, in PoisonAlignedStackMemory()
398 PoisonShadow(a, b1 - a, 0); in __sanitizer_annotate_contiguous_container()
399 PoisonShadow(b2, c - b2, kAsanContiguousContainerOOBMagic); in __sanitizer_annotate_contiguous_container()
H A Dasan_allocator.cc147 PoisonShadow(m->Beg(), in Recycle()
189 PoisonShadow(p, size, kAsanHeapLeftRedzoneMagic); in OnMap()
196 PoisonShadow(p, size, 0); in OnUnmap()
305 PoisonShadow(chunk, beg - chunk, kAsanHeapLeftRedzoneMagic); in RePoisonChunk()
313 PoisonShadow(chunk, allocated_size, kAsanHeapLeftRedzoneMagic); in RePoisonChunk()
472 PoisonShadow((uptr)allocated, allocated_size, kAsanHeapLeftRedzoneMagic); in Allocate()
516 PoisonShadow(user_beg, size_rounded_down_to_granularity, 0); in Allocate()
588 PoisonShadow(m->Beg(), in QuarantineChunk()
H A Dasan_fake_stack.cc41 PoisonShadow(ptr, size, static_cast<u8>(magic)); in SetShadow()
81 PoisonShadow(reinterpret_cast<uptr>(this), RequiredSize(stack_size_log()), in PoisonAll()
H A Dasan_poisoning.h27 void PoisonShadow(uptr addr, uptr size, u8 value);
H A Dasan_globals.cc395 PoisonShadow(reinterpret_cast<uptr>(globals), n * sizeof(__asan_global), in __asan_register_globals()
414 PoisonShadow(reinterpret_cast<uptr>(globals), n * sizeof(__asan_global), 0); in __asan_unregister_globals()
H A Dasan_rtl.cc96 PoisonShadow(ptr, size, kAsanInternalHeapMagic); in OnLowLevelAllocate()
596 PoisonShadow(bottom, top - bottom, 0); in __asan_handle_no_return()
H A Dasan_rtems.cc193 PoisonShadow(thread->stack_bottom(), thread->stack_size(), 0); in ThreadStartHook()
H A Dasan_thread.cc310 PoisonShadow(stack_bottom_, stack_top_ - stack_bottom_, 0); in ClearShadowForThreadStackAndTLS()
H A Dasan_interceptors.cc261 PoisonShadow(bottom, ssize, 0); in ClearShadowMemoryForContextStack()