Skip to content

Commit

Permalink
[compiler-rt] Refactor the interception code on windows.
Browse files Browse the repository at this point in the history
Summary:
This is a cleanup and refactoring of the interception code on windows

Enhancement:
  * Adding the support for 64-bits code
  * Adding several hooking technique:
    * Detour
    * JumpRedirect
    * HotPatch
    * Trampoline
  * Adding a trampoline memory pool (64-bits) and release the allocated memory in unittests

Cleanup:
  * Adding unittests for 64-bits hooking techniques
  * Enhancing the RoundUpInstruction by sharing common decoder

Reviewers: rnk

Subscribers: llvm-commits, wang0109, chrisha

Differential Revision: http://reviews.llvm.org/D22111

llvm-svn: 275123
  • Loading branch information
bergeret committed Jul 11, 2016
1 parent de1be71 commit f552567
Show file tree
Hide file tree
Showing 3 changed files with 1,079 additions and 340 deletions.

0 comments on commit f552567

Please sign in to comment.