Displaying 2 results from an estimated 2 matches for "revamb".
Did you mean:
revamp
2018 Jan 01
0
Is there a python binding, or any other script binding, that has access to individual instructions?
...ing for any scripting language. And I am averse to writing
> this in C++.
One possible choice would be llvmcpy -- Python bindings used by the
rev.ng (https://rev.ng/) project:
https://github.com/revng/llvmcpy
Here's an example showing syscalls invocations tracing:
https://github.com/revng/revamb/blob/master/docs/PythonExample.rst#tracing-all-the-syscall-invocations
Best,
Matt
2018 Jan 01
5
Is there a python binding, or any other script binding, that has access to individual instructions?
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