Re: [PATCH 2/4] kasan: added functions for unpoisoning stack variables

2017-07-10 Thread Andrey Ryabinin
On 07/07/2017 01:01 AM, Greg Hackmann wrote: > From: Alexander Potapenko > > As a code-size optimization, LLVM builds since r279383 may > bulk-manipulate the shadow region when (un)poisoning large memory > blocks. This requires new callbacks that simply do an uninstrumented > memset(). > > Th

Re: [PATCH 2/4] kasan: added functions for unpoisoning stack variables

2017-07-10 Thread Dmitry Vyukov
On Fri, Jul 7, 2017 at 12:01 AM, Greg Hackmann wrote: > From: Alexander Potapenko > > As a code-size optimization, LLVM builds since r279383 may > bulk-manipulate the shadow region when (un)poisoning large memory > blocks. This requires new callbacks that simply do an uninstrumented > memset().

[PATCH 2/4] kasan: added functions for unpoisoning stack variables

2017-07-06 Thread Greg Hackmann
From: Alexander Potapenko As a code-size optimization, LLVM builds since r279383 may bulk-manipulate the shadow region when (un)poisoning large memory blocks. This requires new callbacks that simply do an uninstrumented memset(). This fixes linking the Clang-built kernel when using KASAN. Sign