mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
Kernel: Expose sysctl 'ubsan_is_deadly' to panic the Kernel on UB
This makes it easier to find UB, for example when fuzzing the Kernel.
This can be enabled by default, thanks to @boricj's work in
32e1354b9b
.
This commit is contained in:
parent
a0362d827c
commit
00131d244e
3 changed files with 14 additions and 1 deletions
|
@ -30,6 +30,8 @@
|
|||
|
||||
namespace Kernel::UBSanitizer {
|
||||
|
||||
extern bool g_ubsan_is_deadly;
|
||||
|
||||
typedef void* ValueHandle;
|
||||
|
||||
class SourceLocation {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue