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
ccfa4b35
Commit
ccfa4b35
authored
4 years ago
by
Andre Maroneze
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] normalize style of help messages
parent
88e41d60
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
src/plugins/value/value_parameters.ml
+52
-52
52 additions, 52 deletions
src/plugins/value/value_parameters.ml
with
52 additions
and
52 deletions
src/plugins/value/value_parameters.ml
+
52
−
52
View file @
ccfa4b35
...
@@ -106,7 +106,7 @@ module ForceValues =
...
@@ -106,7 +106,7 @@ module ForceValues =
WithOutput
WithOutput
(
struct
(
struct
let
option_name
=
"-eva"
let
option_name
=
"-eva"
let
help
=
"
c
ompute values"
let
help
=
"
C
ompute values"
let
output_by_default
=
true
let
output_by_default
=
true
end
)
end
)
let
()
=
ForceValues
.
add_aliases
[
"-val"
]
let
()
=
ForceValues
.
add_aliases
[
"-val"
]
...
@@ -225,7 +225,7 @@ module DomainsFunction =
...
@@ -225,7 +225,7 @@ module DomainsFunction =
end
)
end
)
(
struct
(
struct
let
option_name
=
"-eva-domains-function"
let
option_name
=
"-eva-domains-function"
let
help
=
"Enable
s
a domain only for the given functions. \
let
help
=
"Enable a domain only for the given functions. \
<d:f+> enables the domain [d] from function [f] \
<d:f+> enables the domain [d] from function [f] \
(the domain is enabled in all functions called from [f]). \
(the domain is enabled in all functions called from [f]). \
<d:f-> disables the domain [d] from function [f]."
<d:f-> disables the domain [d] from function [f]."
...
@@ -248,7 +248,7 @@ module EqualityCall =
...
@@ -248,7 +248,7 @@ module EqualityCall =
String
String
(
struct
(
struct
let
option_name
=
"-eva-equality-through-calls"
let
option_name
=
"-eva-equality-through-calls"
let
help
=
"
Equalities propagated
through function calls (from the caller \
let
help
=
"
Propagate equalities
through function calls (from the caller \
to the called function): none, only equalities between formal \
to the called function): none, only equalities between formal \
parameters and concrete arguments, or all. "
parameters and concrete arguments, or all. "
let
default
=
"formals"
let
default
=
"formals"
...
@@ -269,7 +269,7 @@ module EqualityCallFunction =
...
@@ -269,7 +269,7 @@ module EqualityCallFunction =
end
)
end
)
(
struct
(
struct
let
option_name
=
"-eva-equality-through-calls-function"
let
option_name
=
"-eva-equality-through-calls-function"
let
help
=
"
Equalities propagated
through calls to specific functions. \
let
help
=
"
Propagate equalities
through calls to specific functions. \
Overrides -eva-equality-call."
Overrides -eva-equality-call."
let
default
=
Kernel_function
.
Map
.
empty
let
default
=
Kernel_function
.
Map
.
empty
let
arg_name
=
"f:none|formals|all"
let
arg_name
=
"f:none|formals|all"
...
@@ -281,8 +281,8 @@ module OctagonCall =
...
@@ -281,8 +281,8 @@ module OctagonCall =
Bool
Bool
(
struct
(
struct
let
option_name
=
"-eva-octagon-through-calls"
let
option_name
=
"-eva-octagon-through-calls"
let
help
=
"
Whether th
e relations inferred by the octagon domain
are
\
let
help
=
"
Propagat
e relations inferred by the octagon domain \
propagated
through function calls. Disabled by default: \
through function calls. Disabled by default: \
the octagon analysis is intra-procedural, starting \
the octagon analysis is intra-procedural, starting \
each function with an empty octagon state, \
each function with an empty octagon state, \
and losing the octagons inferred at the end. \
and losing the octagons inferred at the end. \
...
@@ -299,7 +299,7 @@ module Numerors_Real_Size =
...
@@ -299,7 +299,7 @@ module Numerors_Real_Size =
let
option_name
=
"-eva-numerors-real-size"
let
option_name
=
"-eva-numerors-real-size"
let
arg_name
=
"n"
let
arg_name
=
"n"
let
help
=
let
help
=
"
s
et <n> as the significand size of the MPFR representation \
"
S
et <n> as the significand size of the MPFR representation \
of reals used by the numerors domain (defaults to 128)"
of reals used by the numerors domain (defaults to 128)"
end
)
end
)
let
()
=
add_precision_dep
Numerors_Real_Size
.
parameter
let
()
=
add_precision_dep
Numerors_Real_Size
.
parameter
...
@@ -309,7 +309,7 @@ module Numerors_Mode =
...
@@ -309,7 +309,7 @@ module Numerors_Mode =
String
String
(
struct
(
struct
let
option_name
=
"-eva-numerors-interaction"
let
option_name
=
"-eva-numerors-interaction"
let
help
=
"
d
efine
s
how the numerors domain infers the absolute and the \
let
help
=
"
D
efine how the numerors domain infers the absolute and the \
relative errors:
\n
\
relative errors:
\n
\
- relative: the relative is deduced from the absolute;
\n
\
- relative: the relative is deduced from the absolute;
\n
\
- absolute: the absolute is deduced from the relative;
\n
\
- absolute: the absolute is deduced from the relative;
\n
\
...
@@ -369,7 +369,7 @@ module NoResultsFunctions =
...
@@ -369,7 +369,7 @@ module NoResultsFunctions =
(
struct
(
struct
let
option_name
=
"-eva-no-results-function"
let
option_name
=
"-eva-no-results-function"
let
arg_name
=
"f"
let
arg_name
=
"f"
let
help
=
"
d
o not record the values obtained for the statements of \
let
help
=
"
D
o not record the values obtained for the statements of \
function f"
function f"
end
)
end
)
let
()
=
add_dep
NoResultsFunctions
.
parameter
let
()
=
add_dep
NoResultsFunctions
.
parameter
...
@@ -380,7 +380,7 @@ module ResultsAll =
...
@@ -380,7 +380,7 @@ module ResultsAll =
True
True
(
struct
(
struct
let
option_name
=
"-eva-results"
let
option_name
=
"-eva-results"
let
help
=
"
r
ecord values for each of the statements of the program."
let
help
=
"
R
ecord values for each of the statements of the program."
end
)
end
)
let
()
=
add_dep
ResultsAll
.
parameter
let
()
=
add_dep
ResultsAll
.
parameter
let
()
=
ResultsAll
.
add_aliases
[
"-results"
]
let
()
=
ResultsAll
.
add_aliases
[
"-results"
]
...
@@ -390,7 +390,7 @@ module JoinResults =
...
@@ -390,7 +390,7 @@ module JoinResults =
Bool
Bool
(
struct
(
struct
let
option_name
=
"-eva-join-results"
let
option_name
=
"-eva-join-results"
let
help
=
"
p
recompute consolidated states once Eva is computed"
let
help
=
"
P
recompute consolidated states once Eva is computed"
let
default
=
true
let
default
=
true
end
)
end
)
let
()
=
JoinResults
.
add_aliases
[
"-val-join-results"
]
let
()
=
JoinResults
.
add_aliases
[
"-val-join-results"
]
...
@@ -400,7 +400,7 @@ module EqualityStorage =
...
@@ -400,7 +400,7 @@ module EqualityStorage =
Bool
Bool
(
struct
(
struct
let
option_name
=
"-eva-equality-storage"
let
option_name
=
"-eva-equality-storage"
let
help
=
"Store
s
the states of the equality domain during \
let
help
=
"Store the states of the equality domain during \
the analysis."
the analysis."
let
default
=
true
let
default
=
true
end
)
end
)
...
@@ -411,7 +411,7 @@ module SymbolicLocsStorage =
...
@@ -411,7 +411,7 @@ module SymbolicLocsStorage =
Bool
Bool
(
struct
(
struct
let
option_name
=
"-eva-symbolic-locations-storage"
let
option_name
=
"-eva-symbolic-locations-storage"
let
help
=
"Store
s
the states of the symbolic locations domain during \
let
help
=
"Store the states of the symbolic locations domain during \
the analysis."
the analysis."
let
default
=
true
let
default
=
true
end
)
end
)
...
@@ -422,7 +422,7 @@ module GaugesStorage =
...
@@ -422,7 +422,7 @@ module GaugesStorage =
Bool
Bool
(
struct
(
struct
let
option_name
=
"-eva-gauges-storage"
let
option_name
=
"-eva-gauges-storage"
let
help
=
"Store
s
the states of the gauges domain during the analysis."
let
help
=
"Store the states of the gauges domain during the analysis."
let
default
=
true
let
default
=
true
end
)
end
)
let
()
=
add_precision_dep
GaugesStorage
.
parameter
let
()
=
add_precision_dep
GaugesStorage
.
parameter
...
@@ -432,7 +432,7 @@ module ApronStorage =
...
@@ -432,7 +432,7 @@ module ApronStorage =
Bool
Bool
(
struct
(
struct
let
option_name
=
"-eva-apron-storage"
let
option_name
=
"-eva-apron-storage"
let
help
=
"Store
s
the states of the apron domains during the \
let
help
=
"Store the states of the apron domains during the \
analysis."
analysis."
let
default
=
false
let
default
=
false
end
)
end
)
...
@@ -443,7 +443,7 @@ module BitwiseOffsmStorage =
...
@@ -443,7 +443,7 @@ module BitwiseOffsmStorage =
Bool
Bool
(
struct
(
struct
let
option_name
=
"-eva-bitwise-storage"
let
option_name
=
"-eva-bitwise-storage"
let
help
=
"Store
s
the states of the bitwise domain during the \
let
help
=
"Store the states of the bitwise domain during the \
analysis."
analysis."
let
default
=
true
let
default
=
true
end
)
end
)
...
@@ -470,7 +470,7 @@ module UndefinedPointerComparisonPropagateAll =
...
@@ -470,7 +470,7 @@ module UndefinedPointerComparisonPropagateAll =
False
False
(
struct
(
struct
let
option_name
=
"-eva-undefined-pointer-comparison-propagate-all"
let
option_name
=
"-eva-undefined-pointer-comparison-propagate-all"
let
help
=
"
i
f the target program appears to contain undefined pointer \
let
help
=
"
I
f the target program appears to contain undefined pointer \
comparisons, propagate both outcomes {0; 1} in addition to \
comparisons, propagate both outcomes {0; 1} in addition to \
the emission of an alarm"
the emission of an alarm"
end
)
end
)
...
@@ -484,7 +484,7 @@ module WarnPointerComparison =
...
@@ -484,7 +484,7 @@ module WarnPointerComparison =
String
String
(
struct
(
struct
let
option_name
=
"-eva-warn-undefined-pointer-comparison"
let
option_name
=
"-eva-warn-undefined-pointer-comparison"
let
help
=
"
w
arn on all pointer comparisons, on comparisons where \
let
help
=
"
W
arn on all pointer comparisons, on comparisons where \
the arguments have pointer type (default), or never warn"
the arguments have pointer type (default), or never warn"
let
default
=
"pointer"
let
default
=
"pointer"
let
arg_name
=
"all|pointer|none"
let
arg_name
=
"all|pointer|none"
...
@@ -557,7 +557,7 @@ module WarnCopyIndeterminate =
...
@@ -557,7 +557,7 @@ module WarnCopyIndeterminate =
(
struct
(
struct
let
option_name
=
"-eva-warn-copy-indeterminate"
let
option_name
=
"-eva-warn-copy-indeterminate"
let
arg_name
=
"f | @all"
let
arg_name
=
"f | @all"
let
help
=
"
w
arn when a statement of the specified functions copies a \
let
help
=
"
W
arn when a statement of the specified functions copies a \
value that may be indeterminate (uninitialized or containing escaping address). \
value that may be indeterminate (uninitialized or containing escaping address). \
Set by default; can be deactivated for function 'f' by '=-f', or for all \
Set by default; can be deactivated for function 'f' by '=-f', or for all \
functions by '=-@all'."
functions by '=-@all'."
...
@@ -600,7 +600,7 @@ module AutomaticContextMaxDepth =
...
@@ -600,7 +600,7 @@ module AutomaticContextMaxDepth =
let
option_name
=
"-eva-context-depth"
let
option_name
=
"-eva-context-depth"
let
default
=
2
let
default
=
2
let
arg_name
=
"n"
let
arg_name
=
"n"
let
help
=
"
u
se <n> as the depth of the default context for Eva. (defaults to 2)"
let
help
=
"
U
se <n> as the depth of the default context for Eva. (defaults to 2)"
end
)
end
)
let
()
=
add_correctness_dep
AutomaticContextMaxDepth
.
parameter
let
()
=
add_correctness_dep
AutomaticContextMaxDepth
.
parameter
let
()
=
AutomaticContextMaxDepth
.
add_aliases
[
"-context-depth"
]
let
()
=
AutomaticContextMaxDepth
.
add_aliases
[
"-context-depth"
]
...
@@ -612,7 +612,7 @@ module AutomaticContextMaxWidth =
...
@@ -612,7 +612,7 @@ module AutomaticContextMaxWidth =
let
option_name
=
"-eva-context-width"
let
option_name
=
"-eva-context-width"
let
default
=
2
let
default
=
2
let
arg_name
=
"n"
let
arg_name
=
"n"
let
help
=
"
u
se <n> as the width of the default context for Eva. (defaults to 2)"
let
help
=
"
U
se <n> as the width of the default context for Eva. (defaults to 2)"
end
)
end
)
let
()
=
AutomaticContextMaxWidth
.
set_range
~
min
:
1
~
max
:
max_int
let
()
=
AutomaticContextMaxWidth
.
set_range
~
min
:
1
~
max
:
max_int
let
()
=
add_correctness_dep
AutomaticContextMaxWidth
.
parameter
let
()
=
add_correctness_dep
AutomaticContextMaxWidth
.
parameter
...
@@ -623,7 +623,7 @@ module AllocatedContextValid =
...
@@ -623,7 +623,7 @@ module AllocatedContextValid =
False
False
(
struct
(
struct
let
option_name
=
"-eva-context-valid-pointers"
let
option_name
=
"-eva-context-valid-pointers"
let
help
=
"
o
nly allocate valid pointers until context-depth, \
let
help
=
"
O
nly allocate valid pointers until context-depth, \
and then use NULL (defaults to false)"
and then use NULL (defaults to false)"
end
)
end
)
let
()
=
add_correctness_dep
AllocatedContextValid
.
parameter
let
()
=
add_correctness_dep
AllocatedContextValid
.
parameter
...
@@ -688,7 +688,7 @@ module WideningDelay =
...
@@ -688,7 +688,7 @@ module WideningDelay =
let
option_name
=
"-eva-widening-delay"
let
option_name
=
"-eva-widening-delay"
let
arg_name
=
"n"
let
arg_name
=
"n"
let
help
=
let
help
=
"
d
o not widen before the <n>-th iteration (defaults to 3)"
"
D
o not widen before the <n>-th iteration (defaults to 3)"
end
)
end
)
let
()
=
WideningDelay
.
set_range
~
min
:
1
~
max
:
max_int
let
()
=
WideningDelay
.
set_range
~
min
:
1
~
max
:
max_int
let
()
=
WideningDelay
.
add_aliases
[
"-wlevel"
]
let
()
=
WideningDelay
.
add_aliases
[
"-wlevel"
]
...
@@ -702,7 +702,7 @@ module WideningPeriod =
...
@@ -702,7 +702,7 @@ module WideningPeriod =
let
option_name
=
"-eva-widening-period"
let
option_name
=
"-eva-widening-period"
let
arg_name
=
"n"
let
arg_name
=
"n"
let
help
=
let
help
=
"
a
fter the first widening, widen each <n> iterations (defaults to 2)"
"
A
fter the first widening, widen each <n> iterations (defaults to 2)"
end
)
end
)
let
()
=
WideningDelay
.
set_range
~
min
:
1
~
max
:
max_int
let
()
=
WideningDelay
.
set_range
~
min
:
1
~
max
:
max_int
let
()
=
add_precision_dep
WideningPeriod
.
parameter
let
()
=
add_precision_dep
WideningPeriod
.
parameter
...
@@ -716,7 +716,7 @@ module SemanticUnrollingLevel =
...
@@ -716,7 +716,7 @@ module SemanticUnrollingLevel =
let
option_name
=
"-eva-slevel"
let
option_name
=
"-eva-slevel"
let
arg_name
=
"n"
let
arg_name
=
"n"
let
help
=
let
help
=
"
s
uperpose up to <n> states when unrolling control flow. \
"
S
uperpose up to <n> states when unrolling control flow. \
The larger n, the more precise and expensive the analysis \
The larger n, the more precise and expensive the analysis \
(defaults to 0)"
(defaults to 0)"
end
)
end
)
...
@@ -742,7 +742,7 @@ module SlevelFunction =
...
@@ -742,7 +742,7 @@ module SlevelFunction =
(
struct
(
struct
let
option_name
=
"-eva-slevel-function"
let
option_name
=
"-eva-slevel-function"
let
arg_name
=
"f:n"
let
arg_name
=
"f:n"
let
help
=
"
o
verride slevel with <n> when analyzing <f>"
let
help
=
"
O
verride slevel with <n> when analyzing <f>"
let
default
=
Kernel_function
.
Map
.
empty
let
default
=
Kernel_function
.
Map
.
empty
end
)
end
)
let
()
=
add_precision_dep
SlevelFunction
.
parameter
let
()
=
add_precision_dep
SlevelFunction
.
parameter
...
@@ -755,7 +755,7 @@ module SlevelMergeAfterLoop =
...
@@ -755,7 +755,7 @@ module SlevelMergeAfterLoop =
let
option_name
=
"-eva-slevel-merge-after-loop"
let
option_name
=
"-eva-slevel-merge-after-loop"
let
arg_name
=
"f | @all"
let
arg_name
=
"f | @all"
let
help
=
let
help
=
"
w
hen set, the different execution paths that originate from the body \
"
W
hen set, the different execution paths that originate from the body \
of a loop are merged before entering the next excution."
of a loop are merged before entering the next excution."
end
)
end
)
let
()
=
add_precision_dep
SlevelMergeAfterLoop
.
parameter
let
()
=
add_precision_dep
SlevelMergeAfterLoop
.
parameter
...
@@ -769,7 +769,7 @@ module MinLoopUnroll =
...
@@ -769,7 +769,7 @@ module MinLoopUnroll =
let
arg_name
=
"n"
let
arg_name
=
"n"
let
default
=
0
let
default
=
0
let
help
=
let
help
=
"
u
nroll <n> loop iterations for each loop, regardless of the slevel \
"
U
nroll <n> loop iterations for each loop, regardless of the slevel \
settings and the number of states already propagated. \
settings and the number of states already propagated. \
Can be overwritten on a case-by-case basis by loop unroll annotations."
Can be overwritten on a case-by-case basis by loop unroll annotations."
end
)
end
)
...
@@ -783,7 +783,7 @@ module AutoLoopUnroll =
...
@@ -783,7 +783,7 @@ module AutoLoopUnroll =
let
option_name
=
"-eva-auto-loop-unroll"
let
option_name
=
"-eva-auto-loop-unroll"
let
arg_name
=
"n"
let
arg_name
=
"n"
let
default
=
0
let
default
=
0
let
help
=
"
l
imit of the automatic loop unrolling: all loops whose \
let
help
=
"
L
imit of the automatic loop unrolling: all loops whose \
number of iterations can be easily bounded by <n> \
number of iterations can be easily bounded by <n> \
are completely unrolled."
are completely unrolled."
end
)
end
)
...
@@ -798,7 +798,7 @@ module DefaultLoopUnroll =
...
@@ -798,7 +798,7 @@ module DefaultLoopUnroll =
let
arg_name
=
"n"
let
arg_name
=
"n"
let
default
=
100
let
default
=
100
let
help
=
let
help
=
"
d
efine
s
the default limit for loop unroll annotations that do \
"
D
efine the default limit for loop unroll annotations that do \
not explicitly provide a limit."
not explicitly provide a limit."
end
)
end
)
let
()
=
add_precision_dep
DefaultLoopUnroll
.
parameter
let
()
=
add_precision_dep
DefaultLoopUnroll
.
parameter
...
@@ -812,7 +812,7 @@ module HistoryPartitioning =
...
@@ -812,7 +812,7 @@ module HistoryPartitioning =
let
arg_name
=
"n"
let
arg_name
=
"n"
let
default
=
0
let
default
=
0
let
help
=
let
help
=
"
k
eep states distinct as long as the <n> last branching in their \
"
K
eep states distinct as long as the <n> last branching in their \
traces are also distinct. (A value of 0 deactivates this feature)"
traces are also distinct. (A value of 0 deactivates this feature)"
end
)
end
)
let
()
=
add_precision_dep
HistoryPartitioning
.
parameter
let
()
=
add_precision_dep
HistoryPartitioning
.
parameter
...
@@ -823,7 +823,7 @@ module ValuePartitioning =
...
@@ -823,7 +823,7 @@ module ValuePartitioning =
String_set
String_set
(
struct
(
struct
let
option_name
=
"-eva-partition-value"
let
option_name
=
"-eva-partition-value"
let
help
=
"
p
artition the space of reachable states according to the \
let
help
=
"
P
artition the space of reachable states according to the \
possible values of the global(s) variable(s) V."
possible values of the global(s) variable(s) V."
let
arg_name
=
"V"
let
arg_name
=
"V"
end
)
end
)
...
@@ -836,8 +836,8 @@ module SplitLimit =
...
@@ -836,8 +836,8 @@ module SplitLimit =
let
option_name
=
"-eva-split-limit"
let
option_name
=
"-eva-split-limit"
let
arg_name
=
"N"
let
arg_name
=
"N"
let
default
=
100
let
default
=
100
let
help
=
"
p
revent
s the
split annotations or -eva-partition-value
to
\
let
help
=
"
P
revent split annotations or -eva-partition-value
from
\
enumerat
e
more than N cases"
enumerat
ing
more than N cases"
end
)
end
)
let
()
=
add_precision_dep
SplitLimit
.
parameter
let
()
=
add_precision_dep
SplitLimit
.
parameter
let
()
=
SplitLimit
.
set_range
0
max_int
let
()
=
SplitLimit
.
set_range
0
max_int
...
@@ -860,7 +860,7 @@ module SplitReturnFunction =
...
@@ -860,7 +860,7 @@ module SplitReturnFunction =
(
struct
(
struct
let
option_name
=
"-eva-split-return-function"
let
option_name
=
"-eva-split-return-function"
let
arg_name
=
"f:n"
let
arg_name
=
"f:n"
let
help
=
"
s
plit return states of function <f> according to \
let
help
=
"
S
plit return states of function <f> according to \
\\
result == n and
\\
result != n"
\\
result == n and
\\
result != n"
let
default
=
Kernel_function
.
Map
.
empty
let
default
=
Kernel_function
.
Map
.
empty
end
)
end
)
...
@@ -874,7 +874,7 @@ module SplitReturn =
...
@@ -874,7 +874,7 @@ module SplitReturn =
let
option_name
=
"-eva-split-return"
let
option_name
=
"-eva-split-return"
let
arg_name
=
"mode"
let
arg_name
=
"mode"
let
default
=
""
let
default
=
""
let
help
=
"
w
hen 'mode' is a number, or 'full', this is equivalent \
let
help
=
"
W
hen 'mode' is a number, or 'full', this is equivalent \
to -eva-split-return-function f:mode for all functions f. \
to -eva-split-return-function f:mode for all functions f. \
When mode is 'auto', automatically split states at the end \
When mode is 'auto', automatically split states at the end \
of all functions, according to the function return code"
of all functions, according to the function return code"
...
@@ -941,7 +941,7 @@ module BuiltinsOverrides =
...
@@ -941,7 +941,7 @@ module BuiltinsOverrides =
(
struct
(
struct
let
option_name
=
"-eva-builtin"
let
option_name
=
"-eva-builtin"
let
arg_name
=
"f:ffc"
let
arg_name
=
"f:ffc"
let
help
=
"
w
hen analyzing function <f>, try to use Frama-C builtin \
let
help
=
"
W
hen analyzing function <f>, try to use Frama-C builtin \
<ffc> instead. \
<ffc> instead. \
Fall back to <f> if <ffc> cannot handle its arguments."
Fall back to <f> if <ffc> cannot handle its arguments."
let
default
=
Kernel_function
.
Map
.
empty
let
default
=
Kernel_function
.
Map
.
empty
...
@@ -971,7 +971,7 @@ module BuiltinsList =
...
@@ -971,7 +971,7 @@ module BuiltinsList =
False
False
(
struct
(
struct
let
option_name
=
"-eva-builtins-list"
let
option_name
=
"-eva-builtins-list"
let
help
=
"List
s the
existing builtins, and which functions they \
let
help
=
"List existing builtins, and which functions they \
are automatically associated to (if any)"
are automatically associated to (if any)"
end
)
end
)
let
()
=
BuiltinsList
.
add_aliases
[
"-val-builtins-list"
]
let
()
=
BuiltinsList
.
add_aliases
[
"-val-builtins-list"
]
...
@@ -1008,7 +1008,7 @@ module LinearLevelFunction =
...
@@ -1008,7 +1008,7 @@ module LinearLevelFunction =
(
struct
(
struct
let
option_name
=
"-eva-subdivide-non-linear-function"
let
option_name
=
"-eva-subdivide-non-linear-function"
let
arg_name
=
"f:n"
let
arg_name
=
"f:n"
let
help
=
"
o
verride the global option -eva-subdivide-non-linear with <n>\
let
help
=
"
O
verride the global option -eva-subdivide-non-linear with <n>\
when analyzing the function <f>."
when analyzing the function <f>."
let
default
=
Kernel_function
.
Map
.
empty
let
default
=
Kernel_function
.
Map
.
empty
end
)
end
)
...
@@ -1021,7 +1021,7 @@ module UsePrototype =
...
@@ -1021,7 +1021,7 @@ module UsePrototype =
(
struct
(
struct
let
option_name
=
"-eva-use-spec"
let
option_name
=
"-eva-use-spec"
let
arg_name
=
"f1,..,fn"
let
arg_name
=
"f1,..,fn"
let
help
=
"
u
se the ACSL specification of the functions instead of \
let
help
=
"
U
se the ACSL specification of the functions instead of \
their definitions"
their definitions"
end
)
end
)
let
()
=
add_precision_dep
UsePrototype
.
parameter
let
()
=
add_precision_dep
UsePrototype
.
parameter
...
@@ -1032,7 +1032,7 @@ module SkipLibcSpecs =
...
@@ -1032,7 +1032,7 @@ module SkipLibcSpecs =
True
True
(
struct
(
struct
let
option_name
=
"-eva-skip-stdlib-specs"
let
option_name
=
"-eva-skip-stdlib-specs"
let
help
=
"
s
kip ACSL specifications on functions originating from the \
let
help
=
"
S
kip ACSL specifications on functions originating from the \
standard library of Frama-C, when their bodies are evaluated"
standard library of Frama-C, when their bodies are evaluated"
end
)
end
)
let
()
=
add_precision_dep
SkipLibcSpecs
.
parameter
let
()
=
add_precision_dep
SkipLibcSpecs
.
parameter
...
@@ -1044,7 +1044,7 @@ module RmAssert =
...
@@ -1044,7 +1044,7 @@ module RmAssert =
True
True
(
struct
(
struct
let
option_name
=
"-eva-remove-redundant-alarms"
let
option_name
=
"-eva-remove-redundant-alarms"
let
help
=
"
a
fter the analysis, try to remove redundant alarms, \
let
help
=
"
A
fter the analysis, try to remove redundant alarms, \
so that the user needs to inspect fewer of them"
so that the user needs to inspect fewer of them"
end
)
end
)
let
()
=
add_precision_dep
RmAssert
.
parameter
let
()
=
add_precision_dep
RmAssert
.
parameter
...
@@ -1078,7 +1078,7 @@ module ArrayPrecisionLevel =
...
@@ -1078,7 +1078,7 @@ module ArrayPrecisionLevel =
let
default
=
200
let
default
=
200
let
option_name
=
"-eva-plevel"
let
option_name
=
"-eva-plevel"
let
arg_name
=
"n"
let
arg_name
=
"n"
let
help
=
"
u
se <n> as the precision level for arrays accesses. \
let
help
=
"
U
se <n> as the precision level for arrays accesses. \
Array accesses are precise as long as the interval for the index contains \
Array accesses are precise as long as the interval for the index contains \
less than n values. (defaults to 200)"
less than n values. (defaults to 200)"
end
)
end
)
...
@@ -1102,7 +1102,7 @@ module SaveFunctionState =
...
@@ -1102,7 +1102,7 @@ module SaveFunctionState =
(
struct
(
struct
let
option_name
=
"-eva-save-fun-state"
let
option_name
=
"-eva-save-fun-state"
let
arg_name
=
"function:filename"
let
arg_name
=
"function:filename"
let
help
=
"
s
ave state of function <function> in file <filename>"
let
help
=
"
Experimental. S
ave state of function <function> in file <filename>"
let
default
=
Kernel_function
.
Map
.
empty
let
default
=
Kernel_function
.
Map
.
empty
end
)
end
)
let
()
=
SaveFunctionState
.
add_aliases
[
"-val-save-fun-state"
]
let
()
=
SaveFunctionState
.
add_aliases
[
"-val-save-fun-state"
]
...
@@ -1118,7 +1118,7 @@ module LoadFunctionState =
...
@@ -1118,7 +1118,7 @@ module LoadFunctionState =
(
struct
(
struct
let
option_name
=
"-eva-load-fun-state"
let
option_name
=
"-eva-load-fun-state"
let
arg_name
=
"function:filename"
let
arg_name
=
"function:filename"
let
help
=
"
l
oad state of function <function> from file <filename>"
let
help
=
"
Experimental. L
oad state of function <function> from file <filename>"
let
default
=
Kernel_function
.
Map
.
empty
let
default
=
Kernel_function
.
Map
.
empty
end
)
end
)
let
()
=
LoadFunctionState
.
add_aliases
[
"-val-load-fun-state"
]
let
()
=
LoadFunctionState
.
add_aliases
[
"-val-load-fun-state"
]
...
@@ -1227,7 +1227,7 @@ module ValPerfFlamegraphs =
...
@@ -1227,7 +1227,7 @@ module ValPerfFlamegraphs =
String
String
(
struct
(
struct
let
option_name
=
"-eva-flamegraph"
let
option_name
=
"-eva-flamegraph"
let
help
=
"Dump
s
a summary of the time spent analyzing function calls \
let
help
=
"Dump a summary of the time spent analyzing function calls \
in a format suitable for the Flamegraph tool \
in a format suitable for the Flamegraph tool \
(http://www.brendangregg.com/flamegraphs.html)"
(http://www.brendangregg.com/flamegraphs.html)"
let
arg_name
=
"file"
let
arg_name
=
"file"
...
@@ -1264,7 +1264,7 @@ module AlarmsWarnings =
...
@@ -1264,7 +1264,7 @@ module AlarmsWarnings =
(
struct
(
struct
let
option_name
=
"-val-warn-on-alarms"
let
option_name
=
"-val-warn-on-alarms"
let
help
=
"[DEPRECATED: use warning key alarm to manage alarms] \
let
help
=
"[DEPRECATED: use warning key alarm to manage alarms] \
i
f set (default), possible alarms are printed in \
I
f set (default), possible alarms are printed in \
the analysis log as warnings, otherwise as plain feedback"
the analysis log as warnings, otherwise as plain feedback"
end
)
end
)
...
@@ -1292,7 +1292,7 @@ module ReportRedStatuses =
...
@@ -1292,7 +1292,7 @@ module ReportRedStatuses =
let
option_name
=
"-eva-report-red-statuses"
let
option_name
=
"-eva-report-red-statuses"
let
arg_name
=
"filename"
let
arg_name
=
"filename"
let
default
=
""
let
default
=
""
let
help
=
"
o
utput the list of
\"
red properties
\"
in a csv file of the \
let
help
=
"
O
utput the list of
\"
red properties
\"
in a csv file of the \
given name. These are the properties which were invalid for \
given name. These are the properties which were invalid for \
some states. Their consolidated status may not be invalid, \
some states. Their consolidated status may not be invalid, \
but they should often be investigated first."
but they should often be investigated first."
...
@@ -1303,7 +1303,7 @@ module NumerorsLogFile =
...
@@ -1303,7 +1303,7 @@ module NumerorsLogFile =
String
String
(
struct
(
struct
let
option_name
=
"-eva-numerors-log-file"
let
option_name
=
"-eva-numerors-log-file"
let
help
=
"The Numerors
D
omain will save each call to the DPRINT \
let
help
=
"The Numerors
d
omain will save each call to the DPRINT \
function in the given file"
function in the given file"
let
arg_name
=
"file"
let
arg_name
=
"file"
let
default
=
""
let
default
=
""
...
@@ -1358,7 +1358,7 @@ module StopAtNthAlarm =
...
@@ -1358,7 +1358,7 @@ module StopAtNthAlarm =
let
option_name
=
"-eva-stop-at-nth-alarm"
let
option_name
=
"-eva-stop-at-nth-alarm"
let
default
=
max_int
let
default
=
max_int
let
arg_name
=
"n"
let
arg_name
=
"n"
let
help
=
"Abort
s
the analysis when the nth alarm is emitted."
let
help
=
"Abort the analysis when the nth alarm is emitted."
end
)
end
)
let
()
=
StopAtNthAlarm
.
add_aliases
[
"-val-stop-at-nth-alarm"
]
let
()
=
StopAtNthAlarm
.
add_aliases
[
"-val-stop-at-nth-alarm"
]
...
@@ -1455,7 +1455,7 @@ module AllocFunctions =
...
@@ -1455,7 +1455,7 @@ module AllocFunctions =
(
struct
(
struct
let
option_name
=
"-eva-alloc-functions"
let
option_name
=
"-eva-alloc-functions"
let
arg_name
=
"f1,...,fn"
let
arg_name
=
"f1,...,fn"
let
help
=
"Control
s
call site creation for dynamically allocated bases. \
let
help
=
"Control call site creation for dynamically allocated bases. \
Dynamic allocation builtins use the call sites of \
Dynamic allocation builtins use the call sites of \
malloc/calloc/realloc to know \
malloc/calloc/realloc to know \
where to create new bases. This detection does not work for \
where to create new bases. This detection does not work for \
...
@@ -1484,7 +1484,7 @@ module MallocLevel =
...
@@ -1484,7 +1484,7 @@ module MallocLevel =
let
option_name
=
"-eva-mlevel"
let
option_name
=
"-eva-mlevel"
let
default
=
0
let
default
=
0
let
arg_name
=
"m"
let
arg_name
=
"m"
let
help
=
"
s
et
s
to [m] the number of precise dynamic allocations \
let
help
=
"
S
et to [m] the number of precise dynamic allocations \
besides the initial one, for each callstack (defaults to 0)"
besides the initial one, for each callstack (defaults to 0)"
end
)
end
)
let
()
=
MallocLevel
.
add_aliases
[
"-val-mlevel"
]
let
()
=
MallocLevel
.
add_aliases
[
"-val-mlevel"
]
...
...
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