File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/main/scala/br/unb/cic/soot/svfa/jimple Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ scalaVersion := "2.12.8"
33name := " svfa-scala"
44organization := " br.unb.cic"
55
6- version := " 0.2.2 "
6+ version := " 0.2.3 "
77
88githubOwner := " rbonifacio"
99githubRepository := " svfa-scala"
Original file line number Diff line number Diff line change @@ -46,18 +46,17 @@ abstract class JSVFA extends SVFA with Analysis with FieldSensitiveness with Obj
4646 trait CopyFromMethodArgumentToBaseObject extends RuleAction {
4747 def from : Int
4848
49- def apply (sootMethod : SootMethod , invokeStmt : jimple.Stmt , localDefs : SimpleLocalDefs ) = {
49+ def apply (sootMethod : SootMethod , invokeStmt : jimple.Stmt , localDefs : SimpleLocalDefs ): Unit = {
5050 var srcArg : Value = null
5151 var expr : InvokeExpr = null
5252
5353 try {
5454 srcArg = invokeStmt.getInvokeExpr.getArg(from)
5555 expr = invokeStmt.getInvokeExpr
5656 }catch {
57- case e : Exception =>
58- srcArg = invokeStmt.getInvokeExpr.getArg(from)
59- expr = invokeStmt.getInvokeExpr
60- println(" Entrou com errro!" )
57+ case e : Throwable =>
58+ println(e.printStackTrace())
59+ return
6160 }
6261 if (hasBaseObject(expr) && srcArg.isInstanceOf [Local ]) {
6362 val local = srcArg.asInstanceOf [Local ]
You can’t perform that action at this time.
0 commit comments