Wenhan Gu
2011-May-05 03:16 UTC
[LLVMdev] Could LLVM or Clang go backward to modify c source code?
Hi all, I have a source code: int* p = malloc(...); After translating to llvm::Module, We can know the source code did not call free. I know we can hack this into Module. But my question is, could we hack it back to source code? After fixing, the source will become: int *p = malloc(...); free(p); Is this feasible? Thanks all very much. -- Best regards, Wen-Han -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110505/2a3f6462/attachment.html>
Seemingly Similar Threads
- [LLVMdev] Could LLVM or Clang go backward to modify c source code?
- [LLVMdev] Could LLVM or Clang go backward to modify c source code?
- [LLVMdev] Data flow analysis
- [LLVMdev] __builtin_va_list different on targets
- [LLVMdev] Does someone still keep eye on MC ARM EHABI?