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
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
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
Charles Southerland
frama-c
Commits
0f36418d
Commit
0f36418d
authored
4 years ago
by
Andre Maroneze
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] remove section about analysis scripts (now in userman)
parent
c4b51c33
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/value/main.tex
+2
-32
2 additions, 32 deletions
doc/value/main.tex
with
2 additions
and
32 deletions
doc/value/main.tex
+
2
−
32
View file @
0f36418d
...
...
@@ -477,8 +477,8 @@ on the fly and then used, but results are likely to be unsatisfactory.
Absence of code or ACSL specification is a major issue which often renders
the analysis incorrect. For this reason, we recommend converting this warning
into an error, in order to spot it immediately.
The
{
\em
analysis script template
s
}
,
to be presented in
section~
\ref
{
anal
ysis-scripts
}
, already include this change
.
The
{
\em
analysis script
s
template
}
,
mentioned in the Frama-C User
M
an
u
al
~
\cite
{
FCUserMan
}
, includes it by default
.
\end{important}
To fix the issue, we only need to give Frama-C all of the C sources in
...
...
@@ -2742,8 +2742,6 @@ while the remaining sections (\ref{boucles-traitement},
\ref
{
controlling-approximations
}
and
\ref
{
sec:eva
}
) deal with performance
tuning options. Section
\ref
{
nonterm
}
presents a derived analysis to
obtain information about non-termination.
Finally, section
\ref
{
analysis-scripts
}
presents some scripts and templates
to help bootstrap an analysis and automate some of its steps.
\section
{
Three-step approach
}
...
...
@@ -4269,34 +4267,6 @@ amount of warnings and is rarely needed in practice.
% TODO: plevel, wlevel?
\section
{
Analysis scripts and templates
}
\label
{
analysis-scripts
}
Setting up an analysis is a process that takes some time. Iterating an
analysis (changing the parametrization, adding annotations, etc.) is a process
which can greatly benefit from a structured approach, for instance to avoid
reparsing the sources when only
\Eva
{}
-related options are modified.
For both tasks, Frama-C offers some templates and scripts to help the user.
The files themselves are located mostly in Frama-C's
\verb
|
share
|
directory
(
\verb
|
FRAMAC_SHARE
|
, when running
\verb
|
frama-c-config
|
), but they can be
accessed via the
\verb
|
frama-c-script
|
command, among which we cite:
\begin{description}
\item
[make-template]
: creates a Makefile template in the current directory.
This template follows the recommended three-step setup
(section~
\ref
{
three-step
}
), tracks dependencies (e.g. re-running parsing
when source files are modified) and offers useful targets for the user.
\item
[find-fun]
: useful to find which source files declare/define a given
function; for instance, when there are multiple
\verb
|
main
|
functions.
\item
[flamegraph]
: opens a
{
\em
flamegraph
}
\footnote
{
See
https://github.com/brendangregg/FlameGraph for details about flamegraphs.
}
(a graphical profiling tool) of the analysis performed by
\Eva
{}
.
\end{description}
Running
\verb
|
frama-c-script
|
without arguments outputs the list of
currently-available commands
\footnote
{
The list of commands is liable to change
for each Frama-C release.
}
.
\chapter
{
Inputs, outputs and dependencies
}
\label
{
inoutdeps
}
\vspace
{
2cm
}
...
...
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