Descriptioncrazy linker: Add a Breakpad "guard region" to reserved space.
Breakpad requires currently that a library's reported start_addr
actually be its load_bias. It will also complain if there is an
apparent overlap in the memory mappings it reads in from a microdump.
If something in the process mmaps into the address space between
load_bias and start_addr, this will break Breakpad's minidump
processor.
Work round by adding a "guard region" into the reserved address space
but ahead of the start_addr where the library is loaded. Making this
part of the reserved address space for the library ensures that
nothing will later mmap into it.
BUG=504410, 499747
Committed: https://crrev.com/d91775bf59f883b75cce2071ac8b76f7aee062a2
Cr-Commit-Position: refs/heads/master@{#337035}
Patch Set 1 #Patch Set 2 : Simplify somewhat. #
Total comments: 4
Patch Set 3 : Tweak for review feedback. #
Messages
Total messages: 10 (3 generated)
|