Skip to content

Commit

Permalink
Cleaned up deprecated xcfa-utils module
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamZsofi committed Nov 7, 2021
1 parent 85e7763 commit 91cffdf
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 24 deletions.
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ include(
"xcfa/xcfa-analysis",
"xcfa/xcfa-cli",
"xcfa/cat",
"xcfa/xcfa-utils",

"xta/xta",
"xta/xta-analysis",
Expand Down
1 change: 0 additions & 1 deletion subprojects/xcfa/xcfa-analysis/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ dependencies {
compile(project(":theta-cat"))
compile(project(":theta-common"))
compile(project(":theta-solver-smtlib"))
compile(project(":theta-xcfa-utils"))
}
1 change: 0 additions & 1 deletion subprojects/xcfa/xcfa-cli/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ plugins {
dependencies {
compile(project(":theta-xcfa"))
compile(project(":theta-xcfa-analysis"))
compile(project(":theta-xcfa-utils"))
compile(project(":theta-solver-z3"))
compile(project(":theta-cfa-analysis"))
compile(project(":theta-cfa"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@
import hu.bme.mit.theta.xcfa.analysis.algorithmselection.SequentialPortfolio;
import hu.bme.mit.theta.xcfa.analysis.common.XcfaConfig;
import hu.bme.mit.theta.xcfa.analysis.common.XcfaConfigBuilder;
import hu.bme.mit.theta.xcfa.analysis.declarative.XcfaDeclarativeAction;
import hu.bme.mit.theta.xcfa.analysis.declarative.XcfaDeclarativeState;
import hu.bme.mit.theta.xcfa.analysis.utils.XcfaTraceConcretizer;
import hu.bme.mit.theta.xcfa.model.XCFA;
import hu.bme.mit.theta.xcfa.model.utils.FrontendXcfaBuilder;
import hu.bme.mit.theta.xcfa.analysis.utils.OutputHandler;
Expand Down Expand Up @@ -100,12 +97,8 @@ public class XcfaCli {
@Parameter(names = "--no-analysis", description = "Executes the model transformation to XCFA and CFA, and then exits; use with --output-results to get data about the (X)CFA")
boolean noAnalysis = false;

File cexfile = null;
File witnessfile = null;
File dotwitnessfile = null;
File highlightedxcfafile = null;
File cfafile = null;
File xcfafile = null;
File cexfile = null; // for legacy cfa only
File cfafile = null; // for legacy cfa only

//////////// arithmetic types allowed ////////////

Expand Down Expand Up @@ -390,7 +383,7 @@ private void executeSingleConfiguration(XCFA xcfa) throws Exception {
SafetyResult<?, ?> status = check(configuration);
if (status!=null && status.isUnsafe()) {
OutputHandler.getInstance().writeCounterexamples(status, refinementSolver);
} else if(status!=null && status.isSafe() && witnessfile!=null) {
} else if(status!=null && status.isSafe()) {
OutputHandler.getInstance().writeDummyCorrectnessWitness();
}
}
Expand Down
11 changes: 0 additions & 11 deletions subprojects/xcfa/xcfa-utils/build.gradle.kts

This file was deleted.

0 comments on commit 91cffdf

Please sign in to comment.