[PATCH 0/4] KASan: print output directly to stderr
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Sep 11 05:56:15 PDT 2023
I recently hunted down a heap memory corruption and this was somewhat
complicated by KASan and dump_stack() themselves allocating memory
off the heap. This series switches them to directly write to the
consoles associated with stderr, while skipping the log.
Ahmad Fatoum (4):
ARM: unwind: don't allocate while printing stack trace
ARM64: backtrace: print stacktrace to stderr
KASan: only print to stderr
KASan: don't allocate memory while printing report
arch/arm/lib32/unwind.c | 20 ++++++++++----------
arch/arm/lib64/stacktrace.c | 6 +++---
lib/kasan/generic.c | 2 --
lib/kasan/report.c | 22 +++++++++++-----------
4 files changed, 24 insertions(+), 26 deletions(-)
--
2.39.2
More information about the barebox
mailing list