@@ -176,6 +176,7 @@ class java_object_factoryt
176
176
// / \param allocate_type: type of the object allocated
177
177
// / \param symbol_table: symbol table
178
178
// / \param loc: location in the source
179
+ // / \param function_id: function ID to associate with auxiliary variables
179
180
// / \param output_code: code block to which the necessary code is added
180
181
// / \param symbols_created: created symbols to be declared by the caller
181
182
// / \param cast_needed: Boolean flags saying where we need to cast the malloc
@@ -242,6 +243,7 @@ exprt allocate_dynamic_object(
242
243
// / allocated
243
244
// / \param symbol_table: symbol table
244
245
// / \param loc: location in the source
246
+ // / \param function_id: function ID to associate with auxiliary variables
245
247
// / \param output_code: code block to which the necessary code is added
246
248
// / \return the dynamic object created
247
249
exprt allocate_dynamic_object_with_decl (
@@ -392,6 +394,8 @@ code_assignt java_object_factoryt::get_null_assignment(
392
394
// / NO_UPDATE_IN_PLACE: initialize `expr` from scratch
393
395
// / MUST_UPDATE_IN_PLACE: reinitialize an existing object
394
396
// / MAY_UPDATE_IN_PLACE: invalid input
397
+ // / \param location:
398
+ // / Source location associated with nondet-initialization.
395
399
void java_object_factoryt::gen_pointer_target_init (
396
400
code_blockt &assignments,
397
401
const exprt &expr,
@@ -707,6 +711,8 @@ bool initialize_nondet_string_fields(
707
711
// / * MAY_UPDATE_IN_PLACE: generate a runtime nondet branch between the NO_
708
712
// / and MUST_ cases.
709
713
// / * MUST_UPDATE_IN_PLACE: reinitialize an existing object
714
+ // / \param location:
715
+ // / Source location associated with nondet-initialization.
710
716
void java_object_factoryt::gen_nondet_pointer_init (
711
717
code_blockt &assignments,
712
718
const exprt &expr,
@@ -930,6 +936,8 @@ void java_object_factoryt::gen_nondet_pointer_init(
930
936
// / \param depth:
931
937
// / Number of times that a pointer has been dereferenced from the root of the
932
938
// / object tree that we are initializing.
939
+ // / \param location:
940
+ // / Source location associated with nondet-initialization.
933
941
// / \return
934
942
// / A symbol expression of type \p replacement_pointer corresponding to a
935
943
// / pointer to object `tmp_object` (see above).
@@ -994,6 +1002,8 @@ symbol_exprt java_object_factoryt::gen_nondet_subtype_pointer_init(
994
1002
// / NO_UPDATE_IN_PLACE: initialize `expr` from scratch
995
1003
// / MUST_UPDATE_IN_PLACE: reinitialize an existing object
996
1004
// / MAY_UPDATE_IN_PLACE: invalid input
1005
+ // / \param location:
1006
+ // / Source location associated with nondet-initialization.
997
1007
void java_object_factoryt::gen_nondet_struct_init (
998
1008
code_blockt &assignments,
999
1009
const exprt &expr,
@@ -1159,6 +1169,8 @@ void java_object_factoryt::gen_nondet_struct_init(
1159
1169
// / MAY_UPDATE_IN_PLACE: generate a runtime nondet branch between the NO_
1160
1170
// / and MUST_ cases.
1161
1171
// / MUST_UPDATE_IN_PLACE: reinitialize an existing object
1172
+ // / \param location:
1173
+ // / Source location associated with nondet-initialization.
1162
1174
void java_object_factoryt::gen_nondet_init (
1163
1175
code_blockt &assignments,
1164
1176
const exprt &expr,
@@ -1307,6 +1319,8 @@ const symbol_exprt java_object_factoryt::gen_nondet_int_init(
1307
1319
// / \param element_type:
1308
1320
// / Actual element type of the array (the array for all reference types will
1309
1321
// / have void* type, but this will be annotated as the true member type).
1322
+ // / \param location:
1323
+ // / Source location associated with nondet-initialization.
1310
1324
// / \return Appends instructions to `assignments`
1311
1325
void java_object_factoryt::allocate_nondet_length_array (
1312
1326
code_blockt &assignments,
0 commit comments