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
c0ef44b1
Commit
c0ef44b1
authored
4 years ago
by
Allan Blanchard
Browse files
Options
Downloads
Patches
Plain Diff
[wp] do not set true on terminates for declarations
parent
8c47b930
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/cfgInfos.ml
+9
-8
9 additions, 8 deletions
src/plugins/wp/cfgInfos.ml
with
9 additions
and
8 deletions
src/plugins/wp/cfgInfos.ml
+
9
−
8
View file @
c0ef44b1
...
@@ -328,14 +328,15 @@ let compile Key.{ kf ; smoking ; bhv ; prop } =
...
@@ -328,14 +328,15 @@ let compile Key.{ kf ; smoking ; bhv ; prop } =
(
fun
p
->
if
WpPropId
.
filter_status
p
then
WpAnnot
.
set_unreachable
p
)
(
fun
p
->
if
WpPropId
.
filter_status
p
then
WpAnnot
.
set_unreachable
p
)
infos
.
doomed
;
infos
.
doomed
;
(* Trivial terminates *)
(* Trivial terminates *)
begin
match
CfgAnnot
.
get_terminates_goal
kf
with
if
Kernel_function
.
is_definition
kf
then
|
Some
(
id
,
_t
)
begin
match
CfgAnnot
.
get_terminates_goal
kf
with
when
selected_terminates
~
prop
kf
|
Some
(
id
,
_t
)
&&
infos
.
calls
=
Fset
.
empty
when
selected_terminates
~
prop
kf
&&
infos
.
no_variant_loops
=
Sset
.
empty
->
&&
infos
.
calls
=
Fset
.
empty
WpAnnot
.
set_trivially_terminates
id
&&
infos
.
no_variant_loops
=
Sset
.
empty
->
|
_
->
()
WpAnnot
.
set_trivially_terminates
id
end
;
|
_
->
()
end
;
(* Collected Infos *)
(* Collected Infos *)
infos
infos
...
...
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