commit | 640b13f3cb8000d361547f4cfa59275df44d1dc8 | [log] [tgz] |
---|---|---|
author | Joshua Peraza <jperaza@chromium.org> | Mon Oct 19 21:37:14 2020 |
committer | Joshua Peraza <jperaza@chromium.org> | Mon Oct 26 22:15:52 2020 |
tree | 251051f0ba8fef74478c0a6185eba389ab25bdfb | |
parent | cdb1e7f52bdcf693c4c240014675545df89ebcf0 [diff] |
linux: Don't load section headers of test module The ELF standard allows substantial flexibility in the construction of valid ELF modules, but there are widely followed conventions. For example, ELF modules typically contain several segments, they do load their program headers, and they don't load their section headers. Bionic contains a variety of checks that the modules it's loading look typical. Beginning with Android M, Bionic refuses to load segments which contain the entire file contents. Change-Id: I0687a3cfd84b3561112dcd32eb6b96493969695e Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2486401 Reviewed-by: Mark Mentovai <mark@chromium.org>
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.