From d531e1b2ba94f3f06b3706eb1f245b329c1bf9d2 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 25 Jun 2018 14:31:04 -0700 Subject: 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 --- src/google_breakpad/processor/minidump.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/google_breakpad/processor/minidump.h') 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_; -- cgit v1.2.1