cprover
read_goto_binary.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Read Goto Programs
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_GOTO_PROGRAMS_READ_GOTO_BINARY_H
13 #define CPROVER_GOTO_PROGRAMS_READ_GOTO_BINARY_H
14 
15 #include <list>
16 #include <string>
17 
18 #include <util/optional.h>
19 
20 class goto_modelt;
21 class message_handlert;
22 
24 read_goto_binary(const std::string &filename, message_handlert &);
25 
26 bool is_goto_binary(const std::string &filename, message_handlert &);
27 
34  const std::list<std::string> &file_names,
35  goto_modelt &dest,
36  message_handlert &message_handler);
37 
38 #endif // CPROVER_GOTO_PROGRAMS_READ_GOTO_BINARY_H
nonstd::optional< T > optionalt
Definition: optional.h:35
optionalt< goto_modelt > read_goto_binary(const std::string &filename, message_handlert &)
Read a goto binary from a file, but do not update config.
bool read_objects_and_link(const std::list< std::string > &file_names, goto_modelt &dest, message_handlert &message_handler)
Reads object files and updates the config if any files were read.
bool is_goto_binary(const std::string &filename, message_handlert &)