RawModule::SetAddressRange - Notify the backend about this range.

This commit is contained in:
Dr. Chat 2015-12-01 16:47:17 -06:00 committed by Ben Vanik
parent 38a09cbcc2
commit d99008bfac
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ void RawModule::SetAddressRange(uint32_t base_address, uint32_t size) {
base_address_ = base_address;
low_address_ = base_address;
high_address_ = base_address + size;
// Notify backend about executable code.
processor_->backend()->CommitExecutableRange(low_address_, high_address_);
}
bool RawModule::ContainsAddress(uint32_t address) {