[PATCH] D17690: [asan] Check if the memory is readable before using the AsanChunk in free() and realloc()

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 29 10:45:54 PST 2016


samsonov added a comment.

I'm somewhat worried about the performance implications of this. `IsAccessibleMemoryRange` is a syscall after all, not sure it would be nice to call it on every malloc/free. We do run non-trivial operations on these calls though, like collecting stack traces.


http://reviews.llvm.org/D17690





More information about the llvm-commits mailing list