|
|
|
|
|
by twoodfin
425 days ago
|
|
Yeah, would love to see the CPU vendors invent some primitives to let user code pull those kinds of privilege isolation tricks within a single process and address space. Something like: “From now on, code on these pages can only access data on these pages, and only return to/call into other code through these gates…” |
|
https://learn.microsoft.com/en-us/windows/win32/api/memoryap...
Or some sort of special write barrier store op-code, idk.