@@ -134,7 +134,7 @@ class code_contractst
134134
135135 // / Inserts an assertion into the goto program to ensure that
136136 // / an expression is within the assignable memory frame.
137- void add_containment_check (
137+ void add_inclusion_check (
138138 goto_programt &,
139139 const assigns_clauset &,
140140 goto_programt::instructionst::iterator &,
@@ -144,19 +144,17 @@ class code_contractst
144144 // / a goto statement that jumps back.
145145 bool check_for_looped_mallocs (const goto_programt &program);
146146
147- // / Inserts an assertion statement into program before the assignment
147+ // / Inserts an assertion into program immediately before the assignment
148148 // / instruction_it, to ensure that the left-hand-side of the assignment
149- // / aliases some expression in original_references, unless it is contained
150- // / in freely assignable set.
149+ // / is "included" in the (conditional address ranges in the) write set.
151150 void instrument_assign_statement (
152151 goto_programt::instructionst::iterator &,
153152 goto_programt &,
154153 assigns_clauset &);
155154
156- // / Inserts an assertion statement into program before the function call at
157- // / ins_it, to ensure that any memory which may be written by the call is
158- // / aliased by some expression in assigns_references, unless it is contained
159- // / in freely assignable set.
155+ // / Inserts an assertion into program immediately before the function call at
156+ // / instruction_it, to ensure that all memory locations written to by the
157+ // callee are "included" in the (conditional address ranges in the) write set.
160158 void instrument_call_statement (
161159 goto_programt::instructionst::iterator &,
162160 const irep_idt &,
0 commit comments