forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
[Linux] v5.7Released in Linux kernel v5.7Released in Linux kernel v5.7compilerNeeds compiler supportNeeds compiler support
Description
The use of the Undefined Behavior Sanitizer (UBSan)'s "bounds checker" can detect array indexing outside the of known arrays sizes. This feature needs separated from the general UBSan features so it can be enabled independently.
Since builds with libubsan grow the kernel size by almost 5% (for all the debugging), there also needs to be a "trap only" mode for UBSan, which creates a trade-off of having minimal image size impact, but make bounds failures fatal.
Metadata
Metadata
Assignees
Labels
[Linux] v5.7Released in Linux kernel v5.7Released in Linux kernel v5.7compilerNeeds compiler supportNeeds compiler support