Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Open Source Software
Zipr Toolchain
Commits
89a316ad
Commit
89a316ad
authored
9 years ago
by
jdh8d
Browse files
Options
Downloads
Patches
Plain Diff
Updates to support --step-option better (spaces in a quoted option)
Former-commit-id: d38366ac7fd900f0e43cb2dd2058939c02bec4d1
parent
cd9525e2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/cfar.sh
+4
-3
4 additions, 3 deletions
tools/cfar.sh
tools/ps_analyze.sh
+2
-2
2 additions, 2 deletions
tools/ps_analyze.sh
with
6 additions
and
5 deletions
tools/cfar.sh
+
4
−
3
View file @
89a316ad
...
...
@@ -31,10 +31,11 @@ do
sharepath_key
=
"
$seq
:
$variants
:dir://
$share_path
"
# optoins for zipr's large_only plugin to help create non-overlapping code segments.
large_only_options
=
"--step-option zipr:--large_only:on --step-option zipr:true --step-option zipr:--large_only:variant --step-option zipr:
$sharepath_key
"
#large_only_options="--step-option zipr:--large_only:on --step-option zipr:true --step-option zipr:--large_only:variant --step-option zipr:$sharepath_key"
large_only_options
=
"--step-option zipr:'--large_only:on true --large_only:variant
$sharepath_key
'"
# opt
o
ins to p1 to create non-overlapping canary values.
p1options
=
" --step-option p1transform:--canary_value
--step-option p1transform:0xFF0
${
seq
}${
seq
}
0FF --step-option p1transform:--random_seed --step-option p1transform:
$anyseed
"
# opti
o
ns to p1 to create non-overlapping canary values.
p1options
=
" --step-option p1transform:
'
--canary_value
0xFF0
${
seq
}${
seq
}
0FF --random_seed
$anyseed
'
"
# invoke $PS.
cmd
=
" PGDATABASE=peasoup_
${
USER
}
_v
$seq
$zipr_env
$PEASOUP_HOME
/tools/ps_analyze.sh
$in
$out
.v
$seq
$@
$p1options
$large_only_options
> variant_output.
$seq
2>&1 &"
...
...
This diff is collapsed.
Click to expand it.
tools/ps_analyze.sh
+
2
−
2
View file @
89a316ad
...
...
@@ -241,7 +241,7 @@ check_options()
shift
2
;;
-o
|
--step-option
)
set_step_option
$2
set_step_option
"
$2
"
shift
2
;;
# This is the watchdog value
...
...
@@ -692,7 +692,7 @@ shift
#
# finish argument parsing
#
check_options
$*
check_options
"
$@
"
#
...
...
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