We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b5334f commit 47cda1cCopy full SHA for 47cda1c
jbmc/src/java_bytecode/java_entry_point.cpp
@@ -185,8 +185,12 @@ exprt::operandst java_build_arguments(
185
bool is_this=(param_number==0) && parameters[param_number].get_this();
186
187
object_factory_parameterst parameters = object_factory_parameters;
188
- if(assume_init_pointers_not_null || is_main || is_this)
+ // only pointer must be non-null
189
+ if(assume_init_pointers_not_null || is_this)
190
parameters.max_nonnull_tree_depth = 1;
191
+ // in main() also the array elements of the argument must be non-null
192
+ if(is_main)
193
+ parameters.max_nonnull_tree_depth = 2;
194
195
196
parameters.function_id = goto_functionst::entry_point();
0 commit comments