File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,11 @@ class goto_checkt
79
79
const irep_idt &function_identifier,
80
80
goto_functiont &goto_function);
81
81
82
+ // / Fill the list of allocations \ref allocationst with <address, size> for
83
+ // / every allocation instruction. Also check that each allocation is
84
+ // / well-formed.
85
+ // / \param goto_functions: goto functions from which the allocations are to be
86
+ // / collected
82
87
void collect_allocations (const goto_functionst &goto_functions);
83
88
84
89
protected:
@@ -135,7 +140,15 @@ class goto_checkt
135
140
// / \param guard: the condition for the check (unmodified here)
136
141
void check_rec_arithmetic_op (const exprt &expr, guardt &guard);
137
142
143
+ // / Recursively descend into \p expr and run the appropriate check for each
144
+ // / sub-expression, while collecting the condition for the check in \p
145
+ // / guard.
146
+ // / \param expr: the expression to be checked
147
+ // / \param guard: the condition for when the check should be made
138
148
void check_rec (const exprt &expr, guardt &guard);
149
+
150
+ // / Initiate the recursively analysis of \p expr with its `guard' set to TRUE.
151
+ // / \param expr: the expression to be checked
139
152
void check (const exprt &expr);
140
153
141
154
struct conditiont
You can’t perform that action at this time.
0 commit comments