Searched hist:c9c847d592f02c29bc61c1a94810eb7d8735986b (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/include/kernel/ |
| H A D | asan.h | c9c847d592f02c29bc61c1a94810eb7d8735986b Wed Jun 11 10:33:09 UTC 2025 Aleksandr Iashchenko <aleksandr.iashchenko@linutronix.de> core: asan: add support for custom panic callback
Add asan_set_panic_cb() to register a custom panic callback.
The ability to set a panic callback will be used in ASan tests to capture and validate expected violations without triggering a full system panic, which is important for automated testing.
Introduce asan_report() to provide more detailed reporting of access violations, including nearby shadow memory dump.
Signed-off-by: Aleksandr Iashchenko <aleksandr.iashchenko@linutronix.de> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/core/kernel/ |
| H A D | asan.c | c9c847d592f02c29bc61c1a94810eb7d8735986b Wed Jun 11 10:33:09 UTC 2025 Aleksandr Iashchenko <aleksandr.iashchenko@linutronix.de> core: asan: add support for custom panic callback
Add asan_set_panic_cb() to register a custom panic callback.
The ability to set a panic callback will be used in ASan tests to capture and validate expected violations without triggering a full system panic, which is important for automated testing.
Introduce asan_report() to provide more detailed reporting of access violations, including nearby shadow memory dump.
Signed-off-by: Aleksandr Iashchenko <aleksandr.iashchenko@linutronix.de> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
|