Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ This is a scala implementation of a framework that builds a control dependence e

```{xml}
<dependency>
<groupId>br.ufpe.cin.control-dependence-analysis_2</groupId>
<artifactId>12</artifactId>
<version>0.1.0-SNAPSHOT</version>
<groupId>br.ufpe.cin</groupId>
<artifactId>control-dependence-analysis_2.12</artifactId>
<version>0.1.2</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ scalaVersion := "2.12.8"
name := "control-dependence-analysis"
organization := "br.ufpe.cin"

version := "0.1.0-SNAPSHOT"
version := "0.1.3"

githubOwner := "spgroup"
githubRepository := "control-dependence-analysis"
Expand Down
6 changes: 3 additions & 3 deletions src/main/scala/br/ufpe/cin/soot/cda/CDA.scala
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ abstract class CDA {

for (i <- edgeNodes) {
var x = i.value.label
var cd = new StringLabel("ControlDependency")
var cdFalse = new StringLabel("ControlDependencyFalse")
var cd = new StringLabel("TrueEdge")
var cdFalse = new StringLabel("FalseEdge")
if (x.isInstanceOf[StringLabel]) {

var auxStr = ""
Expand All @@ -146,7 +146,7 @@ abstract class CDA {
var cdEdge = (cd.asInstanceOf[StringLabel]).edgeType.toString
var cdEdgeFalse = (cdFalse.asInstanceOf[StringLabel]).edgeType.toString
var a = (x.asInstanceOf[StringLabel]).edgeType.toString
if (a.equals(cdEdge)) { //If is Control Dependency Edge
if (a.equals(cdEdge)) { //If is Control Dependence Edge
s ++= " "+auxStr + "[penwidth=3][label=\"T\"]" + "\n"
} else if (a.equals(cdEdgeFalse)) {
s ++= " "+auxStr + "[penwidth=3][label=\"F\"]" + "\n"
Expand Down
Loading