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
6dd62079
Commit
6dd62079
authored
4 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[man] update URL of Frama-C BTS, bump © year and move to CC-BY-SA licence
parent
7325f5b3
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
man/frama-c.1
+118
-132
118 additions, 132 deletions
man/frama-c.1
man/frama-c.1.header
+5
-16
5 additions, 16 deletions
man/frama-c.1.header
man/frama-c.1.md
+3
-3
3 additions, 3 deletions
man/frama-c.1.md
with
126 additions
and
151 deletions
man/frama-c.1
+
118
−
132
View file @
6dd62079
.\"------------------------------------------------------------------------
.\"
.\" This file is part of Frama-C
.
.\" This file is part of Frama-C
documentation
.\"
.\" Copyright (C) 2007-2021
.\" CEA (Commissariat à l'énergie atomique et aux énergies
.\" alternatives)
.\"
.\" you can redistribute it and/or modify it under the terms of the GNU
.\" Lesser General Public License as published by the Free Software
.\" Foundation, version 2.1.
.\"
.\" It is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU Lesser General Public License for more details.
.\"
.\" See the GNU Lesser General Public License version 2.1
.\" for more details (enclosed in the file licenses/LGPLv2.1).
.\"
.\"------------------------------------------------------------------------
.\" you can redistribute it and/or modify it under the terms of the
.\" CC-BY-SA 4.0 license
.\" DO NOT EDIT THIS FILE!
.\" This man file has been generated from a Markdown file (frama-c.1.md)
.\" using pandoc 2.0 or newer. To modify this file, edit the Markdown file
.\" and run `make man/frama-c.1`.
.TH FRAMA-C 1 2021-
0
1-07
.TH FRAMA-C 1 2021-1
0
-07
.SH NAME
.PP
frama-c[.byte] - a static analyzer for C programs
...
...
@@ -85,16 +74,16 @@ Most options that take no parameter have a corresponding
option which has the opposite effect.
.SS Help options
.TP
.B
-help
-help
gives a short usage notice.
.TP
.B
-kernel-help
-kernel-help
prints the list of options recognized by Frama-C\[cq]s kernel
.TP
.B
-explain
-explain
prints a help message for each other option given on the command line
.TP
.B
-verbose \f[I]n\f[R]
-verbose \f[I]n\f[R]
sets verbosity level.
Defaults to 1.
Setting it to 0 will output less progress messages.
...
...
@@ -103,37 +92,35 @@ This level can also be set on a per-\f[I]plugin\f[R] basis, with option
Verbosity level of the kernel can be controlled with option
\f[B]-kernel-verbose\f[R] \f[I]n\f[R].
.TP
.B
-debug \f[I]n\f[R]
-debug \f[I]n\f[R]
sets debugging level.
Defaults to 0, meaning no debugging messages.
This option has the same per-plugin (and kernel) specializations as
\f[B]-verbose\f[R].
.TP
.B
-quiet
-quiet
sets verbosity and debugging level to 0.
.SS Options controlling Frama-C\[cq]s kernel
.TP
.B
-absolute-valid-range \f[I]min-max\f[R]
-absolute-valid-range \f[I]min-max\f[R]
considers that all numerical addresses in the range \f[I]min-max\f[R]
are valid.
Bounds are parsed as OCaml integer constants.
By default, all numerical addresses are considered invalid.
.TP
.B
-add-path \f[I]p1[,p2[\&...,pn]]\f[R]
-add-path \f[I]p1[,p2[\&...,pn]]\f[R]
adds directories \f[I]p1\f[R] through \f[I]pn\f[R] to the list of
directories in which plugins are searched.
.TP
.B \-add\-symbolic\-path \f[I]p1:n1[,p2:n2[\&...,pn:nn]]\f[]
replaces each path \f[I]pi\f[] with the name \f[I]ni\f[] when displaying
file locations in messages.
.RS
.RE
-add-symbolic-path \f[I]p1:n1[,p2:n2[\&...,pn:nn]]\f[R]
replaces each path \f[I]pi\f[R] with the name \f[I]ni\f[R] when
displaying file locations in messages.
.TP
.B
[-no]-aggressive-merging
[-no]-aggressive-merging
merges function definitions modulo renaming.
Defaults to no.
.TP
.B
[-no]-allow-duplication
[-no]-allow-duplication
allows duplication of small blocks during normalization of tests and
loops.
Otherwise, normalization uses labels and gotos.
...
...
@@ -141,53 +128,53 @@ Bigger blocks and blocks with non-trivial control flow are never
duplicated.
Defaults to yes.
.TP
.B
[-no]-annot
[-no]-annot
reads ACSL annotations.
This is the default.
Annotations are pre-processed by default.
Use -no-pp-annot if you don\[cq]t want to expand macros in annotations.
.TP
.B
-autocomplete \f[I]p1,\&...,pn\f[R]
-autocomplete \f[I]p1,\&...,pn\f[R]
lists the options of plugins \f[I]p1,\&...,pn\f[R] in a format suitable
for autocompletion scripts.
.TP
.B
-big-ints-hex \f[I]max\f[R]
-big-ints-hex \f[I]max\f[R]
integers larger than \f[I]max\f[R] are displayed in hexadecimal (by
default, all integers are displayed in decimal).
.TP
.B
-check
-check
performs integrity checks on the internal AST (for developers only).
.TP
.B
[-no]-asm-contracts
[-no]-asm-contracts
generates contracts for assembly code written according to gcc\[cq]s
extended syntax.
Defaults to yes.
.TP
.B
[-no]-asm-contracts-auto-validate
[-no]-asm-contracts-auto-validate
automatically marks contracts generated from asm as valid.
Defaults to no.
.TP
.B
-c11
-c11
enables (partial) C11 compatibility, e.g.\ typedef redefinitions.
Defaults to no.
.TP
.B
[-no]-collapse-call-cast
[-no]-collapse-call-cast
allows implicit cast between the value returned by a function and the
lvalue it is assigned to.
Otherwise, a temporary variable is used and the cast is made explicit.
Defaults to yes.
.TP
.B
[-no]-constfold
[-no]-constfold
folds all syntactically constant expressions in the code before
analyses.
Defaults to no.
.TP
.B
-const-readonly
-const-readonly
variables with const qualifier must be actually constant.
Defaults to yes.
The opposite option is \f[B]-unsafe-writable\f[R].
.TP
.B
[-no]-continue-annot-error
[-no]-continue-annot-error
when analyzing an annotation, the default behavior (the \f[B]-no\f[R]
version of this option) when a typechecking error occurs is to reject
the source file as is the case for typechecking errors within the C
...
...
@@ -201,7 +188,7 @@ code are still fatal, though).
\f[B]Deprecated\f[R]: use \f[B]-kernel-warn-key annot-error\f[R]
instead.
.TP
.B
-cpp-command \f[I]cmd\f[R]
-cpp-command \f[I]cmd\f[R]
uses \f[I]cmd\f[R] as the command to pre-process C files.
Defaults to the \f[B]CPP\f[R] environment variable or to
.RS
...
...
@@ -221,7 +208,7 @@ to mark the position of \f[I]\f[R] and \f[I]\f[R] respectively.
Note that this option is often better replaced by
\f[B]-cpp-extra-args\f[R].
.TP
.B
-cpp-extra-args \f[I]args\f[R]
-cpp-extra-args \f[I]args\f[R]
gives additional arguments to the pre-processor.
Pre-processing annotations is done in two separate pre-processing
stages.
...
...
@@ -233,18 +220,18 @@ pre-processed.
should not be used twice (such as additional include directives or macro
definitions) must thus go there instead of \f[B]-cpp-command\f[R].
.TP
.B
-cpp-extra-args-per-file \f[I]file1:args1,\&...,filen:argsn\f[R]
-cpp-extra-args-per-file \f[I]file1:args1,\&...,filen:argsn\f[R]
like \f[B]-cpp-extra-args\f[R], but the arguments only apply to the
specified files.
.TP
.B
[-no]-cpp-frama-c-compliant
[-no]-cpp-frama-c-compliant
indicates that the chosen preprocessor complies to some Frama-C
requirements, such as accepting the same set of options as GNU cpp, and
accepting architecture-specific options such as -m32/-m64.
Default values depend on the installed preprocessor at configure time.
See also \f[B]-pp-annot\f[R].
.TP
.B
[-no]-autoload-plugins
[-no]-autoload-plugins
when on, load all the dynamic plugins found in the search path (see
\f[B]-print-plugin-path\f[R] for more information on the default search
path).
...
...
@@ -252,28 +239,28 @@ Otherwise, only plugins requested by \f[B]-load-module\f[R] will be
loaded.
Defaults to on.
.TP
.B
-enums \f[I]repr\f[R]
-enums \f[I]repr\f[R]
choose the way the representation of enumerated types is determined.
\f[B]frama-c -enums help\f[R] gives the list of available options.
Default is \f[B]gcc-enums\f[R].
.TP
.B
-float-digits \f[I]n\f[R]
-float-digits \f[I]n\f[R]
when outputting floating-point numbers, display \f[I]n\f[R] digits.
Defaults to 12.
.TP
.B
-float-flush-to-zero
-float-flush-to-zero
floating point operations flush to zero.
.TP
.B
-float-hex
-float-hex
display floats as hexadecimal.
.TP
.B
-float-normal
-float-normal
display floats with the standard OCaml routine.
.TP
.B
-float-relative
-float-relative
display float intervals as [ \f[I]lower_bound\f[R]++\f[I]width\f[R] ].
.TP
.B
[-no]-frama-c-stdlib
[-no]-frama-c-stdlib
adds \f[B]-I$FRAMAC_SHARE/libc\f[R] to the options given to the cpp
command.
If \f[B]-cpp-frama-c-compliant\f[R] is not false, also adds
...
...
@@ -281,7 +268,7 @@ If \f[B]-cpp-frama-c-compliant\f[R] is not false, also adds
header files.
Defaults to yes.
.TP
.B
-implicit-function-declaration \f[I]action\f[R]
-implicit-function-declaration \f[I]action\f[R]
warns or aborts when a function is called before it has been declared.
\f[I]action\f[R] can be one of \f[B]ignore\f[R], \f[B]warn\f[R], or
\f[B]error\f[R].
...
...
@@ -292,34 +279,34 @@ Defaults to \f[B]warn\f[R].
\f[B]Deprecated\f[R]: use \f[B]-kernel-warn-key
typing:implicit-function-declaration\f[R] instead.
.TP
.B
-initialized-padding-locals
-initialized-padding-locals
implicit initialization of locals sets padding bits to 0.
If false, padding bits are left uninitialized.
Defaults to yes.
.TP
.B
-inline-calls \f[I]f1,\&...,fn\f[R]
-inline-calls \f[I]f1,\&...,fn\f[R]
syntactically inlines calls to functions \f[I]f1,\&...,fn\f[R].
Use \f[B]\[at]inline\f[R] to select all functions with attribute
\f[I]inline\f[R].
Recursive functions are inlined only at the first level.
Calls via function pointers are not inlined.
.TP
.B
-journal-disable
-journal-disable
do not output a journal of the current session.
See \f[B]-journal-enable\f[R].
.TP
.B
-journal-enable
-journal-enable
on by default, dumps a journal of all the actions performed during the
current Frama-C session in the form of an OCaml script that can be
replayed with \f[B]-load-script\f[R].
The name of the script can be set with the \f[B]-journal-name\f[R]
option.
.TP
.B
-journal-name \f[I]name\f[R]
-journal-name \f[I]name\f[R]
sets the name of the journal file (without the \f[I].ml\f[R] extension).
Defaults to \f[B]frama_c_journal\f[R].
.TP
.B
-json-compilation-database \f[I]path\f[R]
-json-compilation-database \f[I]path\f[R]
use \f[I]path\f[R] as a JSON compilation database (see
<https://clang.llvm.org/docs/JSONCompilationDatabase.html> for more
information): each file preprocessed by Frama-C will include
...
...
@@ -329,21 +316,21 @@ If \f[I]path\f[R] is a directory, use
\f[B]<path>/compile_commands.json\f[R].
Disabled by default.
.TP
.B
[-no]-keep-comments
[-no]-keep-comments
tries to preserve comments when pretty-printing the source code.
Defaults to no.
.TP
.B
[-no]-keep-switch
[-no]-keep-switch
when \f[B]-simplify-cfg\f[R] is set, keeps switch statements.
Defaults to no.
.TP
.B
-keep-unused-specified-functions
-keep-unused-specified-functions
see \f[B]-remove-unused-specified-functions\f[R].
.TP
.B
-keep-unused-types
-keep-unused-types
see \f[B]-remove-unused-types\f[R].
.TP
.B
-kernel-log \f[I]kind:file\f[R]
-kernel-log \f[I]kind:file\f[R]
copies log messages from the Frama-C\[cq]s kernel to file.
\f[I]kind\f[R] specifies which kinds of messages to be copied
(e.g.\ \f[B]w\f[R] for warnings, \f[B]e\f[R] for errors, etc.).
...
...
@@ -351,7 +338,7 @@ See \f[B]-kernel-help\f[R] for more details.
Can also be set on a per-plugin basis, with option
-\f[I]<plugin>\f[R]-\f[B]log\f[R].
.TP
.B
-kernel-msg-key \f[I]k1,\&...,kn\f[R]
-kernel-msg-key \f[I]k1,\&...,kn\f[R]
controls the emission of messages based on categories.
Use \f[B]-kernel-msg-key help\f[R] to get a list of available
categories, and \f[B]-kernel-msg-key=\[lq]*\[rq]\f[R] to control all
...
...
@@ -364,7 +351,7 @@ Can also be set on a per-plugin basis, with option
-\f[I]<plugin>\f[R]-\f[B]msg-key\f[R].
Note that each plugin has its own set of categories.
.TP
.B
-kernel-warn-key \f[I]k1=a1,\&...,kn=an\f[R]
-kernel-warn-key \f[I]k1=a1,\&...,kn=an\f[R]
controls the emission of warnings based on categories: for each warning
category \f[I]k\f[R], associate action \f[I]a\f[R].
Use \f[B]-kernel-warn-key help\f[R] to get a list of available warning
...
...
@@ -376,36 +363,34 @@ Omitting the action is equivalent to setting it to \f[B]active\f[R].
Warning categories can also be set on a per-plugin basis, with option
-\f[I]<plugin>\f[R]\f[B]-warn-key\f[R].
.TP
.B
[-no]-lib-entry
[-no]-lib-entry
indicates that the entry point is called during program execution.
This implies in particular that global variables cannot be assumed to
have their initial values.
The default is \f[B]-no-lib-entry\f[R]: the entry point is also the
starting point of the program and globals have their initial value.
.TP
.B
-load \f[I]file\f[R]
-load \f[I]file\f[R]
loads the (previously saved) state contained in \f[I]file\f[R].
.TP
.B
-load-module \f[I]SPEC\f[R]
-load-module \f[I]SPEC\f[R]
dynamically load OCaml plug-ins, modules and scripts.
Each \f[I]SPEC\f[R] can be an OCaml source or object file, with or
without extension, or a Findlib package.
Loading order is preserved and additional dependencies can be listed in
*\f[B].depend\f[R] files.
.TP
.B
-load-script \f[I]SPEC\f[R]
-load-script \f[I]SPEC\f[R]
alias for option \f[B]-load-module\f[R].
.TP
.B
-machdep \f[I]machine\f[R]
-machdep \f[I]machine\f[R]
uses \f[I]machine\f[R] as the current machine-dependent configuration
(size of the various integer types, endiandness, \&...).
The list of currently supported machines is available through option
\f[I]-machdep help\f[R].
Default is \f[B]x86_64\f[R].
The environment variable FRAMAC_MACHDEP can be used to override the default
value. The command line parameter still has priority over the default value.
Default is \f[B]x86_32\f[R].
.TP
.B
-main \f[I]f\f[R]
-main \f[I]f\f[R]
sets \f[I]f\f[R] as the entry point of the analysis.
Defaults to \f[B]main\f[R].
By default, it is considered as the starting point of the program under
...
...
@@ -413,24 +398,24 @@ analysis.
Use \f[B]-lib-entry\f[R] if \f[I]f\f[R] is supposed to be called in the
middle of an execution.
.TP
.B
-obfuscate
-obfuscate
prints an obfuscated version of the code (where original identifiers are
replaced by meaningless ones) and exits.
The correspondence table between original and new symbols is kept at the
beginning of the result.
.TP
.B
-ocode \f[I]file\f[R]
-ocode \f[I]file\f[R]
redirects pretty-printed code to \f[I]file\f[R] instead of standard
output.
.TP
.B
[-no]-orig-name
[-no]-orig-name
During the normalization phase, some variables may get renamed when
different variables with the same name can co-exist (e.g.\ a global
variable and a formal parameter).
When this option is on, a message is printed each time this occurs.
Defaults to no.
.TP
.B
[-no]-pp-annot
[-no]-pp-annot
pre-processes annotations.
This is currently only possible when using gcc (or GNU cpp)
pre-processor.
...
...
@@ -438,117 +423,117 @@ The default is to pre-process annotations when the default pre-processor
is identified as GNU or GNU-like.
See also \f[B]-cpp-frama-c-compliant\f[R].
.TP
.B
[-no]-print
[-no]-print
pretty-prints the source code as normalized by CIL.
Defaults to no.
.TP
.B
-print-cpp-commands
-print-cpp-commands
outputs the preprocessing commands for all input files.
.TP
.B
-print-config-json
-print-config-json
outputs extensive Frama-C configuration data in JSON format.
.TP
.B
[-no]-print-libc
[-no]-print-libc
expands \f[B]#include\f[R] directives in the pretty-printed CIL code for
files in the Frama-C standard library.
Defaults to no.
.TP
.B
-print-libpath
-print-libpath
outputs the directory where the Frama-C kernel library is installed.
.TP
.B
-print-path
-print-path
alias of \f[B]-print-share-path\f[R].
.TP
.B
-print-plugin-path
-print-plugin-path
outputs the directory where Frama-C searches its plugins (can be
overridden by the \f[B]FRAMAC_PLUGIN\f[R] variable and the
\f[B]-add-path\f[R] option).
.TP
.B
-print-share-path
-print-share-path
outputs the directory where Frama-C stores its data (can be overridden
by the \f[B]FRAMAC_SHARE\f[R] variable).
.TP
.B
[-no]-remove-exn
[-no]-remove-exn
transforms throw and try/catch statements into normal C functions.
Defaults to no, unless the input source language has an exception
mechanism.
.TP
.B
-remove-inlined \f[I]f1,\&...,fn\f[R]
-remove-inlined \f[I]f1,\&...,fn\f[R]
removes inlined functions \f[I]f1,\&...,fn\f[R] from the AST, which must
have been given to \f[B]-inline-calls\f[R].
Note: this option does not check if the given functions were fully
inlined.
.TP
.B
-remove-projects \f[I]p1,\&...,pn\f[R]
-remove-projects \f[I]p1,\&...,pn\f[R]
removes the given projects \f[I]p1,\&...,pn\f[R].
\f[B]\[at]all_but_current\f[R] removes all projects but the current one.
.TP
.B
-remove-unused-specified-functions
-remove-unused-specified-functions
keeps function prototypes that have an ACSL specification but are not
used in the code.
This is the default.
Functions having the attribute \f[B]FRAMAC_BUILTIN\f[R] are always kept.
.TP
.B
-remove-unused-types
-remove-unused-types
remove types and struct/union/enum declarations that are not referenced
anywhere else in the code.
This is the default.
Use \f[B]-keep-unused-types\f[R] to keep these definitions.
.TP
.B
-safe-arrays
-safe-arrays
for multidimensional arrays or arrays that are fields inside structs,
assumes that all accesses must be in bound (set by default).
The opposite option is \f[B]-unsafe-arrays\f[R].
.TP
.B
-save \f[I]file\f[R]
-save \f[I]file\f[R]
saves Frama-C\[cq]s state into \f[I]file\f[R] after analyses have taken
place.
.TP
.B
-session \f[I]s\f[R]
-session \f[I]s\f[R]
sets \f[I]s\f[R] as the directory in which session files are searched.
.TP
.B
[-no]-set-project-as-default
[-no]-set-project-as-default
the current project becomes the default one (and so future
\f[B]-then\f[R] sequences are applied on it).
Defaults to no.
.TP
.B
[-no]-simplify-cfg
[-no]-simplify-cfg
removes \f[B]break\f[R], \f[B]continue\f[R] and \f[B]switch\f[R]
statements before analyses.
Defaults to no.
.TP
.B
[-no]-simplify-trivial-loops
[-no]-simplify-trivial-loops
simplifies trivial loops such as \f[B]do \&... while (0)\f[R] loops.
Defaults to yes.
.TP
.B
-then
-then
allows one to compose analyses: a first run of Frama-C will occur with
the options before \f[B]-then\f[R] and a second run will be done with
the options after \f[B]-then\f[R] on the current project from the first
run.
.TP
.B
-then-last
-then-last
like \f[B]-then\f[R], but the second group of actions is executed on the
last project created by a program transformer.
.TP
.B
-then-on \f[I]prj\f[R]
-then-on \f[I]prj\f[R]
similar to \f[B]-then\f[R] except that the second run is performed in
project \f[I]prj\f[R].
If no such project exists, Frama-C exits with an error.
.TP
.B
-then-replace
-then-replace
like \f[B]-then-last\f[R], but also removes the previous current
project.
.TP
.B
-time \f[I]file\f[R]
-time \f[I]file\f[R]
appends user time and date in the given file when Frama-C exits.
.TP
.B
-typecheck
-typecheck
forces typechecking of the source files.
This option is only relevant if no further analysis is requested (as
typechecking will implicitly occur before the analysis is launched).
.TP
.B
-ulevel \f[I]n\f[R]
-ulevel \f[I]n\f[R]
syntactically unroll loops \f[I]n\f[R] times before the analysis.
This can be quite costly and some plugins (e.g.\ Eva) provide more
efficient ways to perform the same thing.
...
...
@@ -557,7 +542,7 @@ This can also be activated on a per-loop basis via the \f[B]loop pragma
unroll \f[R] directive.
A negative value for \f[I]n\f[R] will inhibit such pragmas.
.TP
.B
[-no]-ulevel-force
[-no]-ulevel-force
ignores \f[B]UNROLL\f[R] loop pragmas disabling unrolling.
.PP
[-no]-unicode outputs ACSL formulas with UTF-8 characters.
...
...
@@ -566,20 +551,20 @@ When given the \f[B]-no-unicode\f[R] option, Frama-C will use the ASCII
version instead.
See the ACSL manual for the correspondence.
.TP
.B
-unsafe-arrays
-unsafe-arrays
see \f[B]-safe-arrays\f[R].
.TP
.B
[-no]-unspecified-access
[-no]-unspecified-access
checks that read/write accesses occurring in an unspecified order
(according to the C standard\[cq]s notion of sequence points) are
performed on separate locations.
With \f[B]-no-unspecified-access\f[R], assumes that it is always the
case (this is the default).
.TP
.B
-version
-version
outputs the version string of Frama-C.
.TP
.B
-warn-decimal-float \f[I]freq\f[R]
-warn-decimal-float \f[I]freq\f[R]
warns when a floating-point constant cannot be exactly represented
(e.g.\ 0.1).
\f[I]freq\f[R] can be one of \f[B]none\f[R], \f[B]once\f[R], or
...
...
@@ -590,41 +575,41 @@ warns when a floating-point constant cannot be exactly represented
\f[B]Deprecated\f[R]: use \f[B]-kernel-warn-key
parser:decimal-float=once\f[R] (and variants) instead.
.TP
.B
[-no]-warn-invalid-pointer
[-no]-warn-invalid-pointer
generate alarms for invalid pointer arithmetic.
Defaults to no.
.TP
.B
[-no]-warn-left-shift-negative
[-no]-warn-left-shift-negative
generate alarms for signed left shifts on negative values.
Defaults to yes.
.TP
.B
[-no]-warn-right-shift-negative
[-no]-warn-right-shift-negative
generate alarms for signed right shifts on negative values.
Defaults to no.
.TP
.B
[-no]-warn-pointer-downcast
[-no]-warn-pointer-downcast
generates alarms when the downcast of a pointer may exceed the
destination range.
Defaults to yes.
.TP
.B
[-no]-warn-signed-downcast
[-no]-warn-signed-downcast
generates alarms when signed downcasts may exceed the destination range.
Defaults to no.
.TP
.B
[-no]-warn-signed-overflow
[-no]-warn-signed-overflow
generates alarms for signed operations that overflow.
Defaults to yes.
.TP
.B
[-no]-warn-unsigned-downcast
[-no]-warn-unsigned-downcast
generates alarms when unsigned downcasts may exceed the destination
range.
Defaults to no.
.TP
.B
[-no]-warn-unsigned-overflow
[-no]-warn-unsigned-overflow
generates alarms for unsigned operations that overflow.
Defaults to no.
.TP
.B
[-no]-warn-invalid-bool
[-no]-warn-invalid-bool
generates alarms for reads of trap representations of _Bool lvalues.
Defaults to yes.
.SS Plugin-specific options
...
...
@@ -638,22 +623,22 @@ frama-c -plugin-help
will give the list of options that are specific to the plugin.
.SH EXIT STATUS
.TP
.B
0
0
Successful execution
.TP
.B
1
1
Invalid user input
.TP
.B
2
2
User interruption (kill or equivalent)
.TP
.B
3
3
Unimplemented feature
.TP
.B
4 5 6
4 5 6
Internal error
.TP
.B
125
125
Unknown error
.PP
Exit statuses greater than 2 can be considered as a bug (or a feature
...
...
@@ -664,21 +649,22 @@ Frama-C\[cq]s BTS (see below).
It is possible to control the places where Frama-C looks for its files
through the following variables.
.TP
.B
FRAMAC_LIB
FRAMAC_LIB
The directory where kernel\[cq]s compiled interfaces are installed.
.TP
.B
FRAMAC_PLUGIN
FRAMAC_PLUGIN
The directory where Frama-C can find standard plugins.
If you wish to have plugins in several places, use \f[B]-add-path\f[R]
instead.
.TP
.B
FRAMAC_SHARE
FRAMAC_SHARE
The directory where Frama-C data (e.g.\ its version of the standard
library) is installed.
.SH SEE ALSO
.PP
Frama-C user manual: http://frama-c.com/download/frama-c-user-manual.pdf
Frama-C user manual:
https://frama-c.com/download/frama-c-user-manual.pdf
.PP
Frama-C homepage: http://frama-c.com
Frama-C homepage: http
s
://frama-c.com
.PP
Frama-C BTS: http://
bts
.frama-c.com
Frama-C BTS: http
s
://
git
.frama-c.com
/pub/frama-c/issues
This diff is collapsed.
Click to expand it.
man/frama-c.1.header
+
5
−
16
View file @
6dd62079
.\"------------------------------------------------------------------------
.\"
.\" This file is part of Frama-C
.
.\" This file is part of Frama-C
documentation
.\"
.\" Copyright (C) 2007-202
0
.\" Copyright (C) 2007-202
1
.\" CEA (Commissariat à l'énergie atomique et aux énergies
.\" alternatives)
.\"
.\" you can redistribute it and/or modify it under the terms of the GNU
.\" Lesser General Public License as published by the Free Software
.\" Foundation, version 2.1.
.\"
.\" It is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU Lesser General Public License for more details.
.\"
.\" See the GNU Lesser General Public License version 2.1
.\" for more details (enclosed in the file licenses/LGPLv2.1).
.\"
.\"------------------------------------------------------------------------
.\" you can redistribute it and/or modify it under the terms of the
.\" CC-BY-SA 4.0 license
.\" DO NOT EDIT THIS FILE!
.\" This man file has been generated from a Markdown file (frama-c.1.md)
.\" using pandoc 2.0 or newer. To modify this file, edit the Markdown file
.\" and run `make man/frama-c.1`.
.TH FRAMA-C 1 202
0
-10-07
.TH FRAMA-C 1 202
1
-10-07
This diff is collapsed.
Click to expand it.
man/frama-c.1.md
+
3
−
3
View file @
6dd62079
...
...
@@ -547,8 +547,8 @@ is installed.
# SEE ALSO
Frama-C user manual: http://frama-c.com/download/frama-c-user-manual.pdf
Frama-C user manual: http
s
://frama-c.com/download/frama-c-user-manual.pdf
Frama-C homepage: http://frama-c.com
Frama-C homepage: http
s
://frama-c.com
Frama-C BTS: http://
bts
.frama-c.com
Frama-C BTS: http
s
://
git
.frama-c.com
/pub/frama-c/issues
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