forked from diffblue/cbmc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request diffblue#2219 from tautschnig/nondet-initializer
nondet_initializer to build deep non-deterministic expressions
- Loading branch information
Showing
22 changed files
with
173 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,12 +21,11 @@ Author: Daniel Kroening, [email protected] | |
#include "java_bytecode_language.h" | ||
#include "java_utils.h" | ||
|
||
#include <util/c_types.h> | ||
#include <util/arith_tools.h> | ||
#include <util/c_types.h> | ||
#include <util/expr_initializer.h> | ||
#include <util/namespace.h> | ||
#include <util/std_expr.h> | ||
|
||
#include <linking/zero_initializer.h> | ||
#include <util/suffix.h> | ||
|
||
class java_bytecode_convert_classt:public messaget | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ Author: Daniel Kroening, [email protected] | |
|
||
#include <util/arith_tools.h> | ||
#include <util/c_types.h> | ||
#include <util/expr_initializer.h> | ||
#include <util/ieee_float.h> | ||
#include <util/invariant.h> | ||
#include <util/namespace.h> | ||
|
@@ -32,8 +33,6 @@ Author: Daniel Kroening, [email protected] | |
#include <util/std_expr.h> | ||
#include <util/string2int.h> | ||
|
||
#include <linking/zero_initializer.h> | ||
|
||
#include <goto-programs/cfg.h> | ||
#include <goto-programs/class_hierarchy.h> | ||
#include <goto-programs/resolve_inherited_component.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,10 +12,9 @@ Author: Daniel Kroening, [email protected] | |
#include "java_bytecode_typecheck.h" | ||
|
||
#include <util/arith_tools.h> | ||
#include <util/expr_initializer.h> | ||
#include <util/unicode.h> | ||
|
||
#include <linking/zero_initializer.h> | ||
|
||
#include "java_pointer_casts.h" | ||
#include "java_types.h" | ||
#include "java_utils.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,15 +8,14 @@ Author: Daniel Kroening, [email protected] | |
|
||
#include "java_object_factory.h" | ||
|
||
#include <util/expr_initializer.h> | ||
#include <util/fresh_symbol.h> | ||
#include <util/nondet_bool.h> | ||
#include <util/pointer_offset_size.h> | ||
|
||
#include <goto-programs/class_identifier.h> | ||
#include <goto-programs/goto_functions.h> | ||
|
||
#include <linking/zero_initializer.h> | ||
|
||
#include "generic_parameter_specialization_map_keys.h" | ||
#include "java_root_class.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,8 @@ Author: Chris Smowton, [email protected] | |
#include "java_types.h" | ||
#include "java_utils.h" | ||
|
||
#include <linking/zero_initializer.h> | ||
|
||
#include <util/arith_tools.h> | ||
#include <util/expr_initializer.h> | ||
#include <util/namespace.h> | ||
#include <util/unicode.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ Author: Daniel Kroening, [email protected] | |
#include "c_typecheck_base.h" | ||
|
||
#include <util/config.h> | ||
#include <util/expr_initializer.h> | ||
|
||
#include "ansi_c_declaration.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,14 +14,13 @@ Author: Daniel Kroening, [email protected] | |
#include <util/arith_tools.h> | ||
#include <util/c_types.h> | ||
#include <util/cprover_prefix.h> | ||
#include <util/expr_initializer.h> | ||
#include <util/prefix.h> | ||
#include <util/simplify_expr.h> | ||
#include <util/std_types.h> | ||
#include <util/string_constant.h> | ||
#include <util/type_eq.h> | ||
|
||
#include <linking/zero_initializer.h> | ||
|
||
#include "anonymous_member.h" | ||
|
||
void c_typecheck_baset::do_initializer( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,10 +14,10 @@ Author: Daniel Kroening, [email protected] | |
#include <algorithm> | ||
|
||
#include <util/arith_tools.h> | ||
#include <util/expr_initializer.h> | ||
#include <util/source_location.h> | ||
#include <util/symbol.h> | ||
|
||
#include <linking/zero_initializer.h> | ||
#include <ansi-c/c_typecast.h> | ||
|
||
#include "expr2cpp.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,12 +19,11 @@ Author: Daniel Kroening, [email protected] | |
#include <util/base_type.h> | ||
#include <util/c_types.h> | ||
#include <util/config.h> | ||
#include <util/expr_initializer.h> | ||
#include <util/pointer_offset_size.h> | ||
|
||
#include <ansi-c/c_qualifiers.h> | ||
|
||
#include <linking/zero_initializer.h> | ||
|
||
#include "cpp_exception_id.h" | ||
#include "cpp_type2name.h" | ||
#include "expr2cpp.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,10 +13,9 @@ Author: Daniel Kroening, [email protected] | |
|
||
#include <util/arith_tools.h> | ||
#include <util/c_types.h> | ||
#include <util/expr_initializer.h> | ||
#include <util/pointer_offset_size.h> | ||
|
||
#include <linking/zero_initializer.h> | ||
|
||
/// Initialize an object with a value | ||
void cpp_typecheckt::convert_initializer(symbolt &symbol) | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,14 +14,14 @@ Author: Kareem Khazem <[email protected]>, 2017 | |
|
||
#include <util/arith_tools.h> | ||
#include <util/c_types.h> | ||
#include <util/expr_initializer.h> | ||
#include <util/magic.h> | ||
#include <util/run.h> | ||
#include <util/tempfile.h> | ||
|
||
#include <json/json_parser.h> | ||
|
||
#include <linking/static_lifetime_init.h> | ||
#include <linking/zero_initializer.h> | ||
|
||
#include <goto-programs/read_goto_binary.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,11 @@ Author: Daniel Kroening, [email protected] | |
#include <util/arith_tools.h> | ||
#include <util/c_types.h> | ||
#include <util/cprover_prefix.h> | ||
#include <util/expr_initializer.h> | ||
#include <util/pointer_offset_size.h> | ||
#include <util/rational.h> | ||
#include <util/rational_tools.h> | ||
|
||
#include <linking/zero_initializer.h> | ||
|
||
#include <langapi/language_util.h> | ||
|
||
#include "format_strings.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,13 +13,12 @@ Author: Daniel Kroening, [email protected] | |
|
||
#include <util/arith_tools.h> | ||
#include <util/c_types.h> | ||
#include <util/expr_initializer.h> | ||
#include <util/invariant_utils.h> | ||
#include <util/pointer_offset_size.h> | ||
#include <util/simplify_expr.h> | ||
#include <util/string2int.h> | ||
|
||
#include <linking/zero_initializer.h> | ||
|
||
inline static typet c_sizeof_type_rec(const exprt &expr) | ||
{ | ||
const irept &sizeof_type=expr.find(ID_C_c_sizeof_type); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ Author: Daniel Kroening, [email protected] | |
|
||
#include "goto_symex.h" | ||
|
||
#include <linking/zero_initializer.h> | ||
#include <util/expr_initializer.h> | ||
|
||
void goto_symext::symex_start_thread(statet &state) | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
ansi-c # should go away | ||
goto-programs | ||
langapi # should go away | ||
linking | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,19 +11,17 @@ Author: Daniel Kroening, [email protected] | |
#include <cassert> | ||
#include <cstdlib> | ||
|
||
#include <util/namespace.h> | ||
#include <util/std_expr.h> | ||
#include <util/arith_tools.h> | ||
#include <util/std_code.h> | ||
#include <util/c_types.h> | ||
#include <util/config.h> | ||
#include <util/expr_initializer.h> | ||
#include <util/namespace.h> | ||
#include <util/prefix.h> | ||
|
||
#include <util/c_types.h> | ||
#include <util/std_code.h> | ||
#include <util/std_expr.h> | ||
|
||
#include <goto-programs/goto_functions.h> | ||
|
||
#include "zero_initializer.h" | ||
|
||
bool static_lifetime_init( | ||
symbol_tablet &symbol_table, | ||
const source_locationt &source_location, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.