subr_asan.c (38da497a4dfcf1979c8c2b0e9f3fa0564035c147) subr_asan.c (f1c3adefd95d35115bd4597293e0b904ae401245)
1/* $NetBSD: subr_asan.c,v 1.26 2020/09/10 14:10:46 maxv Exp $ */
2
3/*
4 * Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net
5 * All rights reserved.
6 *
7 * This code is part of the KASAN subsystem of the NetBSD kernel.
8 *

--- 139 unchanged lines hidden (view full) ---

148 case KASAN_MALLOC_REDZONE:
149 return "MallocRedZone";
150 case KASAN_KMEM_REDZONE:
151 return "KmemRedZone";
152 case KASAN_UMA_FREED:
153 return "UMAUseAfterFree";
154 case KASAN_KSTACK_FREED:
155 return "KernelStack";
1/* $NetBSD: subr_asan.c,v 1.26 2020/09/10 14:10:46 maxv Exp $ */
2
3/*
4 * Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net
5 * All rights reserved.
6 *
7 * This code is part of the KASAN subsystem of the NetBSD kernel.
8 *

--- 139 unchanged lines hidden (view full) ---

148 case KASAN_MALLOC_REDZONE:
149 return "MallocRedZone";
150 case KASAN_KMEM_REDZONE:
151 return "KmemRedZone";
152 case KASAN_UMA_FREED:
153 return "UMAUseAfterFree";
154 case KASAN_KSTACK_FREED:
155 return "KernelStack";
156 case KASAN_EXEC_ARGS_FREED:
157 return "ExecKVA";
156 case 1 ... 7:
157 return "RedZonePartial";
158 case KASAN_STACK_LEFT:
159 return "StackLeft";
160 case KASAN_STACK_MID:
161 return "StackMiddle";
162 case KASAN_STACK_RIGHT:
163 return "StackRight";

--- 928 unchanged lines hidden ---
158 case 1 ... 7:
159 return "RedZonePartial";
160 case KASAN_STACK_LEFT:
161 return "StackLeft";
162 case KASAN_STACK_MID:
163 return "StackMiddle";
164 case KASAN_STACK_RIGHT:
165 return "StackRight";

--- 928 unchanged lines hidden ---