mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:57:35 +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:
parent
6252e5b1f6
commit
fe7036d8f4
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ void SoftCPU::update_code_cache()
|
||||||
ASSERT(region);
|
ASSERT(region);
|
||||||
|
|
||||||
if (!region->is_executable()) {
|
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();
|
Emulator::the().dump_backtrace();
|
||||||
TODO();
|
TODO();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue