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
ee9eacf3
Commit
ee9eacf3
authored
3 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[useman] proof-read new Standard Library section and add Changelog
parent
a406b9dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/userman/user-changes.tex
+5
-0
5 additions, 0 deletions
doc/userman/user-changes.tex
doc/userman/user-sources.tex
+9
-7
9 additions, 7 deletions
doc/userman/user-sources.tex
with
14 additions
and
7 deletions
doc/userman/user-changes.tex
+
5
−
0
View file @
ee9eacf3
...
...
@@ -3,6 +3,11 @@
This chapter summarizes the changes in this documentation between each
\FramaC
release. First we list changes of the last release.
\section*
{
24.0 (Chromium)
}
\begin{itemize}
\item
\textbf
{
Standard library (libc):
}
Section added
\end{itemize}
\section*
{
23.0 (Vanadium)
}
\begin{itemize}
...
...
This diff is collapsed.
Click to expand it.
doc/userman/user-sources.tex
+
9
−
7
View file @
ee9eacf3
...
...
@@ -418,7 +418,10 @@ indicate the option needed to allow the file to be parsed:
\FramaC
bundles a C standard library in order to help parse and analyze code
that relies on the functions specified in the ISO C standard.
Such library is provided on a best-effort basis, and it is part of the
Furthermore, In order to simplify parsing of code using common open-source libraries,
\FramaC
's standard library also includes some POSIX and non-POSIX headers which
are not part of ISO C.
Such libraries are provided on a best-effort basis, and they are part of the
{
\em
trusted computing base
}
: to ensure its correctness, the specifications
must be ultimately proofread by the user.
...
...
@@ -431,8 +434,11 @@ By default, \FramaC's preprocessing will include the headers of its own standard
library, instead of those installed in the user's machine. This avoids issues
with non-portable, compiler-specific features.
Option
\optiondef
{
-
}{
frama-c-stdlib
}
(set by default)
adds
\texttt
{
-I
\$
FRAMAC
\_
SHARE/libc
}
to the preprocessor command, and also
\texttt
{
-nostdinc
}
if
\optionuse
{
-
}{
cpp-frama-c-compliant
}
is set.
adds
\texttt
{
-I
\$
FRAMAC
\_
SHARE/libc
}
to the preprocessor command, as well as
GCC-specific option
\texttt
{
-nostdinc
}
. If the latter is not recognized by
your preprocessor,
\optionuse
{
-
}{
no-cpp-frama-c-compliant
}
can be given to
\FramaC
(see section~
\ref
{
sec:preprocessing
}
).
The use of
\FramaC
's standard library contains a few caveats:
\begin{itemize}
...
...
@@ -452,10 +458,6 @@ The use of \FramaC's standard library contains a few caveats:
inclusion of such headers and/or definitions in
\FramaC
's standard library.
\end{itemize}
In order to simplify parsing of code using common open-source libraries,
\FramaC
's standard library also includes some POSIX and non-POSIX headers which
are not part of ISO C.
Note that, while
\FramaC
's library intends to offer maximum portability, some
definitions such as numeric constants require actual values to be defined.
For pragmatic reasons, such definitions are most often based on the values
...
...
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