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
87e74396
Commit
87e74396
authored
12 years ago
by
jdh8d
Browse files
Options
Downloads
Patches
Plain Diff
Updated to set LD_LIBRARY_PATH as fully absolute paths
Former-commit-id: 355061f93684c811a60d58ddf781404924144515
parent
dde80bbe
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/ps_analyze.sh
+26
-10
26 additions, 10 deletions
tools/ps_analyze.sh
with
26 additions
and
10 deletions
tools/ps_analyze.sh
+
26
−
10
View file @
87e74396
...
...
@@ -8,10 +8,22 @@
# peasoup_analyze.sh <original_binary> <new_binary> <options>
#
# default watchdog value is 30 seconds
watchdog_val
=
30
errors
=
0
# DEFAULT TIMEOUT VALUE
INTEGER_TRANSFORM_TIMEOUT_VALUE
=
900
PN_TIMEOUT_VALUE
=
9000000
#non-zero to use canaries in PN/P1, 0 to turn off canaries
#DO_CANARIES=1
#on for on and off for off
DO_CANARIES
=
on
CONCOLIC_DIR
=
concolic.files_a.stratafied_0001
# alarm handler
THIS_PID
=
$$
handle_alarm
()
...
...
@@ -55,15 +67,19 @@ fail_gracefully()
exit
255
}
# DEFAULT TIMEOUT VALUE
INTEGER_TRANSFORM_TIMEOUT_VALUE
=
900
PN_TIMEOUT_VALUE
=
9000000
#non-zero to use canaries in PN/P1, 0 to turn off canaries
#DO_CANARIES=1
#on for on and off for off
DO_CANARIES
=
on
CONCOLIC_DIR
=
concolic.files_a.stratafied_0001
adjust_lib_path
()
{
NEWPATH
=
for
i
in
`
echo
$LD_LIBRARY_PATH
|
sed
's/:/ /g'
`
do
NEWPATH
=
$NEWPATH
:
`
realpath
$i
`
done
# also, add newdir to the ld-library path for analysis.
LD_LIBRARY_PATH
=
$NEWPATH
:
$PWD
/
$newdir
}
check_step_option
()
{
...
...
@@ -453,8 +469,8 @@ cp $STRATA_HOME/lib/libstrata.so $newdir/libstrata.so.nosymbols
strip
$newdir
/libstrata.so.nosymbols
cp
$newdir
/libstrata.so.nosymbols
$newdir
/libstrata.so
# also, add newdir to the ld-library path for analysis.
LD_LIBRARY_PATH
=
$LD_LIBRARY_PATH
:
$PWD
/
$newdir
adjust_lib_path
...
...
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