-
Notifications
You must be signed in to change notification settings - Fork 273
Recursive nondet init of pointers to structs [blocks: #3443] #3251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
493fcda
f0a7f1f
d92e817
19effd3
7f95dd8
d4e14c2
fac59a8
8722822
a481241
0b605ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,9 +13,9 @@ Author: Daniel Kroening, [email protected] | |
#include "ci_lazy_methods.h" | ||
#include "ci_lazy_methods_needed.h" | ||
#include "java_class_loader.h" | ||
#include "java_object_factory_parameters.h" | ||
#include "java_static_initializers.h" | ||
#include "java_string_library_preprocess.h" | ||
#include "object_factory_parameters.h" | ||
#include "select_pointer_type.h" | ||
#include "synthetic_methods_map.h" | ||
|
||
|
@@ -179,7 +179,7 @@ class java_bytecode_languaget:public languaget | |
java_class_loadert java_class_loader; | ||
bool threading_support; | ||
bool assume_inputs_non_null; // assume inputs variables to be non-null | ||
object_factory_parameterst object_factory_parameters; | ||
java_object_factory_parameterst object_factory_parameters; | ||
size_t max_user_array_length; // max size for user code created arrays | ||
method_bytecodet method_bytecode; | ||
lazy_methods_modet lazy_methods_mode; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/*******************************************************************\ | ||
|
||
Module: | ||
|
||
Author: Daniel Poetzl | ||
|
||
\*******************************************************************/ | ||
|
||
#include "java_object_factory_parameters.h" | ||
|
||
void parse_java_object_factory_options( | ||
const cmdlinet &cmdline, | ||
optionst &options) | ||
{ | ||
parse_object_factory_options(cmdline, options); | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/*******************************************************************\ | ||
|
||
Module: | ||
|
||
Author: Daniel Poetzl | ||
|
||
\*******************************************************************/ | ||
|
||
#ifndef CPROVER_JAVA_BYTECODE_JAVA_OBJECT_FACTORY_PARAMETERS_H | ||
#define CPROVER_JAVA_BYTECODE_JAVA_OBJECT_FACTORY_PARAMETERS_H | ||
|
||
#include <util/object_factory_parameters.h> | ||
|
||
struct java_object_factory_parameterst final : public object_factory_parameterst | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why this if they are the same? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This would be a place to add options in the future that are not common to both the C and Java object factory. For C at least we expect some special options (e.g., to indicate which length function argument corresponds to which array function arguments). |
||
{ | ||
java_object_factory_parameterst() | ||
{ | ||
} | ||
|
||
explicit java_object_factory_parameterst(const optionst &options) | ||
: object_factory_parameterst(options) | ||
{ | ||
} | ||
}; | ||
|
||
/// Parse the java object factory parameters from a given command line | ||
/// \param cmdline Command line | ||
/// \param [out] options The options object that will be updated | ||
void parse_java_object_factory_options( | ||
const cmdlinet &cmdline, | ||
optionst &options); | ||
|
||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this in a commit called "move object factory parameters to util"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, renamed the commit to "Move object factory parameters to util and add java object factory parameters" (plus a body with some more details).