[LLVMdev] Pointer functer analysis
Harmen van der Spek
hvdspek at liacs.nl
Tue Mar 2 23:49:38 PST 2010
You could have a look at "poolalloc"
(http://llvm.org/svn/llvm-project/poolalloc/)
Within this source tree
http://llvm.org/svn/llvm-project/poolalloc/trunk/lib/DSA/CallTargets.cpp
seems to be what you are looking for.
Note that this is not part of the mainline LLVM distribution.
Harmen
Aurelien Tran wrote:
> Hi,
>
> I am new to the LLVM project, and from what I have heard It can be used to
> performed static analysis on a source code. I would like to know if it is
> possible to extract the different function call through function pointer
> (find the caller function and the callee function) in a program.
>
> I could find the kind of information in the website so it would be really
> helpful if you could tell me if such an analyze already exist in LLVM or can
> you point me to the good direction on how to build it myself (existing
> source code, reference, tutorial, example...).
>
> Aurelien
More information about the llvm-dev
mailing list