Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frama Clang
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Stefan Gränitz
Frama Clang
Commits
c6d8f3af
Commit
c6d8f3af
authored
3 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[doc] update README for new options
parent
189169af
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+16
-10
16 additions, 10 deletions
README.md
with
16 additions
and
10 deletions
README.md
+
16
−
10
View file @
c6d8f3af
...
...
@@ -40,16 +40,16 @@ with `.cpp`, `.C`, `.cxx`, `.c++` or `.cc` will be treated as C++ files.
Files ending with
`.ii`
will be considered as already pre-processed C++ files.
Options of the plug-in are the following.
-
`-cxx-
de
mangling
-full`
tells Frama-C to display C++ global
identifiers with
the
ir
f
u
ll
y-qualified name (e.g.
`::A::x`
)
-
`
-cxx-demangling-short`
tells Frama-C to display global
C++ identifiers with their un
qualified name (e.g.
`x`
)
-
`
-cxx-keep-mangling`
tells Frama-C to display global C++
identifiers with the name they have in the C translation (e.g.
`_Z1A1x`
, that allows to distinguish between overloaded symbols.
This mangled name is computed from the fully-qualified C++ name
according to the rules described in the Itanium C++ ABI. Pretty-printing
the AST with this option should result in compilable C code.
-
`-cxx-
un
mangling
key`
indicates what to do when outputting a C++ symbol name.
`key`
can be one
the f
o
ll
owing:
-
`
help`
: outputs a list of existing
`key`
with a short description
-
`fully-qualified`
: displays the fully
qualified name (e.g.
`
::A::
x`
)
-
`
without-qualifier`
: only display the unqualified name (e.g.
`x`
)
-
`none`
: do not any transformation, displays the name as it is stored
in Frama-C's AST (e.g.
`_Z1A1x`
)
-
`-cxx-parseable-output`
indicates that the pretty-printed code resulting
from the translation should be able to be parsed again by Frama-C.
implies
`-cxx-unmangling none`
-
`-cxx-cstdlib-path <path>`
specifies where to look for standard
C library headers (default is the path to Frama-C's headers)
-
`-cxx-c++stdlib-path <path>`
specifies where to look for
...
...
@@ -62,6 +62,12 @@ Options of the plug-in are the following.
This should only be needed if the front-end as a whole has not been installed
properly.
Older versions of the plug-in used specific options for unmangling.
These are now obsolete:
-
`-cxx-demangling-full`
: use
`-cxx-unmangling fully-qualified`
-
`-cxx-demangling-short`
: use
`-cxx-unmangling without-qualifier`
-
`-cxx-keep-mangling`
: use
`-cxx-unmangling none`
In addition, any command-line option taking a function name as
argument (e.g.
`-main`
,
`-eva-slevel-function`
, ...) will accept a
fully qualified C++ name (provided it refers to an existing function
...
...
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