commit | 9c2a22000e9d9e473a9e1e3bea94aaf880cc1831 | [log] [tgz] |
---|---|---|
author | Etienne Bergeron <[email protected]> | Tue Jul 12 15:33:04 2016 |
committer | Etienne Bergeron <[email protected]> | Tue Jul 12 15:33:04 2016 |
tree | e9bf4548c84fddeaa2348735c0b733e3339c5012 | |
parent | 2d84ec67f8084aa6d54b5e660ceb0889e81f647a [diff] |
[compiler-rt] Enhance function padding detection for function interception Summary: Many CRT (64-bits) functions contains a "hint-nop". The current padding detection is not able to recognize the 10-bytes padding and the HotPatch hooking technique cannot be used. Other patterns may be discover and may be added later. Reviewers: rnk Subscribers: llvm-commits, wang0109, chrisha Differential Revision: http://reviews.llvm.org/D22258 llvm-svn: 275180