mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-29 02:35:31 +01:00
Revert "Write adjusted range back to module"
This is no right fix, we shouldn't allow module overlap.
This reverts commit 4f417c8c0f.
BUG=606972
R=mark@chromium.org
Review URL: https://codereview.chromium.org/1976683004 .
Patch from Tao Bai <michaelbai@chromium.org>.
This commit is contained in:
parent
a84d4fc426
commit
a875991e73
2 changed files with 0 additions and 13 deletions
|
|
@ -2327,13 +2327,6 @@ const MDImageDebugMisc* MinidumpModule::GetMiscRecord(uint32_t* size) {
|
|||
return reinterpret_cast<MDImageDebugMisc*>(&(*misc_record_)[0]);
|
||||
}
|
||||
|
||||
void MinidumpModule::set_base_address_and_size(uint64_t base_address,
|
||||
uint64_t size) {
|
||||
if (valid_) {
|
||||
module_.base_of_image = base_address;
|
||||
module_.size_of_image = size;
|
||||
}
|
||||
}
|
||||
|
||||
void MinidumpModule::Print() {
|
||||
if (!valid_) {
|
||||
|
|
@ -2642,7 +2635,6 @@ bool MinidumpModuleList::Read(uint32_t expected_size) {
|
|||
HexString(module_size) << ", after adjusting";
|
||||
return false;
|
||||
}
|
||||
module->set_base_address_and_size(base_address, module_size);
|
||||
} else {
|
||||
BPLOG(ERROR) << "MinidumpModuleList could not store module " <<
|
||||
module_index << "/" << module_count << ", " <<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue