[PATCH] D22993: [MSAN][MIPS] Changed memory mapping to support pie executable.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 09:54:19 PDT 2016


eugenis added a comment.

How about this:
MEM_TO_SHADOW = x ^ 0x800...
SHADOW_TO_ORIGIN = x + 0x200...
and
0x0000000000-0x0200000000: Program own segments
0xa200000000-0xc000000000: PIE program segments
0xe200000000-0xffffffffff: libraries segments.

That's about 2x more address space, and I don't see any overlaps.


Repository:
  rL LLVM

https://reviews.llvm.org/D22993





More information about the llvm-commits mailing list