[cfe-dev] Using clang for c code control flow manipulations

Rachel HaCohen (rahacohe) via cfe-dev cfe-dev at lists.llvm.org
Sun Mar 19 06:07:06 PDT 2017


Hello all,
In a project we're working on, we wish to build a tool that automatically manipulates c code.
We wish to be able to track the control flow of the program and manipulate it (flattening, adding blocks of code etc.).
We want the tool to be very general and automatic and be able to work properly for every c file and generate compilable code.

Do you think this is achievable using clang? Do you have any tips for implementing this tool?
Many thanks,
Rachel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170319/18b37dae/attachment.html>


More information about the cfe-dev mailing list