diff options
author | Hendiadyoin1 <leon2002.la@gmail.com> | 2021-05-02 15:29:44 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-02 16:18:44 +0200 |
commit | effdd76bb25fc51353832ed56c43af9e673eee31 (patch) | |
tree | 478164399ed94fa84a66c272228e935d005c91b9 | |
parent | 68a0e4f8d52c0705861b876c0f6189d09c905e19 (diff) | |
download | serenity-effdd76bb25fc51353832ed56c43af9e673eee31.zip |
Kernel: Remove outdated UBSan comments
The triple-fault issue has long been fixed
-rw-r--r-- | Kernel/UBSanitizer.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Kernel/UBSanitizer.cpp b/Kernel/UBSanitizer.cpp index ec6e430a87..c30f58436e 100644 --- a/Kernel/UBSanitizer.cpp +++ b/Kernel/UBSanitizer.cpp @@ -154,7 +154,6 @@ void __ubsan_handle_type_mismatch_v1(const TypeMismatchData& data, ValueHandle p print_location(data.location); } -// FIXME: Causes a triple fault on boot void __ubsan_handle_alignment_assumption(const AlignmentAssumptionData&, ValueHandle, ValueHandle, ValueHandle) __attribute__((used)); void __ubsan_handle_alignment_assumption(const AlignmentAssumptionData& data, ValueHandle pointer, ValueHandle alignment, ValueHandle offset) { @@ -168,7 +167,7 @@ void __ubsan_handle_alignment_assumption(const AlignmentAssumptionData& data, Va "of type {} failed", alignment, pointer, data.type.name()); } - // dbgln("KUBSAN: Assumption of pointer alignment failed"); + print_location(data.location); } @@ -203,7 +202,6 @@ void __ubsan_handle_invalid_builtin(const InvalidBuiltinData data) print_location(data.location); } -// FIXME: Causes a triple fault on boot void __ubsan_handle_pointer_overflow(const PointerOverflowData&, ValueHandle, ValueHandle) __attribute__((used)); void __ubsan_handle_pointer_overflow(const PointerOverflowData& data, ValueHandle base, ValueHandle result) { |