[PATCH] D15079: [asan] Reports suppressions for ASan recovery mode (LLVM core part).
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 30 18:24:55 PST 2015
kcc added a comment.
In http://reviews.llvm.org/D15079#298852, @m.ostepenko wrote:
> 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.
I would say remember all, and bail out if there are more than 100 different PCs (in which case running further is insane).
Repository:
rL LLVM
http://reviews.llvm.org/D15079
More information about the llvm-commits
mailing list