diff options
| author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2014-07-14 20:28:21 +0000 |
|---|---|---|
| committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2014-07-14 20:28:21 +0000 |
| commit | 911ea4e2be33a86850334170a5c81ecd310a457d (patch) | |
| tree | 5bdf9fdd930f6b710a4fbe943e4b3f0319f7c54f | |
| parent | b94afe1dd6bbc18679f5defc8fde313521aa0215 (diff) | |
| download | bcm5719-llvm-911ea4e2be33a86850334170a5c81ecd310a457d.tar.gz bcm5719-llvm-911ea4e2be33a86850334170a5c81ecd310a457d.zip | |
Add support for intercepting thunks of the form
llvm-svn: 212979
| -rw-r--r-- | compiler-rt/lib/interception/interception_win.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/interception/interception_win.cc b/compiler-rt/lib/interception/interception_win.cc index 9eabe52eb90..261157fc7b1 100644 --- a/compiler-rt/lib/interception/interception_win.cc +++ b/compiler-rt/lib/interception/interception_win.cc @@ -113,6 +113,7 @@ static size_t RoundUpToInstrBoundary(size_t size, char *code) { cursor += 3; continue; case 0xC1F7: // F7 C1 XX YY ZZ WW = test ecx, WWZZYYXX + case 0x25FF: // FF 25 XX YY ZZ WW = jmp dword ptr ds:[WWZZYYXX] cursor += 6; continue; case 0x3D83: // 83 3D XX YY ZZ WW TT = cmp TT, WWZZYYXX |

