Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/conf Add KASAN use-after-scope detection in...
details: https://anonhg.NetBSD.org/src/rev/e48297476830
branches: trunk
changeset: 997289:e48297476830
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Mar 03 07:04:40 2019 +0000
description:
Add KASAN use-after-scope detection in aarch64, tested by Ryo Shimizu,
thanks.
diffstat:
sys/arch/aarch64/conf/Makefile.aarch64 | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 3e686c8c1b30 -r e48297476830 sys/arch/aarch64/conf/Makefile.aarch64
--- a/sys/arch/aarch64/conf/Makefile.aarch64 Sun Mar 03 07:01:09 2019 +0000
+++ b/sys/arch/aarch64/conf/Makefile.aarch64 Sun Mar 03 07:04:40 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.aarch64,v 1.14 2018/11/08 08:28:07 maxv Exp $
+# $NetBSD: Makefile.aarch64,v 1.15 2019/03/03 07:04:40 maxv Exp $
# Makefile for NetBSD
#
@@ -42,6 +42,7 @@
.if ${KASAN:U0} > 0 && ${HAVE_GCC:U0} > 0
KASANFLAGS= -fsanitize=kernel-address \
--param asan-globals=1 --param asan-stack=1 \
+ -fsanitize-address-use-after-scope \
-fasan-shadow-offset=0xDFFF208000000000
.for f in subr_asan.c
KASANFLAGS.${f}= # empty
Home |
Main Index |
Thread Index |
Old Index