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

Dimitry Andric via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 00:27:50 PDT 2018


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?

Very handy tool, in any case, thanks!

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180403/00029246/attachment.sig>


More information about the llvm-commits mailing list