<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Lee,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>It is usually not a good idea to disable individual packs or phases from Soot’s normal operation. Adding more transformers should be fine, but there are quite a number of subtle dependencies between the existing ones. Unless there is a very good reason and you know the internals, keep the existing phases as they are.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> Steven<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> soot-list-bounces@CS.McGill.CA [mailto:soot-list-bounces@CS.McGill.CA] <b>Im Auftrag von </b>Li Sui<br><b>Gesendet:</b> Samstag, 4. Juni 2016 10:48<br><b>An:</b> soot-list@CS.McGill.CA<br><b>Betreff:</b> [Soot-list] soot options( local splitter )<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='font-size:9.5pt'>Hi there.</span><o:p></o:p></p><div><p class=MsoNormal><span style='font-size:9.5pt'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'> I am using soot and spark to do some points to analysis. It throws exception when i turn off the local splitter. Here is the options I have:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'><o:p> </o:p></span></p></div><div><p><span style='font-size:9.5pt'>soot.options.Options.v().set_keep_line_number(true);<o:p></o:p></span></p><p><span style='font-size:9.5pt'>soot.options.Options.v().set_whole_program(true);<o:p></o:p></span></p><p><span style='font-size:9.5pt'>soot.options.Options.v().setPhaseOption("cg","verbose:true");<o:p></o:p></span></p><p><span style='font-size:9.5pt'>soot.options.Options.v().setPhaseOption("cg.spark","enabled:true");<o:p></o:p></span></p><p><span style='font-size:9.5pt'>soot.options.Options.v().setPhaseOption("jb","enabled:true");<o:p></o:p></span></p><p><span style='font-size:9.5pt'>soot.options.Options.v().setPhaseOption("jb","use-original-names:true");<o:p></o:p></span></p><p><span style='font-size:9.5pt'>soot.options.Options.v().setPhaseOption("<a href="http://jb.ls/" target="_blank">jb.ls</a>","enabled:false");<o:p></o:p></span></p><p><span style='font-size:9.5pt'><o:p> </o:p></span></p><p><span style='font-size:9.5pt'>Here is the exception:<o:p></o:p></span></p><p><span style='font-size:9.5pt'>java.lang.Exception: null typing passed to useChecker<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.jimple.toolkits.typing.fast.UseChecker.check(UseChecker.java:50)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.jimple.toolkits.typing.fast.TypeResolver.insertCasts(TypeResolver.java:345)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.jimple.toolkits.typing.fast.TypeResolver.inferTypes(TypeResolver.java:124)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.jimple.toolkits.typing.TypeAssigner.internalTransform(TypeAssigner.java:101)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.BodyTransformer.transform(BodyTransformer.java:51)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.Transform.apply(Transform.java:104)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.JimpleBodyPack.applyPhaseOptions(JimpleBodyPack.java:66)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.JimpleBodyPack.internalApply(JimpleBodyPack.java:89)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.Pack.apply(Pack.java:124)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.coffi.CoffiMethodSource.getBody(CoffiMethodSource.java:117)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.SootMethod.getBodyFromMethodSource(SootMethod.java:89)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.SootMethod.retrieveActiveBody(SootMethod.java:322)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.processNewMethod(OnFlyCallGraphBuilder.java:531)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.processReachables(OnFlyCallGraphBuilder.java:426)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.jimple.spark.solver.OnFlyCallGraph.build(OnFlyCallGraph.java:55)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.jimple.spark.builder.ContextInsensitiveBuilder.build(ContextInsensitiveBuilder.java:77)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.jimple.spark.SparkTransformer.internalTransform(SparkTransformer.java:84)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at soot.SceneTransformer.transform(SceneTransformer.java:39)<o:p></o:p></span></p><p><span style='font-size:9.5pt'>at SPARKExample.main(SPARKExample.java:92)<o:p></o:p></span></p><p><span style='font-size:9.5pt'><o:p> </o:p></span></p><p><span style='font-size:9.5pt'>I also notice that if I disable local splitter in soot eclipse plugin, I can not run it under the whole program mode. The eclipse just quite straight away.<o:p></o:p></span></p><p><span style='font-size:9.5pt'>Any idea?<o:p></o:p></span></p><p><span style='font-size:9.5pt'>Thanks <o:p></o:p></span></p><p><span style='font-size:9.5pt'>Lee<o:p></o:p></span></p></div></div></div></body></html>