[llvm-dev] Is there a python binding, or any other script binding, that has access to individual instructions?

Brenda So via llvm-dev llvm-dev at lists.llvm.org
Sun Dec 31 22:53:16 PST 2017


Hi Yuri,

When you say code analysis, do you mean checking from source code itself,
the intermediate representation, the assembly instructions or the binary?

Brenda

On Mon, Jan 1, 2018 at 1:26 AM, Yuri via llvm-dev <llvm-dev at lists.llvm.org>
wrote:

> There is llvmlite http://llvmlite.readthedocs.io/en/latest/ , but it
> doesn't seem to support reading individual instructions, based on these
> docs.
>
>
> I was thinking to make a simple code analysis tool to, for example, find
> all system calls that have unchecked return codes, but I can't find a
> binding for any scripting language. And I am averse to writing this in C++.
>
>
> Thanks,
>
> Yuri
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180101/86136b66/attachment.html>


More information about the llvm-dev mailing list