1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:48:12 +00:00

UserspaceEmulator: Improve error text on jump to non-executable memory

The memory is non-executable, not non-readable. :^)
This commit is contained in:
Andreas Kling 2020-11-16 08:38:37 +01:00
parent 6252e5b1f6
commit fe7036d8f4

View file

@ -135,7 +135,7 @@ void SoftCPU::update_code_cache()
ASSERT(region);
if (!region->is_executable()) {
reportln("SoftCPU::update_code_cache: Non-readable region @ {:p}", eip());
reportln("SoftCPU::update_code_cache: Non-executable region @ {:p}", eip());
Emulator::the().dump_backtrace();
TODO();
}