[llvm] r329050 - Add a wrapper around llvm-objdump to look for indirect calls/jmps in x86 assembly.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 10:11:02 PDT 2018


On Tue, Apr 3, 2018 at 12:27 AM Dimitry Andric <dimitry at andric.com> wrote:

> On 3 Apr 2018, at 09:01, Eric Christopher via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
> >
> > Author: echristo
> > Date: Tue Apr  3 00:01:33 2018
> > New Revision: 329050
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=329050&view=rev
> > Log:
> > Add a wrapper around llvm-objdump to look for indirect calls/jmps in x86
> assembly.
> >
> > Useful when looking for indirect calls/jmps the need mitigation
> > via retpoline or other mitigations for Spectre v2.
> ...
> > --- llvm/trunk/utils/indirect_calls.py (added)
> > +++ llvm/trunk/utils/indirect_calls.py Tue Apr  3 00:01:33 2018
>
> ...
> > +# Compare the debug info between two files.
>
> Hmm, does this comment make sense? Or was it pasted from another script?
>
>
Oops - yeah, I pulled this out of a general harness I have and adapted it.
Fixed thusly :)

echristo at athyra ~/s/llvm> git svn dcommit
Committing to https://llvm.org/svn/llvm-project/llvm/trunk ...
M utils/indirect_calls.py
Committed r329084


> Very handy tool, in any case, thanks!
>

You're welcome :)

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180403/7507d43d/attachment.html>


More information about the llvm-commits mailing list