1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 13:25:07 +00:00
serenity/Kernel/Arch/x86/common
Luke Wilde 49259777ef Kernel: Note if the page fault address is a destroyed smart pointer
While I was working on LibWeb, I got a page fault at 0xe0e0e0e4.
This indicates a destroyed RefPtr if compiled with SANITIZE_PTRS
defined. However, the page fault handler didn't print out this
indication.

This makes the page fault handler print out a note if the faulting
address looks like a recently destroyed RefPtr, OwnPtr, NonnullRefPtr,
NonnullOwnPtr, ThreadSafeRefPtr or ThreadSafeNonnullRefPtr. It will
only do this if SANITIZE_PTRS is defined, as smart pointers don't get
scrubbed without it being defined.
2021-10-07 21:30:13 +02:00
..
ASM_wrapper.cpp Kernel: Move special sections into Sections.h 2021-06-24 00:38:23 +02:00
CPU.cpp Kernel: Access MemoryManager static functions statically 2021-10-02 18:16:15 +02:00
Interrupts.cpp Kernel: Note if the page fault address is a destroyed smart pointer 2021-10-07 21:30:13 +02:00
Processor.cpp Kernel: Add Processor::time_spent_idle() 2021-10-07 21:09:38 +02:00
ProcessorInfo.cpp Kernel: Add stubs for missing x86_64 functionality 2021-06-24 09:27:13 +02:00
SafeMem.cpp Kernel: Validate x86_64 address canonicality before SafeMem operations 2021-10-05 02:07:43 +02:00
TrapFrame.cpp Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00