mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
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>