On 11/15/2016 07:07 PM, Dmitry Vyukov wrote: > Gcc revision 241896 implements use-after-scope detection. > Will be available in gcc 7. Support it in KASAN. > > Gcc emits 2 new callbacks to poison/unpoison large stack > objects when they go in/out of scope. > Implement the callbacks and add a test. > > Signed-off-by: Dmitry Vyukov <dvyu...@google.com> > Cc: aryabi...@virtuozzo.com > Cc: gli...@google.com > Cc: a...@linux-foundation.org > Cc: kasan-...@googlegroups.com > Cc: linux...@kvack.org > Cc: linux-kernel@vger.kernel.org > > ---
Acked-by: Andrey Ryabinin <aryabi...@virtuozzo.com>