Skip to content

kasan: support alloca, LLVM

Paul Lawrence linux-kbuild linux-mm lkml 3 versions – Applied

Status from this message: [merged] kasan-added-functions-for-unpoisoning-stack-variables.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 5 repliesApplied 5/5
  2. v35 patches 8 repliesSuperseded
  3. v25 patches 8 repliesSuperseded

Patches in v4 All 5 applied

#Subject and filesSizeRepliesApplied
1/5kasan: add compiler support for clanginclude/linux/compiler-clang.h+8 -01 replyApplied
2/5kasan/Makefile: Support LLVM style asan parameters.scripts/Makefile.kasan+18 -111 replyApplied
3/5kasan: support alloca() poisoningmm/kasan/kasan.c mm/kasan/kasan.h mm/kasan/report.c +1 more+48 -11 replyApplied
4/5kasan: Add tests for alloca poisoninglib/test_kasan.c+22 -01 replyApplied
5/5kasan: added functions for unpoisoning stack variablesmm/kasan/kasan.c+15 -01 replyApplied

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAndrey RyabininAlexander Potapenko
1/5A-b
2/5R-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] kasan: support alloca, LLVM

[PATCH v3 1/5] kasan: add compiler support for clang
No change

[PATCH v3 2/5] kasan/Makefile: Support LLVM style asan parameters.
Correctly attributed
Changed to use strip to work in all environments

[PATCH v3 3/5] kasan: support alloca() poisoning
No change

[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(-)
Signature · 1 line
2.15.0.531.g2ccb3012c9-goog