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
4c2338d5
Commit
4c2338d5
authored
2 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[userman] document the need of -then between -load and -ast-diff
parent
86b6fa5c
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/userman/user-sources.tex
+7
-1
7 additions, 1 deletion
doc/userman/user-sources.tex
with
7 additions
and
1 deletion
doc/userman/user-sources.tex
+
7
−
1
View file @
4c2338d5
...
@@ -344,7 +344,13 @@ and their dependencies), you can use option \optiondef{-}{ast-diff}.
...
@@ -344,7 +344,13 @@ and their dependencies), you can use option \optiondef{-}{ast-diff}.
It enables computing the difference between a previous AST (loaded via
It enables computing the difference between a previous AST (loaded via
option
\verb
|
-load
|
(Section~
\ref
{
sec:saveload
}
) and the AST computed from the
option
\verb
|
-load
|
(Section~
\ref
{
sec:saveload
}
) and the AST computed from the
current sources. This difference is stored by the
\FramaC
kernel and can be
current sources. This difference is stored by the
\FramaC
kernel and can be
used by plug-ins which support it.
used by plug-ins which support it. Note however that since
\verb
|
-load
|
implies that
files given on the command line are ignored,
\verb
|
-load
|
and
\verb
|
-ast-diff
|
with
the list of C file to consider must be properly sequenced through the use of
\verb
|
-then
|
or one of its variants (Section~
\ref
{
sec:then
}
), as in:
\begin{lstlisting}
[language=shell]
frama-c -load previous.sav -then -ast-diff file1.c file2.c [...]
\end{lstlisting}
{
\em
Note: currently, parsing and type-checking are systematically performed
{
\em
Note: currently, parsing and type-checking are systematically performed
even with this option, and
\verb
|
-ast-diff
|
compares the normalized ASTs.
even with this option, and
\verb
|
-ast-diff
|
compares the normalized ASTs.
...
...
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