Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Remove functions that aren't supposed t...
details: https://anonhg.NetBSD.org/src/rev/9db16e81ef20
branches: trunk
changeset: 836611:9db16e81ef20
user: maxv <maxv%NetBSD.org@localhost>
date: Sat Oct 27 06:06:31 2018 +0000
description:
Remove functions that aren't supposed to be used.
diffstat:
sys/arch/amd64/amd64/asan.c | 18 ++----------------
1 files changed, 2 insertions(+), 16 deletions(-)
diffs (46 lines):
diff -r 93ac516570b0 -r 9db16e81ef20 sys/arch/amd64/amd64/asan.c
--- a/sys/arch/amd64/amd64/asan.c Sat Oct 27 05:56:10 2018 +0000
+++ b/sys/arch/amd64/amd64/asan.c Sat Oct 27 06:06:31 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asan.c,v 1.8 2018/09/24 05:47:33 maxv Exp $ */
+/* $NetBSD: asan.c,v 1.9 2018/10/27 06:06:31 maxv Exp $ */
/*
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: asan.c,v 1.8 2018/09/24 05:47:33 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: asan.c,v 1.9 2018/10/27 06:06:31 maxv Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -683,8 +683,6 @@
void __asan_handle_no_return(void);
void __asan_poison_stack_memory(const void *, size_t);
void __asan_unpoison_stack_memory(const void *, size_t);
-void __asan_alloca_poison(unsigned long, size_t);
-void __asan_allocas_unpoison(const void *, const void *);
void
__asan_loadN(unsigned long addr, size_t size)
@@ -730,18 +728,6 @@
kasan_shadow_fill(addr, size, 0);
}
-void
-__asan_alloca_poison(unsigned long addr, size_t size)
-{
- panic("%s: impossible!", __func__);
-}
-
-void
-__asan_allocas_unpoison(const void *stack_top, const void *stack_bottom)
-{
- panic("%s: impossible!", __func__);
-}
-
#define ASAN_SET_SHADOW(byte) \
void __asan_set_shadow_##byte(void *, size_t); \
void __asan_set_shadow_##byte(void *addr, size_t size) \
Home |
Main Index |
Thread Index |
Old Index