public void Generate() { foreach (ContractDefinition contract in context.ContractDefinitions) { if (contract.ContractKind == EnumContractKind.LIBRARY && contract.Name.Equals("VeriSol")) { continue; } Dictionary <int, BoogieExpr> houdiniVarMap = HoudiniHelper.GenerateHoudiniVarMapping(contract, context); GenerateHoudiniVarsForContract(contract, houdiniVarMap); GenerateBoogieHarnessForContract(contract, houdiniVarMap); } GenerateModifiers(); foreach (ContractDefinition contract in context.ContractDefinitions) { if (contract.ContractKind == EnumContractKind.LIBRARY && contract.Name.Equals("VeriSol")) { continue; } GenerateCorralChoiceProcForContract(contract); GenerateCorralHarnessForContract(contract); } }
public void Generate() { foreach (ContractDefinition contract in context.ContractDefinitions) { Dictionary <int, BoogieExpr> houdiniVarMap = HoudiniHelper.GenerateHoudiniVarMapping(contract, context); GenerateHoudiniVarsForContract(contract, houdiniVarMap); GenerateBoogieHarnessForContract(contract, houdiniVarMap); } GenerateModifiers(); foreach (ContractDefinition contract in context.ContractDefinitions) { GenerateCorralChoiceProcForContract(contract); GenerateCorralHarnessForContract(contract); } }