Expand description
The contract IR: an imported function’s annotations, whichever language
they were written in (Viper for .pnk, ACSL for .c). A Term over
parameters, constants and retval, a FnContract per function, and a
ContractTable keyed by the foreign function. The readers produce it;
xta_backend::contract renders it.
Extraction, not summarisation: fic translates what an annotation states and derives nothing itself.
Structs§
- Contract
Table - The contract of each foreign function a program calls that has one. Empty when no called function is annotated.
- FnContract
- The checked contract of one foreign function.