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 instrumentation on on-stack ...
details: https://anonhg.NetBSD.org/src/rev/a6ce80a03f15
branches: trunk
changeset: 930732:a6ce80a03f15
user: maxv <maxv%NetBSD.org@localhost>
date: Mon Apr 13 07:32:36 2020 +0000
description:
Add KASAN instrumentation on on-stack VLAs, same as amd64.
diffstat:
sys/arch/aarch64/conf/Makefile.aarch64 | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 7f941e64d8e2 -r a6ce80a03f15 sys/arch/aarch64/conf/Makefile.aarch64
--- a/sys/arch/aarch64/conf/Makefile.aarch64 Mon Apr 13 07:11:08 2020 +0000
+++ b/sys/arch/aarch64/conf/Makefile.aarch64 Mon Apr 13 07:32:36 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.aarch64,v 1.19 2020/04/13 05:40:25 maxv Exp $
+# $NetBSD: Makefile.aarch64,v 1.20 2020/04/13 07:32:36 maxv Exp $
# Makefile for NetBSD
#
@@ -55,6 +55,7 @@
.if ${KASAN:U0} > 0 && ${HAVE_GCC:U0} > 0
KASANFLAGS= -fsanitize=kernel-address \
--param asan-globals=1 --param asan-stack=1 \
+ --param asan-instrument-allocas=1 \
-fsanitize-address-use-after-scope \
-fasan-shadow-offset=0xDFFF600000000000
.for f in subr_asan.c
Home |
Main Index |
Thread Index |
Old Index