Skip to content
Snippets Groups Projects
Commit e688280c authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[Kernel] slightly reformulate deferred error messages

parent 9798dd0b
No related branches found
No related tags found
No related merge requests found
[kernel] Parsing cert_msc_38.c (with preprocessing) [kernel] Parsing cert_msc_38.c (with preprocessing)
[kernel:CERT:MSC:38] cert_msc_38.c:38: Warning: [kernel:CERT:MSC:38] cert_msc_38.c:38: Warning:
Attempt to declare math_errhandling as external identifier outside of the stdlib. It is supposed to be a macro name and cannot be declared. See CERT C coding rule MSC38-C Attempt to declare math_errhandling as external identifier outside of the stdlib. It is supposed to be a macro name and cannot be declared. See CERT C coding rule MSC38-C
[kernel] Warning: warning CERT:MSC:38 treated as deferred error: [kernel] Deferred error: warning as error CERT:MSC:38:
cert_msc_38.c:38: Attempt to declare math_errhandling as external identifier outside of the stdlib. It is supposed to be a macro name and cannot be declared. See CERT C coding rule MSC38-C cert_msc_38.c:38: Attempt to declare math_errhandling as external identifier outside of the stdlib. It is supposed to be a macro name and cannot be declared. See CERT C coding rule MSC38-C
[kernel] Frama-C aborted: invalid user input. [kernel] Frama-C aborted: invalid user input.
[kernel] Parsing cert_msc_38.c (with preprocessing) [kernel] Parsing cert_msc_38.c (with preprocessing)
[kernel:CERT:MSC:38] cert_msc_38.c:60: Warning: [kernel:CERT:MSC:38] cert_msc_38.c:60: Warning:
setjmp is a standard macro. Its definition cannot be suppressed, see CERT C coding rules MSC38-C setjmp is a standard macro. Its definition cannot be suppressed, see CERT C coding rules MSC38-C
[kernel] Warning: warning CERT:MSC:38 treated as deferred error: [kernel] Deferred error: warning as error CERT:MSC:38:
cert_msc_38.c:60: setjmp is a standard macro. Its definition cannot be suppressed, see CERT C coding rules MSC38-C cert_msc_38.c:60: setjmp is a standard macro. Its definition cannot be suppressed, see CERT C coding rules MSC38-C
[kernel] Frama-C aborted: invalid user input. [kernel] Frama-C aborted: invalid user input.
...@@ -93,6 +93,6 @@ ...@@ -93,6 +93,6 @@
Invalid cast of '& g_0' from 'int \ghost *' to 'int *' Invalid cast of '& g_0' from 'int \ghost *' to 'int *'
[kernel:ghost:bad-use] ghost_cv_incompat.i:194: Warning: [kernel:ghost:bad-use] ghost_cv_incompat.i:194: Warning:
Invalid cast of '& g_0' from 'int \ghost *' to 'int *' Invalid cast of '& g_0' from 'int \ghost *' to 'int *'
[kernel] Warning: warning ghost:bad-use treated as deferred error: [kernel] Deferred error: warning as error ghost:bad-use:
ghost_cv_incompat.i:27: Invalid cast of '& ng' from 'int *' to 'int \ghost *' ghost_cv_incompat.i:27: Invalid cast of '& ng' from 'int *' to 'int \ghost *'
[kernel] Frama-C aborted: invalid user input. [kernel] Frama-C aborted: invalid user input.
...@@ -57,6 +57,6 @@ ...@@ -57,6 +57,6 @@
Call to non-ghost function from ghost code is not allowed Call to non-ghost function from ghost code is not allowed
[kernel:ghost:bad-use] ghost_cv_invalid_use.i:162: Warning: [kernel:ghost:bad-use] ghost_cv_invalid_use.i:162: Warning:
Call to non-ghost function from ghost code is not allowed Call to non-ghost function from ghost code is not allowed
[kernel] Warning: warning ghost:bad-use treated as deferred error: [kernel] Deferred error: warning as error ghost:bad-use:
ghost_cv_invalid_use.i:14: 'ng' is a non-ghost lvalue, it cannot be assigned in ghost code ghost_cv_invalid_use.i:14: 'ng' is a non-ghost lvalue, it cannot be assigned in ghost code
[kernel] Frama-C aborted: invalid user input. [kernel] Frama-C aborted: invalid user input.
...@@ -27,6 +27,6 @@ ...@@ -27,6 +27,6 @@
Invalid type for 'param': indirection from non-ghost to ghost Invalid type for 'param': indirection from non-ghost to ghost
[kernel:ghost:bad-use] ghost_cv_var_decl.c:166: Warning: [kernel:ghost:bad-use] ghost_cv_var_decl.c:166: Warning:
Invalid type for 'pptrg': indirection from non-ghost to ghost Invalid type for 'pptrg': indirection from non-ghost to ghost
[kernel] Warning: warning ghost:bad-use treated as deferred error: [kernel] Deferred error: warning as error ghost:bad-use:
ghost_cv_var_decl.c:152: No definition, nor assigns specification for ghost function 'decl_bad_return_type' ghost_cv_var_decl.c:152: No definition, nor assigns specification for ghost function 'decl_bad_return_type'
[kernel] Frama-C aborted: invalid user input. [kernel] Frama-C aborted: invalid user input.
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
Array length is too large. Array length is too large.
[kernel] too_large_array.i:12: Warning: [kernel] too_large_array.i:12: Warning:
Cannot represent length of array as an attribute Cannot represent length of array as an attribute
[kernel] Warning: warning too-large-array treated as deferred error: [kernel] Deferred error: warning as error too-large-array:
too_large_array.i:12: Array length is too large. too_large_array.i:12: Array length is too large.
[kernel] Frama-C aborted: invalid user input. [kernel] Frama-C aborted: invalid user input.
...@@ -29,6 +29,6 @@ ...@@ -29,6 +29,6 @@
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
No logical properties have been reached by the analysis. No logical properties have been reached by the analysis.
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
[kernel] Warning: warning annot-error treated as deferred error: [kernel] Deferred error: warning as error annot-error:
very_large_integers.c:132: Invalid slevel directive. Ignoring code annotation very_large_integers.c:132: Invalid slevel directive. Ignoring code annotation
[kernel] Frama-C aborted: invalid user input. [kernel] Frama-C aborted: invalid user input.
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
Frama_C_entropy_source; x; y; tmp; tmp_0; tmp_1 Frama_C_entropy_source; x; y; tmp; tmp_0; tmp_1
[inout] Inputs for function main_fail: [inout] Inputs for function main_fail:
Frama_C_entropy_source Frama_C_entropy_source
[eva] Warning: warning assigns:missing treated as deferred error: [eva] Deferred error: warning as error assigns:missing:
recursion.c:426: Recursive call to sum_nospec without assigns clause. recursion.c:426: Recursive call to sum_nospec without assigns clause.
Generating probably incomplete assigns to interpret the call. Generating probably incomplete assigns to interpret the call.
Try to increase the -eva-unroll-recursive-calls parameter or write a correct specification for function sum_nospec. Try to increase the -eva-unroll-recursive-calls parameter or write a correct specification for function sum_nospec.
......
...@@ -74,6 +74,6 @@ ...@@ -74,6 +74,6 @@
x; y x; y
Sure outputs: Sure outputs:
w; z w; z
[eva] Warning: warning assigns:missing treated as deferred error: [eva] Deferred error: warning as error assigns:missing:
No assigns specified for function 'f' for which option -eva-use-spec is set. Generating potentially incorrect assigns. No assigns specified for function 'f' for which option -eva-use-spec is set. Generating potentially incorrect assigns.
[kernel] Plug-in eva aborted: invalid user input. [kernel] Plug-in eva aborted: invalid user input.
...@@ -74,6 +74,6 @@ ...@@ -74,6 +74,6 @@
x; y x; y
Sure outputs: Sure outputs:
w; z w; z
[eva] Warning: warning assigns:missing treated as deferred error: [eva] Deferred error: warning as error assigns:missing:
No assigns specified for function 'f' for which option -eva-use-spec is set. Generating potentially incorrect assigns. No assigns specified for function 'f' for which option -eva-use-spec is set. Generating potentially incorrect assigns.
[kernel] Plug-in eva aborted: invalid user input. [kernel] Plug-in eva aborted: invalid user input.
...@@ -30,6 +30,6 @@ ...@@ -30,6 +30,6 @@
vlParameters; tmp vlParameters; tmp
[inout] Inputs for function main: [inout] Inputs for function main:
\nothing \nothing
[eva] User Error: Deferred error message was emitted during execution: [eva] Deferred error message was emitted during execution:
va_list.c:14: functions returning variadic arguments must be stubbed va_list.c:14: functions returning variadic arguments must be stubbed
[kernel] Plug-in eva aborted: invalid user input. [kernel] Plug-in eva aborted: invalid user input.
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