llvm-pass-skeleton
llvm-pass-skeleton copied to clipboard
llvm instrumentation
hi, sir, lucky to see your course and I wonder if we can use llvm for instrumentation for inline assembly of c code. Look forward to your reply.
I'm sorry, but I don't know what you mean by "inline assembly of c code." However, this repository just contains the scaffolding necessary to start an LLVM pass; what you do with LLVM is up to you. If you have broader questions about what LLVM is capable of, I'm afraid I am not the right person to ask.
I see. Thank you anyway. I mean, take the following code for example,
asm ("fsin" :"=t" (answer) : "0" (angle));
The inline assembly above may appear in many C projects.
I will check the LLVM manual to find the solution~
Hello, liu. Do you want to find out how to binary instrument with llvm?