Skip to content
Snippets Groups Projects
Commit b6d2d297 authored by Basile Desloges's avatar Basile Desloges
Browse files

[eacsl:tests] Remove obsolete oracles

parent 4a5370dd
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 378 deletions
[kernel] Parsing tests/format/printf.c (with preprocessing)
[kernel:parser:decimal-float] tests/format/printf.c:89: Warning:
Floating-point constant 0.2 is not represented exactly. Will use 0x1.999999999999ap-3.
(warn-once: no further messages from category 'parser:decimal-float' will be emitted)
[variadic] tests/format/printf.c:29: Warning:
Call to function printf with non-static format argument:
no specification will be generated.
[variadic] tests/format/printf.c:31: Warning:
Call to function printf with non-static format argument:
no specification will be generated.
[variadic] tests/format/printf.c:33: Warning:
Call to function printf with non-static format argument:
no specification will be generated.
[variadic] tests/format/printf.c:35: Warning:
Call to function printf with non-static format argument:
no specification will be generated.
[variadic] tests/format/printf.c:37: Warning:
Call to function printf with non-static format argument:
no specification will be generated.
[variadic] tests/format/printf.c:39: Warning:
Call to function printf with non-static format argument:
no specification will be generated.
[variadic] tests/format/printf.c:186: Warning:
Not enough arguments: expected 5, given 4.
[variadic] tests/format/printf.c:189: Warning:
Too many arguments: expected 5, given 6. Superfluous arguments will be removed.
[variadic] tests/format/printf.c:194: Warning:
Call to function printf with non-static format argument:
no specification will be generated.
[variadic] tests/format/printf.c:197: Warning: Unknown conversion specifier $.
[variadic] tests/format/printf.c:199: Warning: Unknown conversion specifier $.
[variadic] tests/format/printf.c:201: Warning: Unknown conversion specifier $.
[variadic] tests/format/printf.c:204: Warning: Unknown conversion specifier $.
[variadic] tests/format/printf.c:206: Warning: Unknown conversion specifier $.
[variadic] tests/format/printf.c:226: Warning: Unknown conversion specifier l.
[variadic] tests/format/printf.c:257: Warning:
Incorrect type for argument 2. The argument will be cast from wint_t to intmax_t.
[variadic] tests/format/printf.c:279: Warning:
Incorrect type for argument 2. The argument will be cast from int to size_t.
[variadic] tests/format/printf.c:279: Warning:
Incorrect type for argument 2. The argument will be cast from int to size_t.
[variadic] tests/format/printf.c:292: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned int to ptrdiff_t.
[variadic] tests/format/printf.c:292: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned int to ptrdiff_t.
[variadic] tests/format/printf.c:293: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned int to ptrdiff_t.
[variadic] tests/format/printf.c:293: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned int to ptrdiff_t.
[variadic] tests/format/printf.c:307: Warning: Unknown conversion specifier C.
[variadic] tests/format/printf.c:308: Warning: Unknown conversion specifier S.
[variadic] tests/format/printf.c:309: Warning: Unknown conversion specifier m.
[variadic] tests/format/printf.c:315: Warning:
Incorrect type for argument 2. The argument will be cast from long to int.
[variadic] tests/format/printf.c:315: Warning:
Incorrect type for argument 2. The argument will be cast from long to int.
[variadic] tests/format/printf.c:316: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned int to int.
[variadic] tests/format/printf.c:316: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned int to int.
[variadic] tests/format/printf.c:317: Warning:
Incorrect type for argument 2. The argument will be cast from void * to int.
[variadic] tests/format/printf.c:317: Warning:
Incorrect type for argument 2. The argument will be cast from void * to int.
[variadic] tests/format/printf.c:318: Warning:
Incorrect type for argument 2. The argument will be cast from double to int.
[variadic] tests/format/printf.c:318: Warning:
Incorrect type for argument 2. The argument will be cast from double to int.
[variadic] tests/format/printf.c:328: Warning:
Incorrect type for argument 2. The argument will be cast from int to size_t.
[variadic] tests/format/printf.c:328: Warning:
Incorrect type for argument 2. The argument will be cast from int to size_t.
[variadic] tests/format/printf.c:334: Warning:
Incorrect type for argument 2. The argument will be cast from long to unsigned int.
[variadic] tests/format/printf.c:334: Warning:
Incorrect type for argument 2. The argument will be cast from long to unsigned int.
[variadic] tests/format/printf.c:334: Warning:
Incorrect type for argument 2. The argument will be cast from long to unsigned int.
[variadic] tests/format/printf.c:334: Warning:
Incorrect type for argument 2. The argument will be cast from long to unsigned int.
[variadic] tests/format/printf.c:335: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to unsigned int.
[variadic] tests/format/printf.c:335: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to unsigned int.
[variadic] tests/format/printf.c:335: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to unsigned int.
[variadic] tests/format/printf.c:335: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to unsigned int.
[variadic] tests/format/printf.c:336: Warning:
Incorrect type for argument 2. The argument will be cast from double to unsigned int.
[variadic] tests/format/printf.c:336: Warning:
Incorrect type for argument 2. The argument will be cast from double to unsigned int.
[variadic] tests/format/printf.c:336: Warning:
Incorrect type for argument 2. The argument will be cast from double to unsigned int.
[variadic] tests/format/printf.c:336: Warning:
Incorrect type for argument 2. The argument will be cast from double to unsigned int.
[variadic] tests/format/printf.c:337: Warning:
Incorrect type for argument 2. The argument will be cast from void * to unsigned int.
[variadic] tests/format/printf.c:337: Warning:
Incorrect type for argument 2. The argument will be cast from void * to unsigned int.
[variadic] tests/format/printf.c:337: Warning:
Incorrect type for argument 2. The argument will be cast from void * to unsigned int.
[variadic] tests/format/printf.c:337: Warning:
Incorrect type for argument 2. The argument will be cast from void * to unsigned int.
[variadic] tests/format/printf.c:338: Warning:
Incorrect type for argument 2. The argument will be cast from char * to unsigned int.
[variadic] tests/format/printf.c:338: Warning:
Incorrect type for argument 2. The argument will be cast from char * to unsigned int.
[variadic] tests/format/printf.c:338: Warning:
Incorrect type for argument 2. The argument will be cast from char * to unsigned int.
[variadic] tests/format/printf.c:338: Warning:
Incorrect type for argument 2. The argument will be cast from char * to unsigned int.
[variadic] tests/format/printf.c:355: Warning:
Incorrect type for argument 2. The argument will be cast from long double to double.
[variadic] tests/format/printf.c:355: Warning:
Incorrect type for argument 2. The argument will be cast from long double to double.
[variadic] tests/format/printf.c:356: Warning:
Incorrect type for argument 2. The argument will be cast from int to double.
[variadic] tests/format/printf.c:356: Warning:
Incorrect type for argument 2. The argument will be cast from int to double.
[variadic] tests/format/printf.c:357: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to double.
[variadic] tests/format/printf.c:357: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to double.
[variadic] tests/format/printf.c:359: Warning:
Incorrect type for argument 2. The argument will be cast from long double to double.
[variadic] tests/format/printf.c:359: Warning:
Incorrect type for argument 2. The argument will be cast from long double to double.
[variadic] tests/format/printf.c:360: Warning:
Incorrect type for argument 2. The argument will be cast from int to double.
[variadic] tests/format/printf.c:360: Warning:
Incorrect type for argument 2. The argument will be cast from int to double.
[variadic] tests/format/printf.c:361: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to double.
[variadic] tests/format/printf.c:361: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to double.
[variadic] tests/format/printf.c:363: Warning:
Incorrect type for argument 2. The argument will be cast from long double to double.
[variadic] tests/format/printf.c:363: Warning:
Incorrect type for argument 2. The argument will be cast from long double to double.
[variadic] tests/format/printf.c:364: Warning:
Incorrect type for argument 2. The argument will be cast from int to double.
[variadic] tests/format/printf.c:364: Warning:
Incorrect type for argument 2. The argument will be cast from int to double.
[variadic] tests/format/printf.c:365: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to double.
[variadic] tests/format/printf.c:365: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to double.
[variadic] tests/format/printf.c:367: Warning:
Incorrect type for argument 2. The argument will be cast from long double to double.
[variadic] tests/format/printf.c:367: Warning:
Incorrect type for argument 2. The argument will be cast from long double to double.
[variadic] tests/format/printf.c:368: Warning:
Incorrect type for argument 2. The argument will be cast from int to double.
[variadic] tests/format/printf.c:368: Warning:
Incorrect type for argument 2. The argument will be cast from int to double.
[variadic] tests/format/printf.c:369: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to double.
[variadic] tests/format/printf.c:369: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to double.
[variadic] tests/format/printf.c:372: Warning:
Incorrect type for argument 2. The argument will be cast from double to long double.
[variadic] tests/format/printf.c:372: Warning:
Incorrect type for argument 2. The argument will be cast from double to long double.
[variadic] tests/format/printf.c:374: Warning:
Incorrect type for argument 2. The argument will be cast from int to long double.
[variadic] tests/format/printf.c:374: Warning:
Incorrect type for argument 2. The argument will be cast from int to long double.
[variadic] tests/format/printf.c:375: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to long double.
[variadic] tests/format/printf.c:375: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to long double.
[variadic] tests/format/printf.c:376: Warning:
Incorrect type for argument 2. The argument will be cast from double to long double.
[variadic] tests/format/printf.c:376: Warning:
Incorrect type for argument 2. The argument will be cast from double to long double.
[variadic] tests/format/printf.c:378: Warning:
Incorrect type for argument 2. The argument will be cast from int to long double.
[variadic] tests/format/printf.c:378: Warning:
Incorrect type for argument 2. The argument will be cast from int to long double.
[variadic] tests/format/printf.c:379: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to long double.
[variadic] tests/format/printf.c:379: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to long double.
[variadic] tests/format/printf.c:380: Warning:
Incorrect type for argument 2. The argument will be cast from double to long double.
[variadic] tests/format/printf.c:380: Warning:
Incorrect type for argument 2. The argument will be cast from double to long double.
[variadic] tests/format/printf.c:382: Warning:
Incorrect type for argument 2. The argument will be cast from int to long double.
[variadic] tests/format/printf.c:382: Warning:
Incorrect type for argument 2. The argument will be cast from int to long double.
[variadic] tests/format/printf.c:383: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to long double.
[variadic] tests/format/printf.c:383: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to long double.
[variadic] tests/format/printf.c:384: Warning:
Incorrect type for argument 2. The argument will be cast from double to long double.
[variadic] tests/format/printf.c:384: Warning:
Incorrect type for argument 2. The argument will be cast from double to long double.
[variadic] tests/format/printf.c:386: Warning:
Incorrect type for argument 2. The argument will be cast from int to long double.
[variadic] tests/format/printf.c:386: Warning:
Incorrect type for argument 2. The argument will be cast from int to long double.
[variadic] tests/format/printf.c:387: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to long double.
[variadic] tests/format/printf.c:387: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned long to long double.
[variadic] tests/format/printf.c:393: Warning:
Incorrect type for argument 2. The argument will be cast from unsigned int to int.
[variadic] tests/format/printf.c:394: Warning:
Incorrect type for argument 2. The argument will be cast from long to int.
[variadic] tests/format/printf.c:395: Warning:
Incorrect type for argument 2. The argument will be cast from double to int.
[variadic] tests/format/printf.c:396: Warning:
Incorrect type for argument 2. The argument will be cast from char * to int.
[variadic] tests/format/printf.c:399: Warning:
Incorrect type for argument 2. The argument will be cast from wint_t to intmax_t.
[variadic] tests/format/printf.c:400: Warning:
Incorrect type for argument 2. The argument will be cast from long to intmax_t.
[variadic] tests/format/printf.c:409: Warning:
Incorrect type for argument 2. The argument will be cast from int to char *.
[variadic] tests/format/printf.c:464: Warning: Unknown conversion specifier '.
[variadic] tests/format/printf.c:465: Warning:
Flag 0 and conversion specififer n are not compatibles.
[variadic] tests/format/printf.c:466: Warning:
Flag # and conversion specififer n are not compatibles.
[variadic] tests/format/printf.c:467: Warning:
Flag ' ' and conversion specififer n are not compatibles.
[variadic] tests/format/printf.c:468: Warning:
Flag + and conversion specififer n are not compatibles.
[variadic] tests/format/printf.c:469: Warning:
Flag - and conversion specififer n are not compatibles.
[variadic] tests/format/printf.c:470: Warning:
Conversion specifier n does not expect a field width.
[variadic] tests/format/printf.c:471: Warning:
Conversion specifier n does not expect a field width.
[variadic] tests/format/printf.c:472: Warning:
Conversion specifier n does not expect a field width.
[variadic] tests/format/printf.c:473: Warning:
Conversion specifier n does not expect a precision.
[variadic] tests/format/printf.c:476: Warning: Unknown conversion specifier '.
[e-acsl] beginning translation.
[e-acsl] translation done in project "e-acsl".
[eva] Analyzing a complete application starting at main
[eva] Computing initial state
[eva] Initial state computed
[eva:initial-state] Values of globals at initialization
__e_acsl_init ∈ [--..--]
__e_acsl_heap_allocation_size ∈ [--..--]
__e_acsl_math_HUGE_VAL ∈ [-1.79769313486e+308 .. 1.79769313486e+308]
__e_acsl_math_HUGE_VALF ∈ [-3.40282346639e+38 .. 3.40282346639e+38]
__e_acsl_math_INFINITY ∈ [-1.79769313486e+308 .. 1.79769313486e+308]
[eva] using specification for function __e_acsl_memory_init
[eva] using specification for function __e_acsl_store_block
[eva] using specification for function __e_acsl_full_init
[eva] using specification for function __e_acsl_initialized
[eva] using specification for function __e_acsl_assert
[eva] using specification for function __e_acsl_delete_block
[eva] using specification for function __e_acsl_memory_clean
[eva] done for function main
[e-acsl] beginning translation.
[e-acsl] translation done in project "e-acsl".
[eva] Analyzing a complete application starting at main
[eva] Computing initial state
[eva] Initial state computed
[eva:initial-state] Values of globals at initialization
__e_acsl_init ∈ [--..--]
__e_acsl_heap_allocation_size ∈ [--..--]
__e_acsl_math_HUGE_VAL ∈ [-1.79769313486e+308 .. 1.79769313486e+308]
__e_acsl_math_HUGE_VALF ∈ [-3.40282346639e+38 .. 3.40282346639e+38]
__e_acsl_math_INFINITY ∈ [-1.79769313486e+308 .. 1.79769313486e+308]
[eva] using specification for function __e_acsl_memory_init
[eva] using specification for function __e_acsl_store_block
[eva] using specification for function __e_acsl_full_init
[eva] using specification for function __e_acsl_initialized
[eva] using specification for function __e_acsl_assert
[eva] using specification for function __e_acsl_delete_block
[eva] using specification for function __e_acsl_memory_clean
[eva] done for function main
/* Generated by Frama-C */
#include "stdio.h"
#include "stdlib.h"
void f(void)
{
int m;
int *u;
int *p;
__e_acsl_store_block((void *)(& p),(size_t)8);
__e_acsl_store_block((void *)(& u),(size_t)8);
__e_acsl_store_block((void *)(& m),(size_t)4);
__e_acsl_full_init((void *)(& u));
u = & m;
__e_acsl_full_init((void *)(& p));
p = u;
__e_acsl_full_init((void *)(& m));
m = 123;
/*@ assert \initialized(p); */
{
int __gen_e_acsl_initialized;
__gen_e_acsl_initialized = __e_acsl_initialized((void *)p,sizeof(int));
__e_acsl_assert(__gen_e_acsl_initialized,(char *)"Assertion",(char *)"f",
(char *)"\\initialized(p)",10);
}
__e_acsl_delete_block((void *)(& p));
__e_acsl_delete_block((void *)(& u));
__e_acsl_delete_block((void *)(& m));
return;
}
void __e_acsl_globals_init(void)
{
static char __e_acsl_already_run = 0;
if (! __e_acsl_already_run) {
__e_acsl_already_run = 1;
__e_acsl_store_block((void *)(& f),(size_t)1);
__e_acsl_full_init((void *)(& f));
__e_acsl_store_block((void *)(& __fc_p_fopen),(size_t)8);
__e_acsl_full_init((void *)(& __fc_p_fopen));
__e_acsl_store_block((void *)(__fc_fopen),(size_t)128);
__e_acsl_full_init((void *)(& __fc_fopen));
__e_acsl_store_block((void *)(& __fc_p_random48_counter),(size_t)8);
__e_acsl_full_init((void *)(& __fc_p_random48_counter));
__e_acsl_store_block((void *)(random48_counter),(size_t)6);
__e_acsl_full_init((void *)(& random48_counter));
__e_acsl_store_block((void *)(& __fc_random48_init),(size_t)4);
__e_acsl_full_init((void *)(& __fc_random48_init));
__e_acsl_store_block((void *)(& __fc_rand_max),(size_t)8);
__e_acsl_full_init((void *)(& __fc_rand_max));
}
return;
}
int main(void)
{
int __retres;
__e_acsl_memory_init((int *)0,(char ***)0,(size_t)8);
__e_acsl_globals_init();
__e_acsl_store_block((void *)(& __retres),(size_t)4);
int x = 0;
__e_acsl_store_block((void *)(& x),(size_t)4);
__e_acsl_full_init((void *)(& x));
f();
/*@ assert &x ≡ &x; */
__e_acsl_assert(& x == & x,(char *)"Assertion",(char *)"main",
(char *)"&x == &x",16);
__e_acsl_full_init((void *)(& __retres));
__retres = 0;
__e_acsl_delete_block((void *)(& f));
__e_acsl_delete_block((void *)(& __fc_p_fopen));
__e_acsl_delete_block((void *)(__fc_fopen));
__e_acsl_delete_block((void *)(& __fc_p_random48_counter));
__e_acsl_delete_block((void *)(random48_counter));
__e_acsl_delete_block((void *)(& __fc_random48_init));
__e_acsl_delete_block((void *)(& __fc_rand_max));
__e_acsl_delete_block((void *)(& x));
__e_acsl_delete_block((void *)(& __retres));
__e_acsl_memory_clean();
return __retres;
}
[kernel] Parsing tests/full-mmodel/addrOf.i (no preprocessing)
[kernel] Parsing tests/gmp-only/arith.i (no preprocessing)
[kernel] Parsing tests/gmp-only/functions.c (with preprocessing)
[kernel] Parsing tests/memory/addrOf.i (no preprocessing)
[kernel] Parsing tests/memory/alias.i (no preprocessing)
[kernel] Parsing tests/memory/base_addr.c (with preprocessing)
[kernel] Parsing tests/memory/block_length.c (with preprocessing)
[kernel] Parsing tests/memory/block_valid.c (with preprocessing)
[kernel] Parsing tests/memory/bypassed_var.c (with preprocessing)
[kernel] Parsing tests/memory/call.c (with preprocessing)
[kernel] Parsing tests/memory/compound_initializers.c (with preprocessing)
[kernel] Parsing tests/memory/constructor.c (with preprocessing)
[kernel] Parsing tests/memory/ctype_macros.c (with preprocessing)
[kernel] Parsing tests/memory/decl_in_switch.c (with preprocessing)
[kernel] Parsing tests/memory/early_exit.c (with preprocessing)
[kernel] Parsing tests/memory/errno.c (with preprocessing)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment