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
0c127359
Commit
0c127359
authored
12 years ago
by
bdr7fv
Browse files
Options
Downloads
Patches
Plain Diff
Modified do_p1transform.sh to reflect pn now using long options.
Former-commit-id: 4e7913c80aee0faf8b81d760871d511f712a7847
parent
68be665d
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
tools/do_p1transform.sh
+6
-1
6 additions, 1 deletion
tools/do_p1transform.sh
with
6 additions
and
1 deletion
tools/do_p1transform.sh
+
6
−
1
View file @
0c127359
...
...
@@ -93,6 +93,8 @@ do
#input_number=`echo $input | sed "s/.*input_//"`
# abridged_number=`echo $input_number | sed 's/0*\(.*\)/\1/'`
echo
"timeout
$REPLAYER_TIMEOUT
"
$GRACE_HOME
/concolic/bin/replayer
" --timeout=
$REPLAYER_TIMEOUT
--symbols=
$TOP_LEVEL
/a.sym --stdout=stdout.
$input
--stderr=stderr.
$input
--logfile=exit_status --engine=sdt --instruction_addresses=tmp_coverage
$STRATAFIED_BINARY
$i
"
#generate baseline from the stratafied program, if only to prevent discrepencies when a program prints its own name.
#also I want to be as consistent as possible to avoid replayer issues.
timeout
$REPLAYER_TIMEOUT
"
$GRACE_HOME
/concolic/bin/replayer"
--timeout
=
$REPLAYER_TIMEOUT
--symbols
=
$TOP_LEVEL
/a.sym
--stdout
=
stdout.
$input
--stderr
=
stderr.
$input
--logfile
=
exit_status
--engine
=
sdt
--instruction_addresses
=
tmp_coverage
$STRATAFIED_BINARY
$i
||
continue
...
...
@@ -148,6 +150,9 @@ $PEASOUP_HOME/tools/cover.sh $ORIGINAL_BINARY $MEDS_ANNOTATION_FILE $EXECUTED_AD
touch
$COVERAGE_FILE
execute_pn
$CLONE_ID
$BED_SCRIPT
$LIBC_FILTER
$COVERAGE_FILE
$P1THRESHOLD
$DO_CANARIES
#execute_pn $CLONE_ID $BED_SCRIPT $LIBC_FILTER $COVERAGE_FILE $P1THRESHOLD $DO_CANARIES
echo
"
$PN_BINARY
--variant_id=
$CLONE_ID
--bed_script=
$BED_SCRIPT
--coverage_file=
$COVERAGE_FILE
--pn_threshold=
$P1THRESHOLD
--canaries=
$DO_CANARIES
--blacklist=
$LIBC_FILTER
"
$PN_BINARY
--variant_id
=
$CLONE_ID
--bed_script
=
$BED_SCRIPT
--coverage_file
=
$COVERAGE_FILE
--pn_threshold
=
$P1THRESHOLD
--canaries
=
$DO_CANARIES
--blacklist
=
$LIBC_FILTER
exit
0
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