Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64/include Add more symbols to the unwinder, in ...



details:   https://anonhg.NetBSD.org/src/rev/80060858da0d
branches:  trunk
changeset: 996565:80060858da0d
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon Feb 04 15:07:34 2019 +0000

description:
Add more symbols to the unwinder, in case we get a KASAN message inside
an exception handler.

diffstat:

 sys/arch/amd64/include/asan.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r bb97efd359d6 -r 80060858da0d sys/arch/amd64/include/asan.h
--- a/sys/arch/amd64/include/asan.h     Mon Feb 04 14:47:41 2019 +0000
+++ b/sys/arch/amd64/include/asan.h     Mon Feb 04 15:07:34 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asan.h,v 1.1 2018/10/31 06:26:26 maxv Exp $    */
+/*     $NetBSD: asan.h,v 1.2 2019/02/04 15:07:34 maxv Exp $    */
 
 /*
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -165,7 +165,9 @@
 __md_unwind_end(const char *name)
 {
        if (!strcmp(name, "syscall") ||
+           !strcmp(name, "alltraps") ||
            !strcmp(name, "handle_syscall") ||
+           !strncmp(name, "Xtrap", 5) ||
            !strncmp(name, "Xintr", 5) ||
            !strncmp(name, "Xhandle", 7) ||
            !strncmp(name, "Xresume", 7) ||



Home | Main Index | Thread Index | Old Index