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

[kernel] Update test oracles

parent 3a335ee4
No related branches found
No related tags found
No related merge requests found
Showing with 20 additions and 22 deletions
[kernel] Parsing used_before_decl_bts0109.i (no preprocessing) [kernel] Parsing used_before_decl_bts0109.i (no preprocessing)
[kernel:typing:no-proto] used_before_decl_bts0109.i:3: Warning: [kernel:typing:no-proto] used_before_decl_bts0109.i:3: Warning:
Calling function f that is declared without prototype. Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments Its formals will be inferred from actual arguments.
Declare it as f(void) if the function does not take any parameters.
[kernel:typing:implicit-function-declaration] used_before_decl_bts0109.i:3: Warning: [kernel:typing:implicit-function-declaration] used_before_decl_bts0109.i:3: Warning:
Calling undeclared function h. Old style K&R code? Calling undeclared function h. Old style K&R code?
/* Generated by Frama-C */ /* Generated by Frama-C */
......
[kernel] Parsing extern_init.i (no preprocessing) [kernel] Parsing extern_init.i (no preprocessing)
[kernel] Parsing extern_init_1.i (no preprocessing) [kernel] Parsing extern_init_1.i (no preprocessing)
[kernel] Parsing extern_init_2.i (no preprocessing) [kernel] Parsing extern_init_2.i (no preprocessing)
[kernel:typing:no-proto] extern_init_2.i:10: Warning:
Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments
[kernel:typing:no-proto] extern_init_2.i:11: Warning:
Calling function g that is declared without prototype.
Its formals will be inferred from actual arguments
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
......
[kernel] Parsing extern_init.i (no preprocessing) [kernel] Parsing extern_init.i (no preprocessing)
[kernel] Parsing extern_init_2.i (no preprocessing) [kernel] Parsing extern_init_2.i (no preprocessing)
[kernel:typing:no-proto] extern_init_2.i:10: Warning:
Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments
[kernel:typing:no-proto] extern_init_2.i:11: Warning:
Calling function g that is declared without prototype.
Its formals will be inferred from actual arguments
[kernel] Parsing extern_init_1.i (no preprocessing) [kernel] Parsing extern_init_1.i (no preprocessing)
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
......
[kernel] Parsing implicit_args_bts1267.i (no preprocessing) [kernel] Parsing implicit_args_bts1267.i (no preprocessing)
[kernel:typing:no-proto] implicit_args_bts1267.i:7: Warning: [kernel:typing:no-proto] implicit_args_bts1267.i:7: Warning:
Calling function f that is declared without prototype. Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments Its formals will be inferred from actual arguments.
Declare it as f(void) if the function does not take any parameters.
/* Generated by Frama-C */ /* Generated by Frama-C */
extern unsigned short t[100000]; extern unsigned short t[100000];
......
[kernel] Parsing inconsistent_decl.c (with preprocessing) [kernel] Parsing inconsistent_decl.c (with preprocessing)
[kernel:typing:no-proto] inconsistent_decl.c:12: Warning: [kernel:typing:no-proto] inconsistent_decl.c:12: Warning:
Calling function f that is declared without prototype. Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments Its formals will be inferred from actual arguments.
Declare it as f(void) if the function does not take any parameters.
[kernel] Parsing inconsistent_decl_2.i (no preprocessing) [kernel] Parsing inconsistent_decl_2.i (no preprocessing)
[kernel] User Error: Incompatible declaration for f: [kernel] User Error: Incompatible declaration for f:
different type constructors: different type constructors:
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
Calling undeclared function bar. Old style K&R code? Calling undeclared function bar. Old style K&R code?
[kernel:typing:no-proto] issue-641-implicit-calls.c:25: Warning: [kernel:typing:no-proto] issue-641-implicit-calls.c:25: Warning:
Calling function bar that is declared without prototype. Calling function bar that is declared without prototype.
Its formals will be inferred from actual arguments Its formals will be inferred from actual arguments.
Declare it as bar(void) if the function does not take any parameters.
[kernel] issue-641-implicit-calls.c:25: User Error: [kernel] issue-641-implicit-calls.c:25: User Error:
nested calls of bar without a prototype and incompatible arguments : different integer types: nested calls of bar without a prototype and incompatible arguments : different integer types:
'int' and 'unsigned int' 'int' and 'unsigned int'
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
Calling undeclared function bar. Old style K&R code? Calling undeclared function bar. Old style K&R code?
[kernel:typing:no-proto] issue-641-implicit-calls.c:29: Warning: [kernel:typing:no-proto] issue-641-implicit-calls.c:29: Warning:
Calling function bar that is declared without prototype. Calling function bar that is declared without prototype.
Its formals will be inferred from actual arguments Its formals will be inferred from actual arguments.
Declare it as bar(void) if the function does not take any parameters.
[kernel] issue-641-implicit-calls.c:29: User Error: [kernel] issue-641-implicit-calls.c:29: User Error:
nested calls of bar without a prototype and incompatible arguments : different number of arguments nested calls of bar without a prototype and incompatible arguments : different number of arguments
27 27
......
[kernel] Parsing no_prototype.i (no preprocessing) [kernel] Parsing no_prototype.i (no preprocessing)
[kernel:typing:no-proto] no_prototype.i:9: Warning: [kernel:typing:no-proto] no_prototype.i:9: Warning:
Calling function foo that is declared without prototype. Calling function foo that is declared without prototype.
Its formals will be inferred from actual arguments Its formals will be inferred from actual arguments.
Declare it as foo(void) if the function does not take any parameters.
[kernel] no_prototype.i:11: User Error: [kernel] no_prototype.i:11: User Error:
Declaration of foo does not match previous declaration from no_prototype.i:6 (different number of arguments). Declaration of foo does not match previous declaration from no_prototype.i:6 (different number of arguments).
9 foo(); 9 foo();
......
[kernel] Parsing reject_use_decl_mismatch_bts728.c (with preprocessing) [kernel] Parsing reject_use_decl_mismatch_bts728.c (with preprocessing)
[kernel:typing:no-proto] reject_use_decl_mismatch_bts728.c:15: Warning: [kernel:typing:no-proto] reject_use_decl_mismatch_bts728.c:15: Warning:
Calling function f that is declared without prototype. Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments Its formals will be inferred from actual arguments.
Declare it as f(void) if the function does not take any parameters.
[kernel] reject_use_decl_mismatch_bts728.c:19: User Error: [kernel] reject_use_decl_mismatch_bts728.c:19: User Error:
Declaration of f does not match previous declaration from reject_use_decl_mismatch_bts728.c:7 (different number of arguments). Declaration of f does not match previous declaration from reject_use_decl_mismatch_bts728.c:7 (different number of arguments).
17 } 17 }
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
Calling undeclared function f. Old style K&R code? Calling undeclared function f. Old style K&R code?
[kernel:typing:no-proto] variadic.i:27: Warning: [kernel:typing:no-proto] variadic.i:27: Warning:
Calling function h that is declared without prototype. Calling function h that is declared without prototype.
Its formals will be inferred from actual arguments Its formals will be inferred from actual arguments.
Declare it as h(void) if the function does not take any parameters.
/* Generated by Frama-C */ /* Generated by Frama-C */
typedef char tt; typedef char tt;
struct T { struct T {
......
[kernel] Parsing vdefined_bts1241.i (no preprocessing) [kernel] Parsing vdefined_bts1241.i (no preprocessing)
[kernel:typing:no-proto] vdefined_bts1241.i:15: Warning: [kernel:typing:no-proto] vdefined_bts1241.i:15: Warning:
Calling function h that is declared without prototype. Calling function h that is declared without prototype.
Its formals will be inferred from actual arguments Its formals will be inferred from actual arguments.
Declare it as h(void) if the function does not take any parameters.
[kernel] Parsing vdefined_bts1241_1.i (no preprocessing) [kernel] Parsing vdefined_bts1241_1.i (no preprocessing)
[kernel:typing:no-proto] vdefined_bts1241_1.i:7: Warning: [kernel:typing:no-proto] vdefined_bts1241_1.i:7: Warning:
Calling function f that is declared without prototype. Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments Its formals will be inferred from actual arguments.
Declare it as f(void) if the function does not take any parameters.
/* Generated by Frama-C */ /* Generated by Frama-C */
int f(void); int f(void);
......
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