cprover
function_modifies.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Modifies
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_GOTO_INSTRUMENT_FUNCTION_MODIFIES_H
13 #define CPROVER_GOTO_INSTRUMENT_FUNCTION_MODIFIES_H
14 
17 
19 {
20 public:
21  explicit function_modifiest(const goto_functionst &_goto_functions):
22  goto_functions(_goto_functions)
23  {
24  }
25 
26  typedef std::set<exprt> modifiest;
27 
28  void get_modifies(
29  const local_may_aliast &local_may_alias,
31  modifiest &);
32 
34  const exprt &,
35  modifiest &);
36 
37  void operator()(const exprt &function, modifiest &modifies)
38  {
39  get_modifies_function(function, modifies);
40  }
41 
42 protected:
44 
45  typedef std::map<irep_idt, modifiest> function_mapt;
47 };
48 
49 #endif // CPROVER_GOTO_INSTRUMENT_FUNCTION_MODIFIES_H
function_modifiest
Definition: function_modifies.h:19
function_modifiest::operator()
void operator()(const exprt &function, modifiest &modifies)
Definition: function_modifies.h:37
function_modifiest::function_map
function_mapt function_map
Definition: function_modifies.h:46
exprt
Base class for all expressions.
Definition: expr.h:53
function_modifiest::goto_functions
const goto_functionst & goto_functions
Definition: function_modifies.h:43
local_may_aliast
Definition: local_may_alias.h:26
local_may_alias.h
Field-insensitive, location-sensitive may-alias analysis.
function_modifiest::function_modifiest
function_modifiest(const goto_functionst &_goto_functions)
Definition: function_modifies.h:21
goto_functionst
A collection of goto functions.
Definition: goto_functions.h:23
function_modifiest::get_modifies
void get_modifies(const local_may_aliast &local_may_alias, const goto_programt::const_targett, modifiest &)
Definition: function_modifies.cpp:18
goto_functions.h
Goto Programs with Functions.
goto_programt::const_targett
instructionst::const_iterator const_targett
Definition: goto_program.h:580
function_modifiest::function_mapt
std::map< irep_idt, modifiest > function_mapt
Definition: function_modifies.h:45
function_modifiest::modifiest
std::set< exprt > modifiest
Definition: function_modifies.h:26
function_modifiest::get_modifies_function
void get_modifies_function(const exprt &, modifiest &)
Definition: function_modifies.cpp:45