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
8e39b37a
Commit
8e39b37a
authored
2 months ago
by
Andre Maroneze
Committed by
David Bühler
2 months ago
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] use proper printer for variable names
parent
4a3915b3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/eva/engine/compute_functions.ml
+2
-1
2 additions, 1 deletion
src/plugins/eva/engine/compute_functions.ml
src/plugins/eva/utils/library_functions.ml
+2
-2
2 additions, 2 deletions
src/plugins/eva/utils/library_functions.ml
with
4 additions
and
3 deletions
src/plugins/eva/engine/compute_functions.ml
+
2
−
1
View file @
8e39b37a
...
...
@@ -238,7 +238,8 @@ module Make (Abstract: Abstractions.S_with_evaluation) = struct
let
vi
=
Kernel_function
.
get_vi
call
.
kf
in
(* Use vorig_name to avoid message duplication due to variadic renaming. *)
Self
.
feedback
~
once
:
true
"@[using specification for function %s@]"
vi
.
vorig_name
;
"@[using specification for function %a@]"
Printer
.
pp_varname
vi
.
vorig_name
;
if
Cil
.
is_in_libc
vi
.
vattr
then
Library_functions
.
warn_unsupported_spec
vi
.
vorig_name
;
let
states
=
...
...
This diff is collapsed.
Click to expand it.
src/plugins/eva/utils/library_functions.ml
+
2
−
2
View file @
8e39b37a
...
...
@@ -109,9 +109,9 @@ let warn_unsupported_spec name =
let
header
=
Hashtbl
.
find
unsupported_specs_tbl
name
in
Self
.
warning
~
once
:
true
~
current
:
true
~
wkey
:
Self
.
wkey_libc_unsupported_spec
"@[The specification of function '%
s
' is currently not supported by Eva.@ \
"@[The specification of function '%
a
' is currently not supported by Eva.@ \
Consider adding '%a'@ to the analyzed source files.@]"
name
Filepath
.
Normalized
.
pretty
Printer
.
pp_varname
name
Filepath
.
Normalized
.
pretty
(
Filepath
.
Normalized
.
concat
System_config
.
Share
.
libc
header
)
with
Not_found
->
()
...
...
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