public SemanticSlicer(Microsoft.Boogie.Implementation implementation, Microsoft.Boogie.Program boogieProgram) { Debug.Assert(implementation != null); Debug.Assert(boogieProgram != null); this.implementation = implementation; this.boogieProgram = boogieProgram; }
/// <summary> /// Verifies the program and returns the errors. /// </summary> /// <param name="assignments">The assignements</param> /// <returns>The errors.</returns> private IEnumerable <RepairableError> VerifyProgram(Dictionary <string, bool> assignments) { Microsoft.Boogie.Program program = constraintGenerator.ConstraintProgram(assignments); IEnumerable <RepairableError> current_errors; using (Watch watch = new Watch(Measure.Verification)) { Verifier verifier = new Verifier(program, assignments); current_errors = verifier.GetErrors(); } return(current_errors); }
public bool RunOn(Microsoft.Boogie.Program prog, Transform.PassInfo passInfo) { return(false); }