Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any open source Java analysis libraries for data/control dependence? [closed]

I am looking for a library/API that has some out of the box data and control dependence analyses for Java programs. This would be a static analysis on the control flow graph (CFG) of the given program to compute data dependences and control dependences. I would like to avoid reimplementing these techniques/algorithms if they have already been done. An inter-procedural analysis would be great, but I could work with a library that does an intra-procedural one as well.

Any suggestions would be greatly appreciated.

Edit: One thing I have found is jChord, but I haven't been able to determine yet if it actually has any of the out of the box functionality that I am looking for or if I would have to implement it myself.

Another possibility is the joeq library which seems to at least have the infrastructure necessary for doing this, but the documentation (or lack thereof) is making it difficult for me to tell what it is actually capable of.

I am sure Eclipse does plenty of data flow analysis underneath the hood, but I haven't seen anything yet that is public facing. Anyone know of the Eclipse API having stuff like this?

like image 779
jbranchaud Avatar asked Feb 14 '12 20:02

jbranchaud


1 Answers

Try http://www.sable.mcgill.ca/soot/

like image 105
dacongy Avatar answered Oct 06 '22 06:10

dacongy