CBMC
|
Back to top Code Contracts Transformation Specification
If the function to be checked is potentially recursive, we generate the wrapper function body such that the first call triggers the contract checking logic described in Checking a Contract Against a Function, and any subsequent call triggers the contract replacement logic described in Replacing a Function by a Contract :
Prev | Next |
---|---|
Checking a Contract Against a Recursive Function | Replacing a Function by a Contract |