CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
instrument_contracts.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Instrument Contracts
4
5Author: Daniel Kroening, dkr@amazon.com
6
7\*******************************************************************/
8
11
12#ifndef CPROVER_CPROVER_INSTRUMENT_CONTRACTS_H
13#define CPROVER_CPROVER_INSTRUMENT_CONTRACTS_H
14
15#include <util/irep.h>
16
17#include <optional>
18
20class goto_modelt;
21class namespacet;
22
24
25std::optional<code_with_contract_typet>
26get_contract(const irep_idt &function_identifier, const namespacet &);
27
28#endif // CPROVER_CPOVER_INSTRUMENT_CONTRACTS_H
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition dstring.h:38
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition namespace.h:91
std::optional< code_with_contract_typet > get_contract(const irep_idt &function_identifier, const namespacet &)
void instrument_contracts(goto_modelt &)