Analyse and explore linux
Component UBSAN_TRAP

Component Type: kbuild config

Description: On Sanitizer warnings, abort the running kernel code

More info: Building kernels with Sanitizer features enabled tends to grow the kernel size by around 5%, due to adding all the debugging text on failure paths. To avoid this, Sanitizer instrumentation can just issue a trap. This reduces the kernel size overhead but turns all warnings (including potentially harmless conditions) into full exceptions that abort the running kernel code (regardless of context, locks held, etc), which may destabilize the system. For some system builders this is an acceptable trade-off.

Build project: Kconfig (Linux kconfig) (Path: Kconfig )

Other views: file explorer

Generated by PFA software prototype