[Soot-list] inter-procedural analysis on an android app

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Thu Jan 6 03:51:02 EST 2011


Hi Daniela.

> Exception in thread "main" java.lang.RuntimeException: This operation
> requires resolving level BODIES but
> android.provider.ContactsContract$Contacts is at resolving level
> SIGNATURES
> If you are extending Soot, try to add the following call before
> calling soot.Main.main(..):
> Scene.v().addBasicClass(android.provider.ContactsContract$Contacts,BODIES);

You should not be using loadClassAndSupport() but rather just
getSootClass(..) from within a transformer. This has been discussed
many times on this mailing list. Please just browse the archive for
more info.

Eric


More information about the Soot-list mailing list