[LLVMdev] Indirect function call
Chris Lattner
sabre at nondot.org
Mon May 22 23:03:59 PDT 2006
On Tue, 23 May 2006, Nai Xia wrote:
> So I am currently thinking that maybe it is not hard to make the
> callgraph more accurate in a similar way DSA deals with indirect
> callsites. I am just curious about why it is not already in LLVM. I
> think identifying the range of an indirect call is a worthwhile job, for
> example if we want to track the correctness of a program's control flow
> with the possibility that it is being attacked through buffer overflow.
Sure. More precise call graph analysis can benefit many clients. This is
why the CallGraph interface is an abstract one that can be implemented
with many different algorithms. If you'd like to work on a new
implementation, that would be great.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list