DescriptionAdd support for Linux memory mapping stream and remove ELF header usage
when checking exploitability rating.
Linux minidumps do not support MD_MEMORY_INFO_LIST_STREAM, meaning the
processor cannot retrieve its memory mappings. However, it has its own
stream, MD_LINUX_MAPS, which contains memory mappings specific to Linux
(it contains the contents of /proc/self/maps). This CL allows the minidump
to gather information from the memory mappings for Linux minidumps.
In addition, exploitability rating for Linux dumps now use memory mappings
instead of checking the ELF headers of binaries. The basis for the change
is that checking the ELF headers requires the minidumps to store the memory
from the ELF headers, while the memory mapping data is already present,
meaning the size of a minidump will be unchanged.
As a result, of removing ELF header analysis, two unit tests have been removed.
Arguably, the cases that those unit tests check do not merit a high
exploitability rating and do not warrant a solid conclusion that was given
earlier.
R=ivanpe@chromium.org
Committed: https://code.google.com/p/google-breakpad/source/detail?r=1476
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 29
Patch Set 4 : #
Total comments: 8
Patch Set 5 : #
Total comments: 1
Patch Set 6 : #
Messages
Total messages: 15 (1 generated)
|