Re: Question about UEFI, AddressSanitizer and MMU mappings
toggle quoted messageShow quoted text
From an UEFI point of view if you own the memory you can do what you want with it. The UEFI Spec does not deal with paging but the PI Spec does have abstractions for how the CPU operates via the CPU ARCH Protocol .
So for example if you want to write protect the page tables, add guard page, or add a stack guard all that is OK and exists today .
Does Asan just need to force page faults? Or does it want to make virtual address mappings?
If someone wants to work on ASan (or any of the other sanitizers) I’m happy to volunteer to consult.