From 33e5c8b758aee40b7e74bc8fc383b762c0d6a237 Mon Sep 17 00:00:00 2001 From: Julien Signoles <julien.signoles@cea.fr> Date: Wed, 19 Dec 2012 09:52:10 +0000 Subject: [PATCH] [E-ACSL] update according to kenel's changes --- .../e-acsl-runtime/oracle/addrOf.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/addrOf.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/arith.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/arith.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/array.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/array.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/at.1.res.oracle | 47 ++++--- .../tests/e-acsl-runtime/oracle/at.res.oracle | 47 ++++--- .../oracle/bts1304.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/bts1304.res.oracle | 47 ++++--- .../oracle/bts1307.1.res.oracle | 115 +++++++++--------- .../e-acsl-runtime/oracle/bts1307.res.oracle | 115 +++++++++--------- .../oracle/bts1324.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/bts1324.res.oracle | 98 ++++++++------- .../oracle/bts1326.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/bts1326.res.oracle | 98 ++++++++------- .../e-acsl-runtime/oracle/cast.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/cast.res.oracle | 47 ++++--- .../oracle/comparison.1.res.oracle | 47 ++++--- .../oracle/comparison.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/empty.1.res.oracle | 43 +++++-- .../e-acsl-runtime/oracle/empty.res.oracle | 43 +++++-- .../e-acsl-runtime/oracle/false.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/false.res.oracle | 47 ++++--- .../oracle/function_contract.1.res.oracle | 47 ++++--- .../oracle/function_contract.res.oracle | 47 ++++--- .../tests/e-acsl-runtime/oracle/gen_addrOf.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_addrOf2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_arith.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_arith2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_array.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_array2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_at.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_at2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_bts1304.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_bts13042.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_bts1307.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_bts13072.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_bts1324.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_bts13242.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_bts1326.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_bts13262.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_cast.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_cast2.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_comparison.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_comparison2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_false.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_false2.c | 43 +++++-- .../oracle/gen_function_contract.c | 43 +++++-- .../oracle/gen_function_contract2.c | 43 +++++-- .../oracle/gen_integer_constant.c | 43 +++++-- .../oracle/gen_integer_constant2.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_invariant.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_invariant2.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_labeled_stmt.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_labeled_stmt2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_lazy.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_lazy2.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_linear_search.c | 43 +++++-- .../oracle/gen_linear_search2.c | 43 +++++-- .../oracle/gen_literal_string.c | 43 +++++-- .../oracle/gen_literal_string2.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_localvar.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_localvar2.c | 43 +++++-- .../oracle/gen_nested_code_annot.c | 43 +++++-- .../oracle/gen_nested_code_annot2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_not.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_not2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_null.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_null2.c | 43 +++++-- .../oracle/gen_other_constants.c | 43 +++++-- .../oracle/gen_other_constants2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_ptr.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_ptr2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_quantif.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_quantif2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_result.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_result2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_sizeof.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_sizeof2.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_stmt_contract.c | 43 +++++-- .../oracle/gen_stmt_contract2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_true.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_true2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_typedef.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_typedef2.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_valid.c | 43 +++++-- .../tests/e-acsl-runtime/oracle/gen_valid2.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_valid_alias.c | 43 +++++-- .../e-acsl-runtime/oracle/gen_valid_alias2.c | 43 +++++-- .../oracle/gen_valid_in_contract.c | 43 +++++-- .../oracle/gen_valid_in_contract2.c | 43 +++++-- .../oracle/integer_constant.1.res.oracle | 47 ++++--- .../oracle/integer_constant.res.oracle | 47 ++++--- .../oracle/invariant.1.res.oracle | 47 ++++--- .../oracle/invariant.res.oracle | 47 ++++--- .../oracle/labeled_stmt.1.res.oracle | 47 ++++--- .../oracle/labeled_stmt.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/lazy.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/lazy.res.oracle | 47 ++++--- .../oracle/linear_search.1.res.oracle | 47 ++++--- .../oracle/linear_search.res.oracle | 47 ++++--- .../oracle/literal_string.1.res.oracle | 81 ++++++------ .../oracle/literal_string.res.oracle | 81 ++++++------ .../oracle/localvar.1.res.oracle | 98 ++++++++------- .../e-acsl-runtime/oracle/localvar.res.oracle | 98 ++++++++------- .../oracle/nested_code_annot.1.res.oracle | 47 ++++--- .../oracle/nested_code_annot.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/not.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/not.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/null.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/null.res.oracle | 47 ++++--- .../oracle/other_constants.1.res.oracle | 47 ++++--- .../oracle/other_constants.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/ptr.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/ptr.res.oracle | 81 ++++++------ .../oracle/quantif.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/quantif.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/result.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/result.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/sizeof.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/sizeof.res.oracle | 47 ++++--- .../oracle/stmt_contract.1.res.oracle | 47 ++++--- .../oracle/stmt_contract.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/true.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/true.res.oracle | 47 ++++--- .../oracle/typedef.1.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/typedef.res.oracle | 47 ++++--- .../e-acsl-runtime/oracle/valid.1.res.oracle | 98 ++++++++------- .../e-acsl-runtime/oracle/valid.res.oracle | 98 ++++++++------- .../oracle/valid_alias.1.res.oracle | 81 ++++++------ .../oracle/valid_alias.res.oracle | 81 ++++++------ .../oracle/valid_in_contract.1.res.oracle | 47 ++++--- .../oracle/valid_in_contract.res.oracle | 47 ++++--- src/plugins/e-acsl/visit.ml | 11 +- 135 files changed, 4713 insertions(+), 1936 deletions(-) diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/addrOf.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/addrOf.1.res.oracle index daecd9511d6..a81051e28cb 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/addrOf.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/addrOf.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/addrOf.i:9:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. [value] using specification for function __clean diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/addrOf.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/addrOf.res.oracle index daecd9511d6..a81051e28cb 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/addrOf.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/addrOf.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/addrOf.i:9:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. [value] using specification for function __clean diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/arith.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/arith.1.res.oracle index c76115e3ed0..62005141056 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/arith.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/arith.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/arith.i:12:[value] Assertion got status valid. [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/arith.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/arith.res.oracle index c724faa0bad..e8bc4677354 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/arith.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/arith.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/arith.i:12:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. tests/e-acsl-runtime/arith.i:13:[value] Assertion got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/array.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/array.1.res.oracle index e04a5c134d2..cc335b07b26 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/array.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/array.1.res.oracle @@ -9,24 +9,43 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} T1[0..2] ∈ {0} T2[0..3] ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/array.i:12:[value] entering loop for the first time tests/e-acsl-runtime/array.i:13:[value] entering loop for the first time tests/e-acsl-runtime/array.i:15:[value] Assertion got status unknown. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/array.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/array.res.oracle index e39bd34248d..de7c9451719 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/array.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/array.res.oracle @@ -9,24 +9,43 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} T1[0..2] ∈ {0} T2[0..3] ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/array.i:12:[value] entering loop for the first time tests/e-acsl-runtime/array.i:13:[value] entering loop for the first time tests/e-acsl-runtime/array.i:15:[value] Assertion got status unknown. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/at.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/at.1.res.oracle index f624fcec6c7..4f007264e05 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/at.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/at.1.res.oracle @@ -9,23 +9,42 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} A ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init [value] using specification for function __gmpz_init_set_si diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/at.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/at.res.oracle index ea6731c7ef5..13fd405bed1 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/at.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/at.res.oracle @@ -9,23 +9,42 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} A ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init tests/e-acsl-runtime/at.i:45:[value] Assertion got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1304.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1304.1.res.oracle index 115671f1a74..3793a84bc78 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1304.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1304.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block tests/e-acsl-runtime/bts1304.i:23:[value] entering loop for the first time [value] using specification for function __full_init diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1304.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1304.res.oracle index 115671f1a74..3793a84bc78 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1304.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1304.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block tests/e-acsl-runtime/bts1304.i:23:[value] entering loop for the first time [value] using specification for function __full_init diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1307.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1307.1.res.oracle index 17e1deb75fd..7b1f3ea22ea 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1307.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1307.1.res.oracle @@ -14,22 +14,41 @@ tests/e-acsl-runtime/bts1307.i:25:[e-acsl] warning: missing guard for ensuring t [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init tests/e-acsl-runtime/bts1307.i:7:[value] Function foo: precondition got status valid. @@ -77,56 +96,36 @@ tests/e-acsl-runtime/bts1307.i:25:[value] Function bar, behavior UnderEstimate_M [value] done for function main [value] ====== VALUES COMPUTED ====== [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function bar: h ∈ 0.850000023842 - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function foo: h ∈ 6. - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function main: f ∈ 1. g ∈ 1. h ∈ 0.850000023842 __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1307.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1307.res.oracle index aa96b812135..8f51dba446f 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1307.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1307.res.oracle @@ -12,22 +12,41 @@ tests/e-acsl-runtime/bts1307.i:31:[e-acsl] approximating a real number by a floa [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init tests/e-acsl-runtime/bts1307.i:7:[value] Function foo: precondition got status valid. @@ -56,56 +75,36 @@ tests/e-acsl-runtime/bts1307.i:25:[value] Function bar, behavior UnderEstimate_M [value] done for function main [value] ====== VALUES COMPUTED ====== [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function bar: h ∈ 0.850000023842 - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function foo: h ∈ 6. - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function main: f ∈ 1. g ∈ 1. h ∈ 0.850000023842 __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1324.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1324.1.res.oracle index a47699ae928..c7ea13f829c 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1324.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1324.1.res.oracle @@ -11,22 +11,41 @@ tests/e-acsl-runtime/bts1324.i:8:[e-acsl] warning: missing guard for ensuring th [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __initialize [value] using specification for function __full_init diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1324.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1324.res.oracle index 5a4cb632cc2..afa12fdb7f6 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1324.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1324.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __initialize [value] using specification for function __full_init @@ -45,31 +64,21 @@ tests/e-acsl-runtime/bts1324.i:25:[value] Assertion got status valid. [value] done for function main [value] ====== VALUES COMPUTED ====== [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function sorted: b ∈ [7..15] __retres ∈ {1} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function main: t[0] ∈ {1} [1..2] ∈ {4} @@ -77,14 +86,9 @@ tests/e-acsl-runtime/bts1324.i:25:[value] Assertion got status valid. [6] ∈ {7} n ∈ {1} __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1326.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1326.1.res.oracle index acc5c6e9a98..23804b81b98 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1326.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1326.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __initialize [value] using specification for function __full_init diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1326.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1326.res.oracle index df9117a1682..f1edd091793 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1326.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/bts1326.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __initialize [value] using specification for function __full_init @@ -44,30 +63,20 @@ tests/e-acsl-runtime/bts1326.i:10:[value] Function atp_NORMAL_computeAverageAcce [value] done for function main [value] ====== VALUES COMPUTED ====== [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function atp_NORMAL_computeAverageAccel: av ∈ {3} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function main: Accel[0] ∈ {1} [1] ∈ {2} @@ -76,14 +85,9 @@ tests/e-acsl-runtime/bts1326.i:10:[value] Function atp_NORMAL_computeAverageAcce [4] ∈ {5} av ∈ {3} __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/cast.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/cast.1.res.oracle index 4890f12680e..56f419d3833 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/cast.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/cast.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/cast.i:12:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. tests/e-acsl-runtime/cast.i:13:[value] Assertion got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/cast.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/cast.res.oracle index bf3faed542b..2224819a1fe 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/cast.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/cast.res.oracle @@ -11,22 +11,41 @@ tests/e-acsl-runtime/cast.i:20:[e-acsl] warning: missing guard for ensuring that [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/cast.i:12:[value] Assertion got status valid. [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/comparison.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/comparison.1.res.oracle index 4fea204e899..56075acd4ad 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/comparison.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/comparison.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/comparison.i:9:[value] Assertion got status valid. [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/comparison.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/comparison.res.oracle index 0bbfc3dba2e..f348e274eb4 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/comparison.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/comparison.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/comparison.i:9:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. tests/e-acsl-runtime/comparison.i:10:[value] Assertion got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/empty.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/empty.1.res.oracle index 4a148eb0e47..6bdeffd2801 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/empty.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/empty.1.res.oracle @@ -13,23 +13,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/empty.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/empty.res.oracle index 4a148eb0e47..6bdeffd2801 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/empty.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/empty.res.oracle @@ -13,23 +13,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/false.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/false.1.res.oracle index eaee6abbe25..ced9c6abbd7 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/false.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/false.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __clean [kernel] warning: Neither code nor specification for function __clean, generating default assigns from the prototype [value] done for function main diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/false.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/false.res.oracle index eaee6abbe25..ced9c6abbd7 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/false.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/false.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __clean [kernel] warning: Neither code nor specification for function __clean, generating default assigns from the prototype [value] done for function main diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/function_contract.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/function_contract.1.res.oracle index 7ab21006a2c..fdf977d75e9 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/function_contract.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/function_contract.1.res.oracle @@ -9,24 +9,43 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} X ∈ {0} Y ∈ {2} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. ./share/e-acsl/e_acsl_gmp.h:63:[value] Function __gmpz_init_set_si: postcondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/function_contract.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/function_contract.res.oracle index 86512f781dd..a5c764ab1a9 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/function_contract.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/function_contract.res.oracle @@ -9,24 +9,43 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} X ∈ {0} Y ∈ {2} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. tests/e-acsl-runtime/function_contract.i:10:[value] Function f: postcondition got status valid. tests/e-acsl-runtime/function_contract.i:14:[value] Function g: postcondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_addrOf.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_addrOf.c index 9c975cf40a3..7096f9e6a7e 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_addrOf.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_addrOf.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_addrOf2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_addrOf2.c index 9c975cf40a3..7096f9e6a7e 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_addrOf2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_addrOf2.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_arith.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_arith.c index cce8ed65b21..b6396a79870 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_arith.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_arith.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_arith2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_arith2.c index 3865941f389..d9443c5ed5e 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_arith2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_arith2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -115,7 +140,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_tdiv_r(__mpz_struct * /*[1]* extern __attribute__((__FC_BUILTIN__)) int __gmpz_com(__mpz_struct * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_array.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_array.c index 9727892edb4..dac3bd20f59 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_array.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_array.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_array2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_array2.c index 7b8f9300f2f..ea597545abb 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_array2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_array2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -40,7 +65,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_clear(__mpz_struct * /*[1]*/ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_at.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_at.c index 2b66b54c966..04f48206435 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_at.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_at.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_at2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_at2.c index 80ca4005974..a6778dd0046 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_at2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_at2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -64,7 +89,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_add(__mpz_struct * /*[1]*/ z __mpz_struct const * /*[1]*/ z2, __mpz_struct const * /*[1]*/ z3); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1304.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1304.c index 931da369873..689b28a39fc 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1304.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1304.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; struct msgA { @@ -39,7 +64,7 @@ union msg { model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = 2147483647UL; +unsigned long const __fc_rand_max = 32767UL; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13042.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13042.c index 931da369873..689b28a39fc 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13042.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13042.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; struct msgA { @@ -39,7 +64,7 @@ union msg { model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = 2147483647UL; +unsigned long const __fc_rand_max = 32767UL; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1307.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1307.c index 1185d08e199..002fb99270a 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1307.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1307.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13072.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13072.c index bc77efcd465..cd61da9f221 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13072.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13072.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -67,7 +92,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_tdiv_q(__mpz_struct * /*[1]* assigns \nothing; */ extern __attribute__((__FC_BUILTIN__)) unsigned long __gmpz_get_ui(__mpz_struct const * /*[1]*/ z); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1324.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1324.c index e76ce706a4b..f597c7a37f5 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1324.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1324.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13242.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13242.c index 1bab1c557f7..fb6b04126d6 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13242.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13242.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -74,7 +99,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_sub(__mpz_struct * /*[1]*/ z assigns \nothing; */ extern __attribute__((__FC_BUILTIN__)) unsigned long __gmpz_get_ui(__mpz_struct const * /*[1]*/ z); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1326.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1326.c index e53a4b2f0f9..ab7e7f8c351 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1326.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts1326.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; typedef int ArrayInt[5]; @@ -24,7 +49,7 @@ typedef int ArrayInt[5]; model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13262.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13262.c index 368f26cba40..324fd2354d4 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13262.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_bts13262.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; typedef int ArrayInt[5]; @@ -65,7 +90,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_tdiv_q(__mpz_struct * /*[1]* __mpz_struct const * /*[1]*/ z2, __mpz_struct const * /*[1]*/ z3); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_cast.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_cast.c index 36d64a59dac..a1c31cd22f3 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_cast.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_cast.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_cast2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_cast2.c index 2cf627edb33..e3463668fc4 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_cast2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_cast2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -62,7 +87,7 @@ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1 assigns \nothing; */ extern __attribute__((__FC_BUILTIN__)) unsigned long __gmpz_get_ui(__mpz_struct const * /*[1]*/ z); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_comparison.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_comparison.c index d3ee38f6b75..3c415478291 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_comparison.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_comparison.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_comparison2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_comparison2.c index 80854e2e1b1..0580afa9425 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_comparison2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_comparison2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -53,7 +78,7 @@ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1 extern __attribute__((__FC_BUILTIN__)) void __gmpz_neg(__mpz_struct * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_false.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_false.c index 4c44a28c32c..04bdbf88ad4 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_false.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_false.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_false2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_false2.c index 4c44a28c32c..04bdbf88ad4 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_false2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_false2.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_function_contract.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_function_contract.c index c3906a3387c..fb3d06da79b 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_function_contract.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_function_contract.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_function_contract2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_function_contract2.c index 8850c513f53..6715f4e20ea 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_function_contract2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_function_contract2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -55,7 +80,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_add(__mpz_struct * /*[1]*/ z __mpz_struct const * /*[1]*/ z2, __mpz_struct const * /*[1]*/ z3); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_integer_constant.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_integer_constant.c index 5f1b6b27afa..4542c0de1ab 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_integer_constant.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_integer_constant.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -41,7 +66,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_clear(__mpz_struct * /*[1]*/ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_integer_constant2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_integer_constant2.c index fb73f92a1d2..824f3bc3229 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_integer_constant2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_integer_constant2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -50,7 +75,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_clear(__mpz_struct * /*[1]*/ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_invariant.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_invariant.c index 2413b739124..931bbfd5e72 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_invariant.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_invariant.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_invariant2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_invariant2.c index 23e88aaa0e4..7ab5273677a 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_invariant2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_invariant2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -40,7 +65,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_clear(__mpz_struct * /*[1]*/ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_labeled_stmt.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_labeled_stmt.c index 90363b43016..e0d444b9277 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_labeled_stmt.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_labeled_stmt.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_labeled_stmt2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_labeled_stmt2.c index b123f842db0..7e1757c6e52 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_labeled_stmt2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_labeled_stmt2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -40,7 +65,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_clear(__mpz_struct * /*[1]*/ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_lazy.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_lazy.c index 54a7466540d..6262fe46925 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_lazy.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_lazy.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_lazy2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_lazy2.c index da8b7fe824d..b876d689308 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_lazy2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_lazy2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -64,7 +89,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_tdiv_q(__mpz_struct * /*[1]* __mpz_struct const * /*[1]*/ z2, __mpz_struct const * /*[1]*/ z3); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_linear_search.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_linear_search.c index 215c74c3727..7b5b8c38d5e 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_linear_search.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_linear_search.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_linear_search2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_linear_search2.c index 1fc26c7fe58..e24624b23a8 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_linear_search2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_linear_search2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -65,7 +90,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_add(__mpz_struct * /*[1]*/ z assigns \nothing; */ extern __attribute__((__FC_BUILTIN__)) unsigned long __gmpz_get_ui(__mpz_struct const * /*[1]*/ z); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_literal_string.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_literal_string.c index 188b595eba5..3e6b6675436 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_literal_string.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_literal_string.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_literal_string2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_literal_string2.c index 324d43b95e0..3aa6a652beb 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_literal_string2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_literal_string2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -40,7 +65,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_clear(__mpz_struct * /*[1]*/ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_localvar.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_localvar.c index f263ef08d9f..4c0226e72c7 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_localvar.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_localvar.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; struct list { @@ -27,7 +52,7 @@ struct list { model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_localvar2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_localvar2.c index f263ef08d9f..4c0226e72c7 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_localvar2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_localvar2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; struct list { @@ -27,7 +52,7 @@ struct list { model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_nested_code_annot.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_nested_code_annot.c index b7498aab92c..ea8048f542f 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_nested_code_annot.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_nested_code_annot.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_nested_code_annot2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_nested_code_annot2.c index bfc47bca237..edf02ee3bda 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_nested_code_annot2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_nested_code_annot2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -40,7 +65,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_clear(__mpz_struct * /*[1]*/ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_not.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_not.c index 76953ef7131..8ab5abd84fd 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_not.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_not.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_not2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_not2.c index ab08c786eec..9c1d308da65 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_not2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_not2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -40,7 +65,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_clear(__mpz_struct * /*[1]*/ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_null.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_null.c index 870555842e5..87be28e5bf7 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_null.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_null.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_null2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_null2.c index 870555842e5..87be28e5bf7 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_null2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_null2.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_other_constants.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_other_constants.c index 1de3918334d..168389ca801 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_other_constants.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_other_constants.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; enum bool { @@ -27,7 +52,7 @@ enum bool { model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_other_constants2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_other_constants2.c index 2a72f8d057b..860da0cc9f4 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_other_constants2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_other_constants2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; enum bool { @@ -44,7 +69,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_clear(__mpz_struct * /*[1]*/ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_ptr.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_ptr.c index 98666e54aca..711d283171d 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_ptr.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_ptr.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_ptr2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_ptr2.c index 791e5ede016..fcbb50a2db9 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_ptr2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_ptr2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -85,7 +110,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_tdiv_q(__mpz_struct * /*[1]* assigns \nothing; */ extern __attribute__((__FC_BUILTIN__)) unsigned long __gmpz_get_ui(__mpz_struct const * /*[1]*/ z); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_quantif.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_quantif.c index 521c56b473b..dc273797261 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_quantif.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_quantif.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_quantif2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_quantif2.c index e942e11f7c7..eb31208f9c6 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_quantif2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_quantif2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -89,7 +114,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_tdiv_r(__mpz_struct * /*[1]* __mpz_struct const * /*[1]*/ z2, __mpz_struct const * /*[1]*/ z3); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_result.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_result.c index 317c8de9699..f64c5519d26 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_result.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_result.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_result2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_result2.c index 1adae8592d9..1ad0876d985 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_result2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_result2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -58,7 +83,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_sub(__mpz_struct * /*[1]*/ z assigns \nothing; */ extern __attribute__((__FC_BUILTIN__)) unsigned long __gmpz_get_ui(__mpz_struct const * /*[1]*/ z); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_sizeof.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_sizeof.c index cf7517dfbeb..660aed9564d 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_sizeof.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_sizeof.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_sizeof2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_sizeof2.c index 46b0bdc966c..fcc99a5216b 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_sizeof2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_sizeof2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -40,7 +65,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_clear(__mpz_struct * /*[1]*/ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_stmt_contract.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_stmt_contract.c index 66d0c63a5d6..1000536e8a1 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_stmt_contract.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_stmt_contract.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_stmt_contract2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_stmt_contract2.c index 89734b26793..30c373d7ddc 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_stmt_contract2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_stmt_contract2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -55,7 +80,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_add(__mpz_struct * /*[1]*/ z __mpz_struct const * /*[1]*/ z2, __mpz_struct const * /*[1]*/ z3); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_true.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_true.c index 4a6e11b7f01..428917f8661 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_true.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_true.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_true2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_true2.c index 4a6e11b7f01..428917f8661 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_true2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_true2.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_typedef.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_typedef.c index dd8bb786ec3..aab715dc418 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_typedef.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_typedef.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; typedef unsigned char uint8; @@ -24,7 +49,7 @@ typedef unsigned char uint8; model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_typedef2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_typedef2.c index 8adfbdfd26b..2df398fbcce 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_typedef2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_typedef2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; typedef unsigned char uint8; @@ -50,7 +75,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_clear(__mpz_struct * /*[1]*/ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid.c index be871a3168f..f528b4985a2 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid2.c index be871a3168f..f528b4985a2 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid2.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_alias.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_alias.c index 9ce841baac6..37ff1f4fb3b 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_alias.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_alias.c @@ -7,23 +7,48 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_alias2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_alias2.c index 7fe560e3925..a940ea44511 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_alias2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_alias2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; /*@ @@ -40,7 +65,7 @@ extern __attribute__((__FC_BUILTIN__)) void __gmpz_clear(__mpz_struct * /*[1]*/ extern __attribute__((__FC_BUILTIN__)) int __gmpz_cmp(__mpz_struct const * /*[1]*/ z1, __mpz_struct const * /*[1]*/ z2); int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_in_contract.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_in_contract.c index fd0f8641dd0..d2d9a6adbfd 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_in_contract.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_in_contract.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; struct list { @@ -27,7 +52,7 @@ struct list { model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_in_contract2.c b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_in_contract2.c index fd0f8641dd0..d2d9a6adbfd 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_in_contract2.c +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/gen_valid_in_contract2.c @@ -7,16 +7,41 @@ struct __anonstruct___mpz_struct_1 { typedef struct __anonstruct___mpz_struct_1 __mpz_struct; typedef __mpz_struct ( __attribute__((__FC_BUILTIN__)) mpz_t)[1]; typedef unsigned int size_t; -struct __fc_pos_t { - unsigned long __fc_stdio_position ; +typedef unsigned int ino_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +typedef long time_t; +typedef unsigned int blkcnt_t; +typedef unsigned int blksize_t; +typedef unsigned int dev_t; +typedef unsigned int mode_t; +typedef unsigned int nlink_t; +typedef unsigned int off_t; +struct stat { + dev_t st_dev ; + ino_t st_ino ; + mode_t st_mode ; + nlink_t st_nlink ; + uid_t st_uid ; + gid_t st_gid ; + dev_t st_rdev ; + off_t st_size ; + time_t st_atime ; + time_t st_mtime ; + time_t st_ctime ; + blksize_t st_blksize ; + blkcnt_t st_blocks ; + char *__fc_real_data ; + int __fc_real_data_max_size ; }; -typedef struct __fc_pos_t fpos_t; struct __fc_FILE { - fpos_t __fc_stdio_fpos ; - char *__fc_stdio_buffer ; - char __fc_stdio_error ; - char __fc_stdio_eof ; - long __fc_stdio_id ; + unsigned int __fc_stdio_id ; + unsigned int __fc_maxsz ; + unsigned int __fc_writepos ; + unsigned int __fc_readpos ; + int __fc_is_a_socket ; + int __fc_mode ; + struct stat *__fc_inode ; }; typedef struct __fc_FILE FILE; struct list { @@ -27,7 +52,7 @@ struct list { model __mpz_struct { ℤ n }; */ int __fc_random_counter __attribute__((__unused__)); -unsigned long const __fc_rand_max = (unsigned long)2147483647; +unsigned long const __fc_rand_max = (unsigned long)32767; extern int __fc_heap_status; /*@ axiomatic diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/integer_constant.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/integer_constant.1.res.oracle index 2681bb0e6dc..2141071a418 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/integer_constant.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/integer_constant.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/integer_constant.i:8:[value] Assertion got status valid. [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/integer_constant.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/integer_constant.res.oracle index a623ff2cd43..9d57bdbb63d 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/integer_constant.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/integer_constant.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/integer_constant.i:8:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. tests/e-acsl-runtime/integer_constant.i:10:[value] Assertion got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/invariant.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/invariant.1.res.oracle index ecb85ebf2fa..0f269c4ebdb 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/invariant.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/invariant.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/invariant.i:8:[value] entering loop for the first time [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/invariant.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/invariant.res.oracle index e28fb84efb6..81a5b7bae4d 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/invariant.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/invariant.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/invariant.i:8:[value] entering loop for the first time ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status unknown. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/labeled_stmt.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/labeled_stmt.1.res.oracle index 8d5c2b74837..17a1b305bf0 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/labeled_stmt.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/labeled_stmt.1.res.oracle @@ -9,23 +9,42 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} X ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/labeled_stmt.i:12:[value] Assertion got status valid. [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/labeled_stmt.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/labeled_stmt.res.oracle index 2faef905d63..e1bc2e0a05d 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/labeled_stmt.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/labeled_stmt.res.oracle @@ -9,23 +9,42 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} X ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/labeled_stmt.i:12:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. [value] using specification for function __clean diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/lazy.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/lazy.1.res.oracle index 348452b12ad..749203bc80d 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/lazy.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/lazy.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/lazy.i:11:[value] Assertion got status valid. [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/lazy.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/lazy.res.oracle index 59ce64c781a..25e1ccc9417 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/lazy.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/lazy.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/lazy.i:11:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. tests/e-acsl-runtime/lazy.i:12:[value] Assertion got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/linear_search.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/linear_search.1.res.oracle index 8aceb1111a1..3a7d6057289 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/linear_search.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/linear_search.1.res.oracle @@ -14,23 +14,42 @@ tests/e-acsl-runtime/linear_search.i:14:[e-acsl] warning: missing guard for ensu [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} A[0..9] ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/linear_search.i:30:[value] entering loop for the first time tests/e-acsl-runtime/linear_search.i:9:[value] Function search: precondition got status unknown. [value] using specification for function __gmpz_init diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/linear_search.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/linear_search.res.oracle index 7780e221a63..44e6427ded2 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/linear_search.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/linear_search.res.oracle @@ -10,23 +10,42 @@ tests/e-acsl-runtime/linear_search.i:27:[e-acsl] warning: E-ACSL construct `loop [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} A[0..9] ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/linear_search.i:30:[value] entering loop for the first time tests/e-acsl-runtime/linear_search.i:9:[value] Function search: precondition got status unknown. tests/e-acsl-runtime/linear_search.i:9:[value] entering loop for the first time diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/literal_string.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/literal_string.1.res.oracle index a9a18b8eceb..7c6309952ac 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/literal_string.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/literal_string.1.res.oracle @@ -9,7 +9,7 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} T ∈ {0} @@ -19,19 +19,38 @@ IDX ∈ {1} G2 ∈ {2} U ∈ {{ "baz" }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init [value] using specification for function __literal_string @@ -67,31 +86,21 @@ tests/e-acsl-runtime/literal_string.i:27:[value] Assertion got status valid. S ∈ {{ "foo" }} S2 ∈ {{ "foo2" }} [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function main: T ∈ {{ "bar" }} S ∈ {{ "foo" }} S2 ∈ {{ "foo2" }} SS ∈ {{ "ss" }} __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/literal_string.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/literal_string.res.oracle index f487f529243..6f47f6e1efd 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/literal_string.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/literal_string.res.oracle @@ -9,7 +9,7 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} T ∈ {0} @@ -19,19 +19,38 @@ IDX ∈ {1} G2 ∈ {2} U ∈ {{ "baz" }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init [value] using specification for function __literal_string @@ -59,31 +78,21 @@ tests/e-acsl-runtime/literal_string.i:27:[value] Assertion got status valid. S ∈ {{ "foo" }} S2 ∈ {{ "foo2" }} [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function main: T ∈ {{ "bar" }} S ∈ {{ "foo" }} S2 ∈ {{ "foo2" }} SS ∈ {{ "ss" }} __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/localvar.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/localvar.1.res.oracle index f983b03d7d6..2ae4c44bb94 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/localvar.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/localvar.1.res.oracle @@ -10,22 +10,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init tests/e-acsl-runtime/localvar.c:20:[value] Assertion got status valid. @@ -43,31 +62,21 @@ FRAMAC_SHARE/libc/stdlib.h:180:[value] Function exit: postcondition got status i [value] done for function main [value] ====== VALUES COMPUTED ====== [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function add: __fc_heap_status ∈ [--..--] new ∈ {{ &Frama_C_alloc ; &Frama_C_alloc_0 }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} Frama_C_alloc[bits 0 to 31] ∈ {4} [4..7] ∈ {0} Frama_C_alloc_0[bits 0 to 31] ∈ {7} or UNINITIALIZED @@ -76,17 +85,12 @@ FRAMAC_SHARE/libc/stdlib.h:180:[value] Function exit: postcondition got status i __fc_heap_status ∈ [--..--] l ∈ {{ &Frama_C_alloc_0 }} __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} Frama_C_alloc[bits 0 to 31] ∈ {4} [4..7] ∈ {0} Frama_C_alloc_0[bits 0 to 31] ∈ {7} diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/localvar.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/localvar.res.oracle index f983b03d7d6..2ae4c44bb94 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/localvar.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/localvar.res.oracle @@ -10,22 +10,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init tests/e-acsl-runtime/localvar.c:20:[value] Assertion got status valid. @@ -43,31 +62,21 @@ FRAMAC_SHARE/libc/stdlib.h:180:[value] Function exit: postcondition got status i [value] done for function main [value] ====== VALUES COMPUTED ====== [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function add: __fc_heap_status ∈ [--..--] new ∈ {{ &Frama_C_alloc ; &Frama_C_alloc_0 }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} Frama_C_alloc[bits 0 to 31] ∈ {4} [4..7] ∈ {0} Frama_C_alloc_0[bits 0 to 31] ∈ {7} or UNINITIALIZED @@ -76,17 +85,12 @@ FRAMAC_SHARE/libc/stdlib.h:180:[value] Function exit: postcondition got status i __fc_heap_status ∈ [--..--] l ∈ {{ &Frama_C_alloc_0 }} __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} Frama_C_alloc[bits 0 to 31] ∈ {4} [4..7] ∈ {0} Frama_C_alloc_0[bits 0 to 31] ∈ {7} diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/nested_code_annot.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/nested_code_annot.1.res.oracle index 687b3899d38..0a5f218bcc1 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/nested_code_annot.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/nested_code_annot.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/nested_code_annot.i:9:[value] Assertion got status valid. [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/nested_code_annot.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/nested_code_annot.res.oracle index 716c60516e1..1105da556d4 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/nested_code_annot.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/nested_code_annot.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/nested_code_annot.i:9:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. [value] using specification for function __clean diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/not.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/not.1.res.oracle index c332b41d237..ac9830607bc 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/not.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/not.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/not.i:8:[value] Assertion got status valid. [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/not.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/not.res.oracle index bff80c3bccc..890a42c9e29 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/not.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/not.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/not.i:8:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. [value] using specification for function __clean diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/null.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/null.1.res.oracle index 3b7d9b1659d..0fff1077d6e 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/null.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/null.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/null.i:8:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. [value] using specification for function __clean diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/null.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/null.res.oracle index 3b7d9b1659d..0fff1077d6e 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/null.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/null.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/null.i:8:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. [value] using specification for function __clean diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/other_constants.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/other_constants.1.res.oracle index 4594b5aafa1..d82043981fd 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/other_constants.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/other_constants.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/other_constants.i:12:[value] Assertion got status valid. [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/other_constants.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/other_constants.res.oracle index f91fbf06167..44469b4d64a 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/other_constants.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/other_constants.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/other_constants.i:12:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. tests/e-acsl-runtime/other_constants.i:13:[value] Assertion got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/ptr.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/ptr.1.res.oracle index 73e028b813b..6b2de11b931 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/ptr.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/ptr.1.res.oracle @@ -11,22 +11,41 @@ tests/e-acsl-runtime/ptr.i:20:[e-acsl] warning: missing guard for ensuring that [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init [value] using specification for function __initialize diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/ptr.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/ptr.res.oracle index cc723a7f6d7..36b38bf2922 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/ptr.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/ptr.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init [value] using specification for function __initialize @@ -55,17 +74,12 @@ tests/e-acsl-runtime/ptr.i:27:[value] Assertion got status valid. [value] done for function main [value] ====== VALUES COMPUTED ====== [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} [value] Values at end of function main: x ∈ {1} t[0] ∈ {2} @@ -73,14 +87,9 @@ tests/e-acsl-runtime/ptr.i:27:[value] Assertion got status valid. [2] ∈ {5} p ∈ {{ &t + {8} }} __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/quantif.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/quantif.1.res.oracle index 0e7dd4666f2..e324008aedb 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/quantif.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/quantif.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/quantif.i:11:[value] Assertion got status unknown. [value] using specification for function __gmpz_init ./share/e-acsl/e_acsl_gmp.h:36:[value] Function __gmpz_init: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/quantif.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/quantif.res.oracle index bd1ab22ccb4..71b0ac6ccc5 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/quantif.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/quantif.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/quantif.i:11:[value] Assertion got status unknown. tests/e-acsl-runtime/quantif.i:11:[value] entering loop for the first time ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/result.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/result.1.res.oracle index 0601d1f096f..7dd018c332a 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/result.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/result.1.res.oracle @@ -10,23 +10,42 @@ tests/e-acsl-runtime/result.i:7:[e-acsl] warning: missing guard for ensuring tha [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} Y ∈ {1} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. ./share/e-acsl/e_acsl_gmp.h:63:[value] Function __gmpz_init_set_si: postcondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/result.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/result.res.oracle index 248a15fdf86..780cab99fd2 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/result.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/result.res.oracle @@ -9,23 +9,42 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} Y ∈ {1} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. tests/e-acsl-runtime/result.i:7:[value] Function f: postcondition got status valid. tests/e-acsl-runtime/result.i:18:[value] Function g: postcondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/sizeof.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/sizeof.1.res.oracle index 52e267c2ce9..5843f1fee86 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/sizeof.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/sizeof.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/sizeof.i:10:[value] Assertion got status valid. [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/sizeof.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/sizeof.res.oracle index e146d03a743..89f4f6db567 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/sizeof.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/sizeof.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/sizeof.i:10:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. [value] using specification for function __clean diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/stmt_contract.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/stmt_contract.1.res.oracle index 2c906400050..ef8ab3687ad 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/stmt_contract.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/stmt_contract.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __gmpz_init_set_si ./share/e-acsl/e_acsl_gmp.h:61:[value] Function __gmpz_init_set_si: precondition got status valid. ./share/e-acsl/e_acsl_gmp.h:63:[value] Function __gmpz_init_set_si: postcondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/stmt_contract.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/stmt_contract.res.oracle index a2b59b4e220..c86fcf0c93d 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/stmt_contract.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/stmt_contract.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. [value] using specification for function __clean [kernel] warning: Neither code nor specification for function __clean, generating default assigns from the prototype diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/true.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/true.1.res.oracle index 033814764e2..425ba48f081 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/true.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/true.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/true.i:10:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. [value] using specification for function __clean diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/true.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/true.res.oracle index 033814764e2..425ba48f081 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/true.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/true.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/true.i:10:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. [value] using specification for function __clean diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/typedef.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/typedef.1.res.oracle index c2ce59c7ebf..007787735b3 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/typedef.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/typedef.1.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/typedef.i:11:[value] Assertion got status valid. [value] using specification for function __gmpz_init_set_ui ./share/e-acsl/e_acsl_gmp.h:52:[value] Function __gmpz_init_set_ui: precondition got status valid. diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/typedef.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/typedef.res.oracle index 0a8dac15c79..9ee103c3069 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/typedef.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/typedef.res.oracle @@ -9,22 +9,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] tests/e-acsl-runtime/typedef.i:11:[value] Assertion got status valid. ./share/e-acsl/e_acsl.h:37:[value] Function e_acsl_assert: precondition got status valid. [value] using specification for function __clean diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid.1.res.oracle index ed68c68c714..223f76c9c7e 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid.1.res.oracle @@ -10,23 +10,42 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} X ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init tests/e-acsl-runtime/valid.c:27:[value] Assertion got status valid. @@ -80,32 +99,22 @@ tests/e-acsl-runtime/valid.c:37:[value] Non-termination in evaluation of functio [value] ====== VALUES COMPUTED ====== [value] Values at end of function e_acsl_global_init: [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} tests/e-acsl-runtime/valid.c:19:[value] Non-termination in evaluation of function call expression argument (void *)y [value] Values at end of function f: y ∈ {{ &n }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} tests/e-acsl-runtime/valid.c:27:[value] Non-termination in evaluation of function call expression argument (void *)a tests/e-acsl-runtime/valid.c:27:[value] Non-termination in evaluation of function call expression argument @@ -123,14 +132,9 @@ tests/e-acsl-runtime/valid.c:37:[value] Non-termination in evaluation of functio b ∈ {{ &n }} n ∈ {0} __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid.res.oracle index ed68c68c714..223f76c9c7e 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid.res.oracle @@ -10,23 +10,42 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} X ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init tests/e-acsl-runtime/valid.c:27:[value] Assertion got status valid. @@ -80,32 +99,22 @@ tests/e-acsl-runtime/valid.c:37:[value] Non-termination in evaluation of functio [value] ====== VALUES COMPUTED ====== [value] Values at end of function e_acsl_global_init: [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} tests/e-acsl-runtime/valid.c:19:[value] Non-termination in evaluation of function call expression argument (void *)y [value] Values at end of function f: y ∈ {{ &n }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} tests/e-acsl-runtime/valid.c:27:[value] Non-termination in evaluation of function call expression argument (void *)a tests/e-acsl-runtime/valid.c:27:[value] Non-termination in evaluation of function call expression argument @@ -123,14 +132,9 @@ tests/e-acsl-runtime/valid.c:37:[value] Non-termination in evaluation of functio b ∈ {{ &n }} n ∈ {0} __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_alias.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_alias.1.res.oracle index 441409292a7..f7a9a780ee4 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_alias.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_alias.1.res.oracle @@ -10,22 +10,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init tests/e-acsl-runtime/valid_alias.c:12:[value] Assertion got status valid. @@ -66,17 +85,12 @@ tests/e-acsl-runtime/valid_alias.c:19:[value] Non-termination in evaluation of f [value] done for function main [value] ====== VALUES COMPUTED ====== [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} tests/e-acsl-runtime/valid_alias.c:12:[value] Non-termination in evaluation of function call expression argument (void *)a tests/e-acsl-runtime/valid_alias.c:12:[value] Non-termination in evaluation of function call expression argument @@ -91,15 +105,10 @@ tests/e-acsl-runtime/valid_alias.c:19:[value] Non-termination in evaluation of f b ∈ ESCAPINGADDR n ∈ {0} __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} Frama_C_alloc[0..3] ∈ UNINITIALIZED diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_alias.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_alias.res.oracle index 94a331edd26..2ed31a9e439 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_alias.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_alias.res.oracle @@ -10,22 +10,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init tests/e-acsl-runtime/valid_alias.c:12:[value] Assertion got status valid. @@ -74,17 +93,12 @@ tests/e-acsl-runtime/valid_alias.c:19:[value] Non-termination in evaluation of f [value] done for function main [value] ====== VALUES COMPUTED ====== [value] Values at end of function e_acsl_assert: - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} tests/e-acsl-runtime/valid_alias.c:12:[value] Non-termination in evaluation of function call expression argument (void *)a tests/e-acsl-runtime/valid_alias.c:12:[value] Non-termination in evaluation of function call expression argument @@ -99,15 +113,10 @@ tests/e-acsl-runtime/valid_alias.c:19:[value] Non-termination in evaluation of f b ∈ ESCAPINGADDR n ∈ {0} __retres ∈ {0} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} Frama_C_alloc[0..3] ∈ UNINITIALIZED diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_in_contract.1.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_in_contract.1.res.oracle index 88196cccf58..1fd6801659f 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_in_contract.1.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_in_contract.1.res.oracle @@ -10,22 +10,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init [value] using specification for function __valid diff --git a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_in_contract.res.oracle b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_in_contract.res.oracle index 88196cccf58..1fd6801659f 100644 --- a/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_in_contract.res.oracle +++ b/src/plugins/e-acsl/tests/e-acsl-runtime/oracle/valid_in_contract.res.oracle @@ -10,22 +10,41 @@ [value] Initial state computed [value] Values of globals at initialization __fc_random_counter ∈ {0} - __fc_rand_max ∈ {2147483647} + __fc_rand_max ∈ {32767} __fc_heap_status ∈ [--..--] __fc_stdout ∈ {{ NULL ; &S___fc_stdout }} - S___fc_stdout[0].__fc_stdio_fpos ∈ [--..--] - [0].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_0_S___fc_stdout }} - [0]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [0].[bits 80 to 95] ∈ UNINITIALIZED - {[0].__fc_stdio_id; [1].__fc_stdio_fpos; } ∈ [--..--] - [1].__fc_stdio_buffer ∈ - {{ NULL ; &S___fc_stdio_buffer_1_S___fc_stdout }} - [1]{.__fc_stdio_error; .__fc_stdio_eof; } ∈ [--..--] - [1].[bits 80 to 95] ∈ UNINITIALIZED - [1].__fc_stdio_id ∈ [--..--] - S___fc_stdio_buffer_0_S___fc_stdout[0..1] ∈ [--..--] - S___fc_stdio_buffer_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_stdout[0]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [0].__fc_inode ∈ {{ NULL ; &S___fc_inode_0_S___fc_stdout }} + [1]{.__fc_stdio_id; .__fc_maxsz; .__fc_writepos; .__fc_readpos; .__fc_is_a_socket; .__fc_mode; } ∈ + [--..--] + [1].__fc_inode ∈ {{ NULL ; &S___fc_inode_1_S___fc_stdout }} + S___fc_inode_0_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_0_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_0_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_0_S___fc_stdout[0..1] ∈ [--..--] + S___fc_inode_1_S___fc_stdout[0]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; } ∈ + [--..--] + [0].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_0_S___fc_inode_1_S___fc_stdout }} + {[0].__fc_real_data_max_size; [1]{.st_dev; .st_ino; .st_mode; .st_nlink; .st_uid; .st_gid; .st_rdev; .st_size; .st_atime; .st_mtime; .st_ctime; .st_blksize; .st_blocks; }; } ∈ + [--..--] + [1].__fc_real_data ∈ + {{ NULL ; + &S___fc_real_data_1_S___fc_inode_1_S___fc_stdout }} + [1].__fc_real_data_max_size ∈ [--..--] + S___fc_real_data_0_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] + S___fc_real_data_1_S___fc_inode_1_S___fc_stdout[0..1] ∈ [--..--] [value] using specification for function __store_block [value] using specification for function __full_init [value] using specification for function __valid diff --git a/src/plugins/e-acsl/visit.ml b/src/plugins/e-acsl/visit.ml index 4a2d9ff4e38..fc9e6b9856c 100644 --- a/src/plugins/e-acsl/visit.ml +++ b/src/plugins/e-acsl/visit.ml @@ -240,7 +240,8 @@ you must call function `%s' by yourself" method vglob_aux = function | GVarDecl(_, vi, _) | GVar(vi, _, _) | GFun({ svar = vi }, _) - when Misc.is_library_loc vi.vdecl -> + when Misc.is_library_loc vi.vdecl -> + assert (not vi.vghost); if generate then Cil.JustCopyPost (fun l -> @@ -253,9 +254,10 @@ you must call function `%s' by yourself" | g when Misc.is_library_loc (Global.loc g) -> if generate then Cil.JustCopy else Cil.SkipChildren | g -> + (* TODO: handle ghost declaration. Waiting for fixing bug #1328 *) let do_it = function | GVar(vi, i, _) -> - (* remove initializers on need *) + (* remove initializers on need *) if Pre_analysis.old_must_model_vi self#behavior vi then (try let old_vi = Cil.get_original_varinfo self#behavior vi in @@ -265,8 +267,8 @@ you must call function `%s' by yourself" with Not_found -> assert false) | GFun({ svar = vi } as fundec, _) -> - (* remember that we have to remove the main later - (see method [vfile]) *) + (* remember that we have to remove the main later (see method + [vfile]) *) if vi.vorig_name = Kernel.MainFunction.get () && not (Options.Check.get ()) then main_fct <- Some fundec @@ -492,6 +494,7 @@ you must call function `%s' by yourself" (* TODO: must clear the local block anytime (?) *) mk_block post_block, env in + (* if TODO HERE *) function_env := env; Options.debug ~level:3 "@[new stmt (from sid %d):@ %a@]" stmt.sid Cil.d_stmt new_stmt; -- GitLab