CBMC
instrument_contracts.h File Reference

Instrument Given Invariants. More...

#include <util/irep.h>
#include <optional>
+ Include dependency graph for instrument_contracts.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void instrument_contracts (goto_modelt &)
 
std::optional< code_with_contract_typetget_contract (const irep_idt &function_identifier, const namespacet &)
 

Detailed Description

Instrument Given Invariants.

Definition in file instrument_contracts.h.

Function Documentation

◆ get_contract()

std::optional<code_with_contract_typet> get_contract ( const irep_idt function_identifier,
const namespacet ns 
)

Definition at line 27 of file instrument_contracts.cpp.

◆ instrument_contracts()

void instrument_contracts ( goto_modelt goto_model)

Definition at line 552 of file instrument_contracts.cpp.