Re: [PATCH v4 5/5] kasan: added functions for unpoisoning stack variables

2017-12-05 Thread Andrey Ryabinin
On 12/04/2017 10:17 PM, Paul Lawrence 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

Re: [PATCH v4 5/5] kasan: added functions for unpoisoning stack variables

2017-12-05 Thread Andrey Ryabinin
On 12/04/2017 10:17 PM, Paul Lawrence 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 v4 5/5] kasan: added functions for unpoisoning stack variables

2017-12-04 Thread Paul Lawrence
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

[PATCH v4 5/5] kasan: added functions for unpoisoning stack variables

2017-12-04 Thread Paul Lawrence
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.