[Soot-list] Spark and custom entry points

Michael Faes rolve at trick17.ch
Wed Mar 6 11:11:21 EST 2013


Hi again,

Using the information in Quentin's script I was able to build the 
develop branch of soot. It took me quite some time as the whole build 
procedure is not really compatible to Windows, even with a Cygwin 
environment. But it worked in the end, so thanks!

However, I encountered another problem. Using Spark with custom entry 
points seems not to work at all. Using CHA, this simple class:

public class CallGraphTest {

     private final Object object;

     public CallGraphTest(final Object object) {
         this.object = object;
     }

     @Override
     public int hashCode() {
         return object.hashCode();
     }
}

produces a reasonable call graph with about 90 edges. Using Spark, the 
call graph is plain empty. As mentioned before, I'm setting up Soot to 
use all public methods as entry points.

Now, I checked the mailing list archive and found this:

http://www.sable.mcgill.ca/pipermail/soot-list/2011-December/003983.html

It suggests that Spark may have problems with non-static entry points. 
Is this still the case? Is there a way around this problem?

Thanks again for your help.
Michael


More information about the Soot-list mailing list