Fix a bug in start address calculation
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@261 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
5da03791a7
commit
9609db8173
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ void* ReadTaskMemory(task_port_t target_task,
|
|||
|
||||
// use the negative of the page size for the mask to find the page address
|
||||
mach_vm_address_t page_address =
|
||||
reinterpret_cast<mach_vm_address_t>(address) && (-systemPageSize);
|
||||
reinterpret_cast<mach_vm_address_t>(address) & (-systemPageSize);
|
||||
|
||||
mach_vm_address_t last_page_address =
|
||||
(reinterpret_cast<mach_vm_address_t>(address) + length +
|
||||
|
|
Loading…
Reference in a new issue