mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-05 05:58:24 +01:00
Refactor code out of MinidumpModuleList::Read().
Add a StoreRange() helper method and an IsDevAshmem() helper function. Change-Id: Iaec9dee1e08bd0155f1c33cfe9af722b0dcaef31 Reviewed-on: https://chromium-review.googlesource.com/1114188 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
d0241bb91c
commit
d531e1b2ba
2 changed files with 60 additions and 48 deletions
|
|
@ -541,6 +541,11 @@ class MinidumpModuleList : public MinidumpStream,
|
|||
|
||||
bool Read(uint32_t expected_size);
|
||||
|
||||
bool StoreRange(const MinidumpModule& module,
|
||||
uint64_t base_address,
|
||||
uint32_t module_index,
|
||||
uint32_t module_count);
|
||||
|
||||
// The largest number of modules that will be read from a minidump. The
|
||||
// default is 1024.
|
||||
static uint32_t max_modules_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue