Raw modules need to commit an executable range too!
This commit is contained in:
parent
9ceab26560
commit
bf39e33dc0
|
@ -55,6 +55,9 @@ bool RawModule::LoadFile(uint32_t base_address, const std::wstring& path) {
|
||||||
|
|
||||||
low_address_ = base_address;
|
low_address_ = base_address;
|
||||||
high_address_ = base_address + file_length;
|
high_address_ = base_address + file_length;
|
||||||
|
|
||||||
|
// Notify backend about executable code.
|
||||||
|
processor_->backend()->CommitExecutableRange(low_address_, high_address_);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue