[compiler-rt] r212979 - Add support for intercepting thunks of the form
Ehsan Akhgari
ehsan.akhgari at gmail.com
Mon Jul 14 19:41:10 PDT 2014
On Mon, Jul 14, 2014 at 10:34 PM, David Blaikie <dblaikie at gmail.com> wrote:
> On Mon, Jul 14, 2014 at 1:28 PM, Ehsan Akhgari <ehsan.akhgari at gmail.com>
> wrote:
> > Author: ehsan
> > Date: Mon Jul 14 15:28:21 2014
> > New Revision: 212979
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=212979&view=rev
> > Log:
> > Add support for intercepting thunks of the form
>
> Is this a complete commit message (or a complete commit? Missing tests?)?
>
No, sorry, this commit used to have "`jmp dword ptr ds:[WWZZYYXX]`" after
it, but either git or git svn ate that part, and I didn't realize. The
code changes are complete.
Cheers,
--
Ehsan
<http://ehsanakhgari.org/>
> >
> > Modified:
> > compiler-rt/trunk/lib/interception/interception_win.cc
> >
> > Modified: compiler-rt/trunk/lib/interception/interception_win.cc
> > URL:
> http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/interception/interception_win.cc?rev=212979&r1=212978&r2=212979&view=diff
> >
> ==============================================================================
> > --- compiler-rt/trunk/lib/interception/interception_win.cc (original)
> > +++ compiler-rt/trunk/lib/interception/interception_win.cc Mon Jul 14
> 15:28:21 2014
> > @@ -113,6 +113,7 @@ static size_t RoundUpToInstrBoundary(siz
> > 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
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140714/46d6bfb2/attachment.html>
More information about the llvm-commits
mailing list