Re: [PATCH v3 0/5] kasan: support alloca, LLVM
From: Dmitry Vyukov
Date: Sun Dec 03 2017 - 07:25:10 EST
On Fri, Dec 1, 2017 at 10:36 PM, Paul Lawrence <paullawrence@xxxxxxxxxx> wrote:
> [PATCH v3 1/5] kasan: add compiler support for clang
> Moved to start of patchset
>
> [PATCH v3 2/5] kasan/Makefile: Support LLVM style asan parameters.
> Using Andrey's version.
> Fixed up bug with testing CFLAGS_KASAN_SHADOW
> Modifed to not output gcc style options on llvm
>
> [PATCH v3 3/5] kasan: support alloca() poisoning
> Added alloca makefile option here
> Modified to only unpoison the last block
>
> [PATCH v3 4/5] kasan: Add tests for alloca poisoning
> No change
>
> [PATCH v3 5/5] kasan: added functions for unpoisoning stack variables
> No change
>
> Paul Lawrence (5):
> kasan: add compiler support for clang
> kasan/Makefile: Support LLVM style asan parameters.
> kasan: support alloca() poisoning
> kasan: Add tests for alloca poisonong
> kasan: added functions for unpoisoning stack variables
>
> include/linux/compiler-clang.h | 8 +++++++
> lib/test_kasan.c | 22 +++++++++++++++++++
> mm/kasan/kasan.c | 49 ++++++++++++++++++++++++++++++++++++++++++
> mm/kasan/kasan.h | 8 +++++++
> mm/kasan/report.c | 4 ++++
> scripts/Makefile.kasan | 30 ++++++++++++++++----------
> 6 files changed, 110 insertions(+), 11 deletions(-)
The series looks good to me. Thanks for working on this, we need clang.