cprover
Loading...
Searching...
No Matches
dfcc_is_fresh.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Dynamic frame condition checking for function contracts
4
5Author: Remi Delmas, delmasrd@amazon.com
6Date: August 2022
7
8\*******************************************************************/
9
13
14#ifndef CPROVER_GOTO_INSTRUMENT_CONTRACTS_DYNAMIC_FRAMES_DFCC_IS_FRESH_H
15#define CPROVER_GOTO_INSTRUMENT_CONTRACTS_DYNAMIC_FRAMES_DFCC_IS_FRESH_H
16
17#include <util/message.h>
18
20
21class goto_modelt;
23class dfcc_libraryt;
24class dfcc_cfg_infot;
25class exprt;
26
30{
31public:
35
39 void rewrite_calls(goto_programt &program, dfcc_cfg_infot &cfg_info);
40
45 void rewrite_calls(
46 goto_programt &program,
47 goto_programt::targett first_instruction,
48 const goto_programt::targett &last_instruction,
49 dfcc_cfg_infot &cfg_info);
50
51protected:
55};
56
57#endif
Computes natural loops, enforces normal form conditions, computes the nesting graph,...
message_handlert & message_handler
dfcc_libraryt & library
void rewrite_calls(goto_programt &program, dfcc_cfg_infot &cfg_info)
Rewrites calls to is_fresh predicates into calls to the library implementation in the given program,...
dfcc_is_fresht(dfcc_libraryt &library, message_handlert &message_handler)
Class interface to library types and functions defined in cprover_contracts.c.
Base class for all expressions.
Definition expr.h:56
A generic container class for the GOTO intermediate representation of one function.
instructionst::iterator targett
Class that provides messages with a built-in verbosity 'level'.
Definition message.h:154
Concrete Goto Program.