[Soot-list] identify calls on local objects with Jimple?

Christian Lindig lindig at cs.uni-sb.de
Fri Aug 12 10:14:11 EDT 2005


We like to classify method calls into calls on local objects versus 
calls on non-local objects. A local object is created inside a method 
and is not a parameter or held in a static variable. Is there a good 
way to do this in Jimple, at least approximately?

Just because an object is held in a local register (like r7) this does 
not guarantee that the object was created locally. It seems, that all 
objects are loaded into a local register before a method call and thus 
this is too simple.

-- Christian



More information about the Soot-list mailing list