[PATCH] D14656: [sanitizer] Stop unwinding the stack when a close-to-zero PC is found

Alexander Potapenko via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 13 13:15:25 PST 2015


glider added a comment.

In http://reviews.llvm.org/D14656#289133, @samsonov wrote:

> This doesn't look like a good change. Why is this fixed only in fast, but not in slow unwinder? Are you sure we should consider any address 0x1000 as bad, not only 0x0?


It should be safe to assume that the first kPageSize bytes of the address space (not necessarily 0x1000) do not contain any code.


http://reviews.llvm.org/D14656





More information about the llvm-commits mailing list