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
eea47565
Commit
eea47565
authored
9 months ago
by
Andre Maroneze
Committed by
David Bühler
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
[dev] enable passing options to creduce script
parent
0a68dfa2
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
share/analysis-scripts/creduce.sh
+7
-1
7 additions, 1 deletion
share/analysis-scripts/creduce.sh
with
7 additions
and
1 deletion
share/analysis-scripts/creduce.sh
+
7
−
1
View file @
eea47565
...
@@ -70,6 +70,12 @@ Note: these options must be placed _before_ all other arguments.
...
@@ -70,6 +70,12 @@ Note: these options must be placed _before_ all other arguments.
input), this script will copy a template to the current directory and you
input), this script will copy a template to the current directory and you
need to fill it so that creduce will work. This usage mode requires knowing
need to fill it so that creduce will work. This usage mode requires knowing
how C-Reduce works.
how C-Reduce works.
- If you want to pass options to the creduce/cvise executable itself, you need
to use environment variable CREDUCE_OPTIONS. For instance, if you want the
result to be
\"
obfuscated
\"
when using cvise, use option --renaming:
CREDUCE_OPTIONS=
\"
--renaming
\"
frama-c-script creduce <file> <Frama-C options>
"
"
#### Command-line and environment validation
#### Command-line and environment validation
...
@@ -292,7 +298,7 @@ if [ $? -ne 0 ]; then
...
@@ -292,7 +298,7 @@ if [ $? -ne 0 ]; then
fi
fi
set
-e
set
-e
"
$CREDUCE
"
script_for_creduce.sh
"
$base
"
"
$CREDUCE
"
$CREDUCE_OPTIONS
script_for_creduce.sh
"
$base
"
echo
"Finished reducing file:
$dir_for_reduction
/
$base
"
echo
"Finished reducing file:
$dir_for_reduction
/
$base
"
echo
"Remember to remove 'script_for_creduce.sh' after you are done."
echo
"Remember to remove 'script_for_creduce.sh' after you are done."
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