[PATCH] D15079: [asan] Reports suppressions for ASan recovery mode (LLVM core part).

Maxim Ostapenko via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 13:04:44 PST 2015


m.ostepenko added a comment.

In http://reviews.llvm.org/D15079#298845, @kcc wrote:

> > You mean poison shadow of return address with some meaningful value? This would work although I'm scared of shared libraries (e.g. if they are unmapped, etc.).
>
>
> No. You can just remember the return address in an array, and when reporting another bug consult that array.


E.g. remember, say, last ten return addresses into array and just lookup there for given caller PC? This sounds reasonable for me.


Repository:
  rL LLVM

http://reviews.llvm.org/D15079





More information about the llvm-commits mailing list