-
Notifications
You must be signed in to change notification settings - Fork 162
Map file cow windows #1296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Map file cow windows #1296
Changes from all commits
0601af0
a253642
9de6300
290d8a2
ebe9ee0
dc6a698
c5f8f5c
253fc42
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -144,6 +144,7 @@ impl VirtualMachine for WhpVm { | |
| region.host_region.start.from_handle, | ||
| region.host_region.start.handle_base, | ||
| region.host_region.start.handle_size, | ||
| ®ion.host_region.start.surrogate_mapping, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we can get rid of the entire SurrogateMapping from this PR and instead just pass region.flags here. I think this would make this PR a lot smaller
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if contains WRITE -> PAGE_READWRITE and guardpages , otherwise PAGE_READONLY and no guardapges |
||
| ) | ||
| .map_err(|e| MapMemoryError::SurrogateProcess(e.to_string()))?; | ||
| let surrogate_addr = surrogate_base.wrapping_add(region.host_region.start.offset); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.