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
a3117685
Commit
a3117685
authored
4 years ago
by
Andre Maroneze
Committed by
Valentin Perrelle
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Analysis-scripts] update help message
parent
f0949d57
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
bin/frama-c-script
+17
-17
17 additions, 17 deletions
bin/frama-c-script
with
17 additions
and
17 deletions
bin/frama-c-script
+
17
−
17
View file @
a3117685
...
...
@@ -35,27 +35,27 @@ usage() {
echo " Display this help message and exit."
echo ""
echo " - make-template [dir]"
echo " Interactively prepares a template for
running analysis script
s,"
echo " writing it to
[
dir/GNUmakefile
].
[d
ir] is [
.frama-c]
if omitted
."
echo " Interactively prepares a template for
analyse
s,"
echo " writing it to dir/GNUmakefile [d
efault:
.frama-c]."
echo ""
echo " - make-path"
echo " - make-path
[dir]
"
echo " [for Frama-C developers and advanced users without Frama-C in the path]"
echo " Creates a
frama-c-
path.mk file in
the current working directory
."
echo " Creates a path.mk file in
dir [default: .frama-c]
."
echo ""
echo " - list-files [path/to/compile_commands.json]"
echo " Lists all sources in the given compile_commands.json"
echo "
(
default
s to '
./compile_commands.json
' if omitted)
."
echo "
[
default
:
./compile_commands.json
]
."
echo " Also lists files defining a 'main' function"
echo " (heuristics-based; neither correct nor complete)."
echo ""
echo " - flamegraph
<
flamegraph.txt
>
[dir]"
echo " Generates flamegraph.svg and flamegraph.html in
[
dir
]
"
echo "
(or in the
FRAMAC_SESSION
directory by default)
."
echo " - flamegraph flamegraph.txt [dir]"
echo " Generates flamegraph.svg and flamegraph.html in dir"
echo "
[default:
FRAMAC_SESSION
]
."
echo " Also opens it in a browser, unless variable NOGUI is set."
echo ""
echo " - find-fun
<
function-name
>
[dir
s
]"
echo " Lists files in
[
dir
s]
declaring or defining
<
function-name
>
"
echo "
(
default
s to
PWD
+
/usr/include
)
."
echo " - find-fun function-name [dir
...
]"
echo " Lists files in dir
...
declaring or defining function-name"
echo "
[
default
:
PWD /usr/include
]
."
echo " Heuristics-based: neither correct nor complete."
echo ""
echo " - summary [options]"
...
...
@@ -63,20 +63,20 @@ usage() {
echo " in the current PWD."
echo " Use $0 summary --help for more informations."
echo ""
echo " - configure
<
machdep
>
"
echo " - configure machdep"
echo " Runs an existing configure script to only consider files"
echo " in Frama-C's libc; this will hopefully disable non-essential"
echo " and non-POSIX external libraries."
echo "
<machdep>
is necessary to define a required preprocessor symbol"
echo " (run 'frama-c -machdep' help to get the list of machdeps)."
echo " (run 'frama-c -machdep help' to get the list of machdeps)."
echo ""
echo " - make-wrapper
<
target
>
<args>
"
echo " Runs 'make
<
target
>
<args>
', parsing the output to suggest"
echo " - make-wrapper target
arg...
"
echo " Runs 'make target
arg...
', parsing the output to suggest"
echo " useful commands in case of failure."
echo ""
echo " - normalize-jcdb [path/to/compile_commands.json]"
echo " Applies some transformations to an existing compile_commands.json"
echo " (such as relativizing paths) to improve portability"
echo " (such as relativizing paths) to improve portability."
echo " [default: ./compile_commands.json]"
exit $1
}
...
...
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