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
2c13b065
Commit
2c13b065
authored
1 year ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[wp] last comment
parent
442b0841
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/wp/Probe.ml
+2
-1
2 additions, 1 deletion
src/plugins/wp/Probe.ml
with
2 additions
and
1 deletion
src/plugins/wp/Probe.ml
+
2
−
1
View file @
2c13b065
...
...
@@ -64,7 +64,7 @@ include Datatype.Make_with_collections(S)
let
rec
name_of_host
=
function
|
TVar
{
lv_name
=
x
}
->
x
|
TResult
_
->
"result"
|
TResult
_
->
"result"
(* currently not used, but could be one day *)
|
TMem
t
->
name_of_term
t
and
name_of_term
(
t
:
term
)
=
...
...
@@ -90,6 +90,7 @@ let annotations stmt =
let
parse_probe
:
Acsl_extension
.
extension_typer
=
fun
context
_loc
terms
->
(* use default context of the code-annotation (like an assert clause) *)
let
parse_term
=
context
.
type_term
context
context
.
pre_state
in
Ext_terms
(
List
.
map
parse_term
terms
)
...
...
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