Skip to content

Commit

Permalink
Negated xsts stuck flag
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamZsofi committed Sep 19, 2022
1 parent 5ae502c commit 7227f9a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ public class XstsCli {
@Parameter(names = {"--visualize"}, description = "Write proof or counterexample to file in dot format")
String dotfile = null;

@Parameter(names = "--stop-if-stuck")
boolean stopIfStuck = false;
@Parameter(names = "--no-stuck-check")
boolean noStuckCheck = false;

private Logger logger;

Expand Down Expand Up @@ -204,7 +204,7 @@ private XSTS loadModel() throws Exception {

private XstsConfig<?, ?, ?> buildConfiguration(final XSTS xsts) throws Exception {
// set up stopping analysis if it is stuck on same ARGs and precisions
if (!stopIfStuck) {
if (noStuckCheck) {
ArgCexCheckHandler.instance.setArgCexCheck(false, false);
} else {
ArgCexCheckHandler.instance.setArgCexCheck(true, refinement.equals(Refinement.MULTI_SEQ));
Expand Down

0 comments on commit 7227f9a

Please sign in to comment.