breakpad/src/client/linux/minidump_writer
rmcilroy@chromium.org 8785c0cb8f Update breakpad for Android packed relocations.
Shared libraries containing Android packed relocations have a load
bias that differs from the start address in /proc/$$/maps. Current
breakpad assumes that the load bias and mapping start address are
the same.

Fixed by changing the client to detect the presence of Android packed
relocations in the address space of a loaded library, and adjusting the
stored mapping start address of any that are packed so that it contains
the linker's load bias.

For this to work properly, it is important that the non-packed library
is symbolized for breakpad. Either packed or non-packed libraries may
be run on the device; the client detects which has been loaded by the
linker.

BUG=499747
R=primiano@chromium.org, rmcilroy@chromium.org

Review URL: https://codereview.chromium.org/1189823002.

Patch from Simon Baldwin <simonb@chromium.org>.

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1459 4c0a9323-5329-0410-9bdc-e9ce6186880e
2015-06-19 16:30:42 +00:00
..
cpu_set.h Improve ARM CPU info reporting. 2013-04-24 10:06:14 +00:00
cpu_set_unittest.cc Add missing #include of eintr_wrapper.h to auto_testfile.h. Since it's 2013-12-03 19:01:17 +00:00
directory_reader.h SORRY. It seems I've screwed up my commit for http://breakpad.appspot.com/411002/, since revision 1001 only contains the new src/client/linux/linux_libc_support.cc and none of the other required files. 2012-08-03 15:01:52 +00:00
directory_reader_unittest.cc This change allows compiling the google-breakpad code using a global ::string class instead of std::string. For more details take a look at common/using_std_string.h 2012-06-28 22:46:01 +00:00
line_reader.h SORRY. It seems I've screwed up my commit for http://breakpad.appspot.com/411002/, since revision 1001 only contains the new src/client/linux/linux_libc_support.cc and none of the other required files. 2012-08-03 15:01:52 +00:00
line_reader_unittest.cc Add missing #include of eintr_wrapper.h to auto_testfile.h. Since it's 2013-12-03 19:01:17 +00:00
linux_core_dumper.cc [MIPS]: Use mcontext_t structure for MIPS 2015-04-21 21:34:14 +00:00
linux_core_dumper.h Handle failures of copying process data from a core file. 2015-02-02 23:27:27 +00:00
linux_core_dumper_unittest.cc Skip ElfCoreDumpTest and LinuxCoreDumperTest on Android if no core file is dumped. 2014-04-23 10:20:00 +00:00
linux_dumper.cc Update breakpad for Android packed relocations. 2015-06-19 16:30:42 +00:00
linux_dumper.h Update breakpad for Android packed relocations. 2015-06-19 16:30:42 +00:00
linux_dumper_unittest_helper.cc Add Arm64 support to breakpad unittests. 2014-04-08 17:36:11 +00:00
linux_ptrace_dumper.cc [MIPS]: Use mcontext_t structure for MIPS 2015-04-21 21:34:14 +00:00
linux_ptrace_dumper.h Handle failures of copying process data from a core file. 2015-02-02 23:27:27 +00:00
linux_ptrace_dumper_unittest.cc [MIPS]: Use mcontext_t structure for MIPS 2015-04-21 21:34:14 +00:00
minidump_writer.cc Update breakpad for Android packed relocations. 2015-06-19 16:30:42 +00:00
minidump_writer.h Introduce microdump writer class. 2014-10-28 16:45:14 +00:00
minidump_writer_unittest.cc Add Arm64 support to breakpad unittests. 2014-04-08 17:36:11 +00:00
minidump_writer_unittest_utils.cc Fixing various compiler warnings and applying minor tweaks to allow running of 2012-07-02 22:55:57 +00:00
minidump_writer_unittest_utils.h Fixing various compiler warnings and applying minor tweaks to allow running of 2012-07-02 22:55:57 +00:00
proc_cpuinfo_reader.h Improve ARM CPU info reporting. 2013-04-24 10:06:14 +00:00
proc_cpuinfo_reader_unittest.cc Add missing #include of eintr_wrapper.h to auto_testfile.h. Since it's 2013-12-03 19:01:17 +00:00