mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 09:52:31 +00:00
Protect the first 4 KB of memory.
This makes null pointers crashy, tremendously useful :^)
This commit is contained in:
parent
dd6706a1a1
commit
d5ec18027e
Notes:
sideshowbarker
2024-07-19 18:45:59 +09:00
Author: https://github.com/awesomekling
Commit: d5ec18027e
2 changed files with 18 additions and 1 deletions
|
@ -58,6 +58,7 @@ private:
|
|||
|
||||
void initializePaging();
|
||||
|
||||
void protectMap(LinearAddress, size_t length);
|
||||
void identityMap(LinearAddress, size_t length);
|
||||
|
||||
Vector<PhysicalAddress> allocatePhysicalPages(size_t count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue