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
e47a69c8
Commit
e47a69c8
authored
13 years ago
by
an7s
Browse files
Options
Downloads
Patches
Plain Diff
Turn on a lot more detectors
Former-commit-id: ad47fd33a969802d74e30c70a86712e67fc83fdc
parent
3c8ca19d
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
tools/integer_replay.sh
+6
-1
6 additions, 1 deletion
tools/integer_replay.sh
with
6 additions
and
1 deletion
tools/integer_replay.sh
+
6
−
1
View file @
e47a69c8
...
...
@@ -69,7 +69,7 @@ do
integer_diagnostics
=
"integer.diagnostics.
$input_number
"
STRATA_PC_CONFINE
=
1
STRATA_DETECTOR_POLICY
=
"continue"
STRATA_LOG
=
"detectors"
STRATA_OUTPUT_FILE
=
$integer_diagnostics
STRATA_SPRI_FILE
=
"
$BSPRI
"
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
$STRATAFIED_BINARY
$i
STRATA_NUM_HANDLE
=
1
STRATA_DOUBLE_FREE
=
1
STRATA_HEAPRAND
=
1
STRATA_CONTROLLED_EXIT
=
1
STRATA_PC_CONFINE
=
1
STRATA_DETECTOR_POLICY
=
"continue"
STRATA_LOG
=
"detectors"
STRATA_OUTPUT_FILE
=
$integer_diagnostics
STRATA_SPRI_FILE
=
"
$BSPRI
"
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
$STRATAFIED_BINARY
$i
# classify input: if segfault or failed PC confinement, then don't treat C1/Integer Detector for a given instruction as a false positive
...
...
@@ -83,6 +83,11 @@ do
if
[
$?
-eq
0
]
;
then
continue
fi
#if exited with 200 (Peasoup exit status code on error), ignore input
grep
-i
"status 200"
exit_status
if
[
$?
-eq
0
]
;
then
continue
fi
# if PC failed confinement, ignore input
grep
-i
"PC failed confinement"
$integer_diagnostics
if
[
$?
-eq
0
]
;
then
...
...
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