Skip to content

Commit

Permalink
Updated XCFA Bounded Config for new BoundedChecker interface
Browse files Browse the repository at this point in the history
  • Loading branch information
KlevisImeri committed Jan 27, 2025
1 parent 2bc3921 commit 9a8aca4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ constructor(
imcFpSolver.add(Not(img))
if (imcFpSolver.check().isUnsat) {
logger.write(Logger.Level.MAINSTEP, "Safety proven in IMC step\n")
imcFpSolver.popAll()
itpSolver.popAll()
return SafetyResult.safe(EmptyProof.getInstance(), BoundedStatistics(iteration))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ fun getBoundedChecker(
itpSolver =
tryGetSolver(boundedConfig.itpConfig.itpSolver, boundedConfig.itpConfig.validateItpSolver)
?.createItpSolver(),
imcFpSolver =
tryGetSolver(boundedConfig.itpConfig.itpSolver, boundedConfig.itpConfig.validateItpSolver)
?.createSolver(),
imcEnabled = { !boundedConfig.itpConfig.disable },
indSolver =
tryGetSolver(boundedConfig.indConfig.indSolver, boundedConfig.indConfig.validateIndSolver)
Expand Down

0 comments on commit 9a8aca4

Please sign in to comment.