[Soot-list] (no subject)

Peter Kim chpkim at gmail.com
Wed Feb 25 16:08:22 EST 2015


Hi,

When I run FlowDroid on an app (whose APK is here:
https://drive.google.com/file/d/0B9KLXcAovVUHRVdaM0t1R01BaHM/view?usp=sharing),
I get the following error. I'm using recent version of Soot (February 25,
2015) and FlowDroid (February 23, 2015). This issue also seems to have been
raised elsewhere (Issue #358 in Github, Sable/Soot, type of throw statement
is bottom_type when it should be an actual type). Do you know how I can get
around this problem? Thanks.

Exception in thread "main" java.lang.IllegalStateException:
UnitThrowAnalysis StmtSwitch: type of throw argument is not a RefType! It
seems that the type of the processed throw statement is bottom_type instead
of an actual type
at
soot.toolkits.exceptions.AbstractThrowAnalysis.mightThrowExplicitly(AbstractThrowAnalysis.java:65)
at
soot.toolkits.exceptions.UnitThrowAnalysis$UnitSwitch.caseThrowStmt(UnitThrowAnalysis.java:706)
at soot.jimple.internal.JThrowStmt.apply(JThrowStmt.java:70)
at
soot.toolkits.exceptions.UnitThrowAnalysis.mightThrow(UnitThrowAnalysis.java:241)
at
soot.toolkits.graph.ExceptionalUnitGraph.getExceptionDests(ExceptionalUnitGraph.java:800)
at
soot.toolkits.graph.ExceptionalUnitGraph.buildHeadsAndTails(ExceptionalUnitGraph.java:763)
at
soot.toolkits.graph.ExceptionalUnitGraph.initialize(ExceptionalUnitGraph.java:293)
at
soot.toolkits.graph.ExceptionalUnitGraph.<init>(ExceptionalUnitGraph.java:159)
at
soot.toolkits.graph.ExceptionalUnitGraph.<init>(ExceptionalUnitGraph.java:193)
at
soot.jimple.toolkits.base.Aggregator.internalAggregate(Aggregator.java:103)
at
soot.jimple.toolkits.base.Aggregator.internalTransform(Aggregator.java:86)
at soot.BodyTransformer.transform(BodyTransformer.java:51)
at soot.BodyTransformer.transform(BodyTransformer.java:58)
at soot.BodyTransformer.transform(BodyTransformer.java:63)
at soot.dexpler.DexBody.jimplify(DexBody.java:628)
at soot.dexpler.DexMethod$1.getBody(DexMethod.java:150)
at soot.SootMethod.getBodyFromMethodSource(SootMethod.java:91)
at soot.SootMethod.retrieveActiveBody(SootMethod.java:322)
at
soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.processNewMethod(OnFlyCallGraphBuilder.java:529)
at
soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.processReachables(OnFlyCallGraphBuilder.java:420)
at soot.jimple.spark.solver.OnFlyCallGraph.build(OnFlyCallGraph.java:55)
at
soot.jimple.spark.solver.PropWorklist.handleVarNode(PropWorklist.java:122)
at soot.jimple.spark.solver.PropWorklist.propagate(PropWorklist.java:52)
at
soot.jimple.spark.SparkTransformer.internalTransform(SparkTransformer.java:152)
at soot.SceneTransformer.transform(SceneTransformer.java:39)
at soot.Transform.apply(Transform.java:90)
at soot.RadioScenePack.internalApply(RadioScenePack.java:57)
at
soot.jimple.toolkits.callgraph.CallGraphPack.internalApply(CallGraphPack.java:49)
at soot.Pack.apply(Pack.java:116)
at
soot.jimple.infoflow.android.SetupApplication.calculateCallbackMethods(SetupApplication.java:352)
at
soot.jimple.infoflow.android.SetupApplication.calculateSourcesSinksEntrypoints(SetupApplication.java:272)
at
soot.jimple.infoflow.android.SetupApplication.calculateSourcesSinksEntrypoints(SetupApplication.java:240)
at soot.jimple.infoflow.android.TestApps.Test.runAnalysis(Test.java:505)
at soot.jimple.infoflow.android.TestApps.Test.main(Test.java:208)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150225/54a2c438/attachment.html 


More information about the Soot-list mailing list