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
4ef0c587
Commit
4ef0c587
authored
3 years ago
by
Allan Blanchard
Browse files
Options
Downloads
Patches
Plain Diff
[rte/doc] Update initialized section
parent
0db8f268
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
doc/rte/rte.tex
+6
-8
6 additions, 8 deletions
doc/rte/rte.tex
with
6 additions
and
8 deletions
doc/rte/rte.tex
+
6
−
8
View file @
4ef0c587
...
...
@@ -790,9 +790,10 @@ Finally, there are some cases when reading uninitialized values via a type that
cannot have trap representation (for example
\lstinline
{
unsigned char
}
) should
be allowed, for example writing a
\lstinline
{
memcpy
}
function. In this case, one
can exclude this function from the range of function annotated with
initialization properties using
\lstinline
{
-rte-initialized-ignore
}
.
Note that the excluded functions must preserve the initialization of globals, as
no assertions are generated for them.
initialization properties by removing them from the set of functions to annotate
(e.g.
\lstinline
{
-rte-initialized="@all,-f"
}
). Note that the excluded functions
must preserve the initialization of globals, as no assertions are generated for
them.
\section
{
Undefined behaviors not covered by
\rte
{}}
...
...
@@ -892,11 +893,8 @@ zero \\
\lstinline
|-rte-float-to-int|
&
boolean (true)
&
Generate annotations for
casts from floating-point to integer
\\
\hline
\lstinline
|-rte-initialized|
&
boolean (false)
&
Generate annotations for
initialization
\\
\hline
\lstinline
|-rte-initialized-ignore|
&
set of function (none)
&
Functions to
exclude for initialization annotations
\\
\lstinline
|-rte-initialized|
&
set of function (none)
&
Generate annotations
for initialization for the given set of functions
\\
\hline
\lstinline
|-rte-mem|
&
boolean (true)
&
Generate annotations for validity of
left-values access
\\
...
...
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