CBMC
smt_object_size.h
Go to the documentation of this file.
1 // Author: Diffblue Ltd.
2 
3 #ifndef CPROVER_SOLVERS_SMT2_INCREMENTAL_SMT_OBJECT_SIZE_H
4 #define CPROVER_SOLVERS_SMT2_INCREMENTAL_SMT_OBJECT_SIZE_H
5 
6 #include <solvers/smt2_incremental/ast/smt_commands.h> // IWYU pragma: keep
7 #include <solvers/smt2_incremental/ast/smt_terms.h> // IWYU pragma: keep
8 
14 struct smt_object_sizet final
15 {
26  smt_commandt make_definition(std::size_t unique_id, smt_termt size) const;
27 };
28 
29 #endif // CPROVER_SOLVERS_SMT2_INCREMENTAL_SMT_OBJECT_SIZE_H
Specifics of how the object size lookup is implemented in SMT terms.
make_applicationt make_application
smt_commandt make_definition(std::size_t unique_id, smt_termt size) const
Makes the command to define the resulting size of calling the object size function with unique_id.
smt_declare_function_commandt declaration
The command for declaring the object size function.