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
32c5233e
Commit
32c5233e
authored
4 years ago
by
Allan Blanchard
Browse files
Options
Downloads
Patches
Plain Diff
[wp/doc] new behavior for -wp-unfold-assigns
parent
e4f74d2c
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/plugins/wp/Changelog
+3
-0
3 additions, 0 deletions
src/plugins/wp/Changelog
src/plugins/wp/doc/manual/wp_plugin.tex
+10
-6
10 additions, 6 deletions
src/plugins/wp/doc/manual/wp_plugin.tex
with
13 additions
and
6 deletions
src/plugins/wp/Changelog
+
3
−
0
View file @
32c5233e
...
...
@@ -24,6 +24,9 @@
Plugin WP <next-release>
#########################
- WP [2020-00-00] Option -wp-unfold-assigns is now parameterized by
a max unfold depth and can unfold assigned ranges
(typically arrays)
-* WP [2020-01-20] Fixes opaque structures handling
- TIP [2020-11-06] New tactic: Sequence unrolling
- TIP [2020-11-05] New tactic: Induction
...
...
This diff is collapsed.
Click to expand it.
src/plugins/wp/doc/manual/wp_plugin.tex
+
10
−
6
View file @
32c5233e
...
...
@@ -956,12 +956,16 @@ weakest precondition calculus.
a call (default is:
\texttt
{
yes
}
).
\item
[\tt -wp-(no)-precond-weakening]
discard pre-conditions of side behaviours (sound but
incomplete optimisation, default is:
\texttt
{
no
}
).
\item
[\tt -wp-(no)-unfold-assigns]
prove assigns goal of
\texttt
{
struct
}
compound types field by field. This allows for proving that assigning
a complete structure is still included into an assignment field by field.
This option is not set by default, because it is generally not necessary
and it can generates a large number of verifications for structures
with many (nested) fields (defaults to
\texttt
{
no
}
).
\item
[\tt -wp-unfold-assigns <{\it n}>]
when proving assigns, unfold up to
\textit
{
n
}
levels of
\texttt
{
struct
}
compounds types or access via ranges.
\texttt
{
struct
}
are unfolded field by field, ranges are unfolded cell by
cell (via a universal quantification over the index of the cell).
This allows for proving that assigning a complete structure is still included
into an assignment field by field, or that assigning a range is still included
in a union of subranges. This option is set to
\texttt
{
0
}
by default, because
it is generally not necessary and it can generates a large number of
verifications for structures with many (nested) fields.
\texttt
{
-1
}
enables
full unfolding.
\item
[\tt -wp-(no)-dynamic]
handles calls
\textit
{
via
}
function pointers
thanks to the dedicated
\verb
+
@calls f1,...,fn
+
code annotation (default is:
\texttt
{
yes
}
).
\end{description}
...
...
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