From 3f0371cce2750e8837819b28f383151a22b75fc9 Mon Sep 17 00:00:00 2001 From: Joshua Peraza Date: Tue, 30 Jan 2018 17:37:00 -0800 Subject: [PATCH] Define ElfImageReader::Memory() Bug: crashpad:30 Change-Id: Ibb6c6423736daa9fb248ac0c8d724244906236d4 Reviewed-on: https://chromium-review.googlesource.com/894447 Reviewed-by: Mark Mentovai Commit-Queue: Joshua Peraza --- snapshot/elf/elf_image_reader.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snapshot/elf/elf_image_reader.cc b/snapshot/elf/elf_image_reader.cc index 6560bdd8..2fc96089 100644 --- a/snapshot/elf/elf_image_reader.cc +++ b/snapshot/elf/elf_image_reader.cc @@ -758,4 +758,8 @@ ElfImageReader::NotesWithNameAndType(const std::string& name, this, &memory_, program_headers_.get(), max_note_size, name, type, true); } +const ProcessMemoryRange* ElfImageReader::Memory() const { + return &memory_; +} + } // namespace crashpad