Messages in this thread | | | Subject | Re: [PATCH] kasan: support use-after-scope detection | From | Andrey Ryabinin <> | Date | Tue, 15 Nov 2016 19:51:43 +0300 |
| |
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 <dvyukov@google.com> > Cc: aryabinin@virtuozzo.com > Cc: glider@google.com > Cc: akpm@linux-foundation.org > Cc: kasan-dev@googlegroups.com > Cc: linux-mm@kvack.org > Cc: linux-kernel@vger.kernel.org > > ---
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
| |