[PATCH 0/4] KASan: print output directly to stderr
Sascha Hauer
sha at pengutronix.de
Tue Sep 12 02:36:38 PDT 2023
On Mon, Sep 11, 2023 at 02:56:15PM +0200, Ahmad Fatoum wrote:
> 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
Applied, thanks
Sascha
>
> 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
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list