Searched refs:PoisonShadow (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_poisoning.cpp | 83 void PoisonShadow(uptr addr, uptr size, u8 value) { in PoisonShadow() function 355 PoisonShadow(addr, aligned_size, in PoisonAlignedStackMemory() 531 PoisonShadow(a, b1 - a, 0); in __sanitizer_annotate_contiguous_container() 533 PoisonShadow(b2, c - b2, kAsanContiguousContainerOOBMagic); in __sanitizer_annotate_contiguous_container() 588 PoisonShadow(a, b - a, kAsanContiguousContainerOOBMagic); in __sanitizer_annotate_double_ended_contiguous_container() 595 PoisonShadow(a, b - a, 0); in __sanitizer_annotate_double_ended_contiguous_container() 613 PoisonShadow(a, c - a, 0); in __sanitizer_annotate_double_ended_contiguous_container() 622 PoisonShadow(a, c - a, kAsanContiguousContainerOOBMagic); in __sanitizer_annotate_double_ended_contiguous_container() 630 PoisonShadow(a, c - a, 0); in __sanitizer_annotate_double_ended_contiguous_container() 638 PoisonShadow(a2, c2 - a2, kAsanContiguousContainerOOBMagic); in __sanitizer_annotate_double_ended_contiguous_container()
|
| H A D | asan_allocator.cpp | 220 PoisonShadow(m->Beg(), RoundUpTo(m->UsedSize(), ASAN_SHADOW_GRANULARITY), in PreQuarantine() 243 PoisonShadow(m->Beg(), RoundUpTo(m->UsedSize(), ASAN_SHADOW_GRANULARITY), in Recycle() 284 PoisonShadow(p, size, kAsanHeapLeftRedzoneMagic); in OnMap() 298 PoisonShadow(p, user_begin - p, kAsanHeapLeftRedzoneMagic); in OnMapSecondary() 299 PoisonShadow(user_end, size - (user_end - p), kAsanHeapLeftRedzoneMagic); in OnMapSecondary() 307 PoisonShadow(p, size, 0); in OnUnmap() 413 PoisonShadow(chunk, beg - chunk, kAsanHeapLeftRedzoneMagic); in RePoisonChunk() 424 PoisonShadow(chunk, allocated_size, kAsanHeapLeftRedzoneMagic); in RePoisonChunk() 624 PoisonShadow(alloc_beg, user_beg - alloc_beg, kAsanHeapLeftRedzoneMagic); in Allocate() 625 PoisonShadow(tail_beg, tail_end - tail_beg, kAsanHeapLeftRedzoneMagic); in Allocate() [all …]
|
| H A D | asan_fake_stack.cpp | 41 PoisonShadow(ptr, size, static_cast<u8>(magic)); in SetShadow() 46 PoisonShadow(ptr + size, redzone_size, kAsanStackRightRedzoneMagic); in SetShadow() 87 PoisonShadow(reinterpret_cast<uptr>(this), RequiredSize(stack_size_log()), in PoisonAll()
|
| H A D | asan_rtl.cpp | 106 PoisonShadow(ptr, size, kAsanInternalHeapMagic); in OnLowLevelAllocate() 611 PoisonShadow(bottom, RoundUpTo(top - bottom, ASAN_SHADOW_GRANULARITY), 0); in UnpoisonStack() 667 PoisonShadow(bottom, (uptr)sp - bottom, 0); in __asan_handle_vfork()
|
| H A D | asan_poisoning.h | 43 void PoisonShadow(uptr addr, uptr size, u8 value);
|
| H A D | asan_interceptors.cpp | 162 PoisonShadow(beg, RoundUpTo(length, GetPageSize()), 0); 176 PoisonShadow(beg, rounded_length, 0); in munmap_interceptor() 352 PoisonShadow(bottom, ssize, 0); in ClearShadowMemoryForContextStack()
|
| H A D | asan_globals.cpp | 465 PoisonShadow(reinterpret_cast<uptr>(globals), n * sizeof(__asan_global), in __asan_register_globals() 484 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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 3445 Value *PoisonShadow = PoisonValue::get(ShadowTy); in visitPHINode() local 3447 ShadowPN->addIncoming(PoisonShadow, BB); in visitPHINode()
|