Page MenuHomePhabricator

[PowerPC][asan] Update asan to handle changed memory layouts in newer kernels
AcceptedPublic

Authored by seurer on Dec 6 2017, 9:15 AM.

Details

Summary

[PowerPC][asan] Update asan to handle changed memory layouts in newer kernels

In more recent Linux kernels with 47 bit VMAs the layout of virtual memory
for powerpc64 changed causing the address sanitizer to not work properly. This
patch adds support for 47 bit VMA kernels for powerpc64 and fixes up test
cases.

There is an associated patch for compiler-rt.

Tested on several 4.x and 3.x kernel releases.

Diff Detail

Event Timeline

seurer created this revision.Dec 6 2017, 9:15 AM
echristo accepted this revision.Dec 7 2017, 1:44 PM
This revision is now accepted and ready to land.Dec 7 2017, 1:44 PM