Implementation Outline Sample Clauses

Implementation Outline. We implemented the extensible contract verifier by using a strategy to verify whether a contract condition in COW is satisfied by the information from the results of program analysis. Whether the condition is satisfied can be verified as a sufficiency possibility of predicate logic; the sufficiency possibility can be verified using a Prolog interpreter. We can verify a contract condition automatically by translating the results of program analysis to facts in Prolog, by giving a Java AspectJ structure structure flow graph flow graph Before weave After weave AA-lib Program analysis Primitive predicate factory + toFacts (r: ProgramAnalysisResult): PrologFacts + toRule (): PrologRule Prolog rule Registration and facts Prolog rule and facts Primitive predicate Extension part database COW CAVE Prolog question Verification result GNU Prolog