[Soot-list] Whole-program and allow-phantom-refs options cause soot to crash

Guillaume Salagnac guillaume.salagnac at imag.fr
Wed Oct 27 06:41:37 EDT 2004


Hello,

I'm wondering if the whole-program (-ws, in my case) and 
-allow-phantom-refs are compatible. I'm trying to analyse a big app with 
missing libraries, and I would like to get a partial but conservative 
result.

The documentation says :

allow-phantom-refs

     Allow Soot to process a class even if it cannot find all classes 
referenced by that class. This may cause Soot to produce incorrect 
results.

But even with simple command lines like this one (no analysis at all 
here)

java -mx400m soot.Main -allow-phantom-refs -ws -f S myclass

I get various exceptions before soot completes, that are caught and 
displayed by soot mechanisms, and finally it gives up, again with an 
exception, somewhere in the call graph construction.

Does "incorrect results" mean "soot will crash sometimes" or am I 
missing something ?

thanks,
-G
-- 
Guillaume Salagnac -- EtK/WarpZone -- 06.68.37.60.78
Equipe "Systèmes Temporisés et Hybrides." Verimag. Grenoble. France.

Mangez un castor, vous sauverez un arbre.


More information about the Soot-list mailing list