Skip to content

Commit

Permalink
expose PrunedDeclarations
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiomadge committed Oct 3, 2024
1 parent 4efba3d commit 4d2b065
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Source/VCGeneration/Split.cs
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,9 @@ public VerificationRunResult ReadOutcome(int iteration, Checker checker, Verifie
Asserts: Asserts,
CoveredElements: CoveredElements,
ResourceCount: resourceCount,
SolverUsed: (Options as SMTLibSolverOptions)?.Solver);
SolverUsed: (Options as SMTLibSolverOptions)?.Solver,
PrunedDeclarations: PrunedDeclarations
);
callback.OnVCResult(result);

if (Options.VcsDumpSplits)
Expand Down
3 changes: 2 additions & 1 deletion Source/VCGeneration/VerificationRunResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public record VerificationRunResult
List<AssertCmd> Asserts,
IEnumerable<TrackedNodeComponent> CoveredElements,
int ResourceCount,
SolverKind? SolverUsed
SolverKind? SolverUsed,
IReadOnlyList<Declaration> PrunedDeclarations
) {
public void ComputePerAssertOutcomes(out Dictionary<AssertCmd, SolverOutcome> perAssertOutcome,
out Dictionary<AssertCmd, Counterexample> perAssertCounterExamples) {
Expand Down

0 comments on commit 4d2b065

Please sign in to comment.