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
94f2f7cc
Commit
94f2f7cc
authored
4 years ago
by
Allan Blanchard
Browse files
Options
Downloads
Patches
Plain Diff
[wp] Add default behavior when it is missing
parent
2cc4f5a7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/wp/cfgGenerator.ml
+4
-3
4 additions, 3 deletions
src/plugins/wp/cfgGenerator.ml
with
4 additions
and
3 deletions
src/plugins/wp/cfgGenerator.ml
+
4
−
3
View file @
94f2f7cc
...
@@ -78,9 +78,10 @@ let apply task ~kf ?bhvs ?prop () =
...
@@ -78,9 +78,10 @@ let apply task ~kf ?bhvs ?prop () =
let
bhvs
=
match
bhvs
with
let
bhvs
=
match
bhvs
with
|
Some
bhvs
->
bhvs
|
Some
bhvs
->
bhvs
|
None
->
|
None
->
match
Annotations
.
behaviors
kf
with
let
bhvs
=
Annotations
.
behaviors
kf
in
|
[]
->
[
empty_default_behavior
]
if
List
.
exists
(
Cil
.
is_default_behavior
)
bhvs
then
bhvs
|
bhvs
->
bhvs
in
else
empty_default_behavior
::
bhvs
in
let
add_mode
kf
m
=
let
add_mode
kf
m
=
let
modes
=
let
modes
=
match
KFmap
.
find_opt
kf
task
.
modes
with
match
KFmap
.
find_opt
kf
task
.
modes
with
...
...
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