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
4886c09c
Commit
4886c09c
authored
9 years ago
by
an7s
Browse files
Options
Downloads
Patches
Plain Diff
use own version of cb-test to speed things up
Former-commit-id: 0b73d1c5c49d77e368b5f0bfd6ac5a6f2d84bf9c
parent
a7583fba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/cgc_protect/pov_to_cso.sh
+4
-2
4 additions, 2 deletions
tools/cgc_protect/pov_to_cso.sh
with
4 additions
and
2 deletions
tools/cgc_protect/pov_to_cso.sh
+
4
−
2
View file @
4886c09c
...
...
@@ -13,6 +13,8 @@ CSO_FILE=$4 # output: CSO warning file suitable for sandboxing step
log
=
tmp.log.
$$
cbtest
=
$CGC_UMBRELLA_DIR
/scripts/techx-cb-test
CRASH_SITES
=
tmp.crashes.
$$
# run cb-test on each POV invidually
...
...
@@ -27,12 +29,12 @@ do
core
=
${
binary_dir
}
/core
sudo rm
$core
2>/dev/null
sudo
cb
-
test
--debug
--xml
${
one_pov
}
--timeout
20
--directory
${
binary_dir
}
--cb
${
binary
}
--log
$log
sudo
$
cbtest
--debug
--xml
${
one_pov
}
--timeout
20
--directory
${
binary_dir
}
--cb
${
binary
}
--log
$log
grep
"core identified"
$log
if
[
$?
-eq
0
]
;
then
if
[
-f
$core
]
;
then
sudo chown
`
whoami
`
$core
eip
=
`
$PEASOUP_HOME
/tools/extract_eip_from_core.sh
${
CGC_BIN
}
$core
`
eip
=
`
timeout
20
$PEASOUP_HOME
/tools/extract_eip_from_core.sh
${
CGC_BIN
}
$core
`
if
[
$?
-eq
0
]
;
then
echo
"
$eip
"
>>
$CRASH_SITES
fi
...
...
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