This is an archive of the discontinued LLVM Phabricator instance.

[asan Win64] Use multiple trampolines for interception
AbandonedPublic

Authored by wang0109 on Jul 7 2016, 8:02 PM.

Details

Reviewers
None
Summary

[asan Win64] Use multiple trampolines for interception
Due to large address space in x64, it is not safe to assume
a single trampoline area can be reachable within +/-2G of
every one of the intercepted function address. This patch
provides a way to search and allocate a free page from the
end of each image for trampoline usage. Currently it simply
allocates a new page for every interception.

Diff Detail

Event Timeline

wang0109 updated this revision to Diff 63175.Jul 7 2016, 8:02 PM
wang0109 retitled this revision from to [asan Win64] Use multiple trampolines for interception.
wang0109 updated this object.
wang0109 added subscribers: etienneb, chrisha.

This CL is superceded and merged by:

http://reviews.llvm.org/D22111

wang0109 abandoned this revision.Jul 8 2016, 8:20 AM