Searched refs:PoisonShadow (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_poisoning.cpp | 33 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 D | asan_allocator.cpp | 214 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 D | asan_rtl.cpp | 98 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 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() 80 PoisonShadow(reinterpret_cast<uptr>(this), RequiredSize(stack_size_log()), in PoisonAll()
|
| H A D | asan_globals.cpp | 393 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 D | asan_thread.cpp | 323 PoisonShadow(stack_bottom_, stack_top_ - stack_bottom_, 0); in ClearShadowForThreadStackAndTLS()
|
| H A D | asan_interceptors.cpp | 252 PoisonShadow(bottom, ssize, 0); in ClearShadowMemoryForContextStack()
|