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