@@ -93,8 +93,9 @@ class smt2_incremental_decision_proceduret final
93
93
// / \note This function is non-const because it mutates the object_map.
94
94
smt_termt convert_expr_to_smt (const exprt &expr);
95
95
void define_index_identifiers (const exprt &expr);
96
- // / Sends the solver the definitions of the object sizes.
97
- void define_object_sizes ();
96
+ // / Sends the solver the definitions of the object sizes and dynamic memory
97
+ // / statuses.
98
+ void define_object_properties ();
98
99
99
100
// / Namespace for looking up the expressions which symbol_exprts relate to.
100
101
// / This includes the symbols defined outside of the decision procedure but
@@ -150,12 +151,12 @@ class smt2_incremental_decision_proceduret final
150
151
// / This map is used to track object related state. See documentation in
151
152
// / object_tracking.h for details.
152
153
smt_object_mapt object_map;
153
- // / The size of each object is separately defined as a pre-solving step.
154
- // / `object_size_defined [object ID]` is set to true for objects where the size
155
- // / has been defined. This is used to avoid defining the size of the same
156
- // / object multiple times in the case where multiple rounds of solving are
157
- // / carried out.
158
- std::vector<bool > object_size_defined ;
154
+ // / The size of each object and the dynamic object stus is separately defined
155
+ // / as a pre-solving step. `object_properties_defined [object ID]` is set to
156
+ // / true for objects where the size has been defined. This is used to avoid
157
+ // / defining the size of the same object multiple times in the case where
158
+ // / multiple rounds of solving are carried out.
159
+ std::vector<bool > object_properties_defined ;
159
160
// / Implementation of the SMT formula for the object size function. This is
160
161
// / stateful because it depends on the configuration of the number of object
161
162
// / bits and how many bits wide the size type is configured to be.
0 commit comments