Skip to content
Snippets Groups Projects
Commit 4ef0c587 authored by Allan Blanchard's avatar Allan Blanchard
Browse files

[rte/doc] Update initialized section

parent 0db8f268
No related branches found
No related tags found
No related merge requests found
...@@ -790,9 +790,10 @@ Finally, there are some cases when reading uninitialized values via a type that ...@@ -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 cannot have trap representation (for example \lstinline{unsigned char}) should
be allowed, for example writing a \lstinline{memcpy} function. In this case, one be allowed, for example writing a \lstinline{memcpy} function. In this case, one
can exclude this function from the range of function annotated with can exclude this function from the range of function annotated with
initialization properties using \lstinline{-rte-initialized-ignore}. initialization properties by removing them from the set of functions to annotate
Note that the excluded functions must preserve the initialization of globals, as (e.g. \lstinline{-rte-initialized="@all,-f"}). Note that the excluded functions
no assertions are generated for them. must preserve the initialization of globals, as no assertions are generated for
them.
\section{Undefined behaviors not covered by \rte{}} \section{Undefined behaviors not covered by \rte{}}
...@@ -892,11 +893,8 @@ zero \\ ...@@ -892,11 +893,8 @@ zero \\
\lstinline |-rte-float-to-int| & boolean (true) & Generate annotations for \lstinline |-rte-float-to-int| & boolean (true) & Generate annotations for
casts from floating-point to integer \\ casts from floating-point to integer \\
\hline \hline
\lstinline |-rte-initialized| & boolean (false) & Generate annotations for \lstinline |-rte-initialized| & set of function (none) & Generate annotations
initialization \\ for initialization for the given set of functions \\
\hline
\lstinline |-rte-initialized-ignore| & set of function (none) & Functions to
exclude for initialization annotations \\
\hline \hline
\lstinline |-rte-mem| & boolean (true) & Generate annotations for validity of \lstinline |-rte-mem| & boolean (true) & Generate annotations for validity of
left-values access \\ left-values access \\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment