[LLVMdev] own source transformation

Reid Kleckner reid.kleckner at gmail.com
Tue Dec 7 08:41:00 PST 2010


So you want to rewrite C source code in ways that try to prevent this?
 You may want to look into the clang rewriter instead.  LLVM has a
poorly maintained C backend (hopefully it will be better soon), but it
isn't really set up for high-level transformations.

Look into the ObjC rewriter for an example.

Reid

On Tue, Dec 7, 2010 at 11:16 AM, Vincent De Bruyne
<vincent_de_bruyne at hotmail.com> wrote:
> Hi,
>
> I'm a student who is going to make a countermeasure for dangling pointers in
> c for his thesis.
> I need to make my source transformation using llvm. Nobody in my university
> already used LLVM.
>
> I already read a some documentation about llvm but i'm still lost.
>
> Do there exist some " examples/Tutorials" for making small source
> transformations.
> Or is there somebody who can help me a bit to get started.
>
> Thx
> Vincent
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>




More information about the llvm-dev mailing list