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

Yuri via llvm-dev llvm-dev at lists.llvm.org
Sun Dec 31 22:26:34 PST 2017


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




More information about the llvm-dev mailing list