diff options
author | Lei Zhang <thestig@chromium.org> | 2018-06-25 14:31:04 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2018-06-28 00:19:24 +0000 |
commit | d531e1b2ba94f3f06b3706eb1f245b329c1bf9d2 (patch) | |
tree | 91406e6ba93a7bbbfa95df4de29dbe465f5f2e9f /src/google_breakpad/processor/minidump.h | |
parent | Add an anonymous namespace in minidump.cc. (diff) | |
download | breakpad-d531e1b2ba94f3f06b3706eb1f245b329c1bf9d2.tar.xz |
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>
Diffstat (limited to 'src/google_breakpad/processor/minidump.h')
-rw-r--r-- | src/google_breakpad/processor/minidump.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/google_breakpad/processor/minidump.h b/src/google_breakpad/processor/minidump.h index 26b8b8da..785428b8 100644 --- a/src/google_breakpad/processor/minidump.h +++ b/src/google_breakpad/processor/minidump.h @@ -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_; |