summaryrefslogtreecommitdiff
path: root/scripts/sortextable.h
diff options
context:
space:
mode:
authorAndrey Ryabinin <aryabinin@virtuozzo.com>2018-10-27 01:02:34 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-10-27 02:25:18 +0300
commit0c96350a2d2f64fe777b444c995f6bb633c5d069 (patch)
tree84bffc58274336874b81d5f8de99e2011931d44c /scripts/sortextable.h
parent19a2ca0fb560fd7be7b5293c6b652c6d6078dcde (diff)
downloadlinux-0c96350a2d2f64fe777b444c995f6bb633c5d069.tar.xz
lib/test_kasan.c: add tests for several string/memory API functions
Arch code may have asm implementation of string/memory API functions instead of using generic one from lib/string.c. KASAN don't see memory accesses in asm code, thus can miss many bugs. E.g. on ARM64 KASAN don't see bugs in memchr(), memcmp(), str[r]chr(), str[n]cmp(), str[n]len(). Add tests for these functions to be sure that we notice the problem on other architectures. Link: http://lkml.kernel.org/r/20180920135631.23833-3-aryabinin@virtuozzo.com Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Alexander Potapenko <glider@google.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Kyeongdon Kim <kyeongdon.kim@lge.com> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/sortextable.h')
0 files changed, 0 insertions, 0 deletions