Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
2ccb1c9f
Commit
2ccb1c9f
authored
1 year ago
by
Andre Maroneze
Browse files
Options
Downloads
Patches
Plain Diff
[Kernel] do not emit warnings-as-feedback when verbosity is 0
parent
c9b21909
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/kernel_services/plugin_entry_points/log.ml
+7
-7
7 additions, 7 deletions
src/kernel_services/plugin_entry_points/log.ml
src/plugins/e-acsl/tests/memory/oracle/hidden_malloc.res.oracle
+0
-3
0 additions, 3 deletions
...ugins/e-acsl/tests/memory/oracle/hidden_malloc.res.oracle
with
7 additions
and
10 deletions
src/kernel_services/plugin_entry_points/log.ml
+
7
−
7
View file @
2ccb1c9f
...
...
@@ -1133,7 +1133,13 @@ struct
?
current
?
source
?
echo
?
append
text
=
let
status
=
get_warn_status
wkey
in
if
status
<>
Winactive
then
let
kind
=
match
status
with
|
Wfeedback
|
Wfeedback_once
->
Feedback
|
(
Wactive
|
Werror
|
Wabort
|
Wonce
|
Werror_once
|
Winactive
)
->
Warning
in
if
status
<>
Winactive
&&
(
kind
<>
Feedback
||
verbose_atleast
1
)
then
begin
let
action
,
once_suffix
=
match
status
with
...
...
@@ -1157,12 +1163,6 @@ struct
|
Some
e
,
None
|
None
,
Some
e
->
Some
e
|
Some
e1
,
Some
e2
->
Some
(
fun
evt
->
e1
evt
;
e2
evt
)
in
let
kind
=
match
status
with
|
Wfeedback
|
Wfeedback_once
->
Feedback
|
(
Wactive
|
Werror
|
Wabort
|
Wonce
|
Werror_once
|
Winactive
)
->
Warning
in
let
category
=
if
wkey
=
""
then
None
else
Some
wkey
in
let
append_once_suffix
=
(
fun
fmt
->
Format
.
fprintf
fmt
...
...
This diff is collapsed.
Click to expand it.
src/plugins/e-acsl/tests/memory/oracle/hidden_malloc.res.oracle
+
0
−
3
View file @
2ccb1c9f
...
...
@@ -2,6 +2,3 @@
[e-acsl] translation done in project "e-acsl".
[kernel:annot:missing-spec] hidden_malloc.c:11: Warning:
Neither code nor specification for function realpath, generating default assigns from the prototype
[eva:invalid-assigns] hidden_malloc.c:11:
Completely invalid destination for assigns clause *(resolved_name + (0 ..)).
Ignoring.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment