[Soot-list] Converting Baf Body to jimple Body

ASHISH MISHRA ashish123.mishragkp at gmail.com
Tue Oct 29 00:45:58 EDT 2013


Hi All,

I am trying to perform interprocedural analysis over some program. The
problem i am facing is that , for all the event listener registrations of
the following form


 myButton.setOnClickListener(new A.OnClickListener() {
            public void onClick(A a) {
               //onClick Body here
            }
        });

where A is a class with onClickListener defined.

For such code fragments , there is no edge in the call graph from the
current context to the onClick. This produces an incomplete call graph.

Now , if i want to parse the body of the onClick() method, there is no
jimple body and only Baf Body. Is there some library available for Baf to
Jimple transformation, or I need to do it manually.

Thanks
-- 
Regards,
Ashish Mishra
Graduate Student,
Computer Science and Automation Department,IISc
Cell : +91-9611194714
Mailto : ashishmishra at csa.iisc.ernet.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20131029/23120903/attachment-0001.html 


More information about the Soot-list mailing list