Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SMPStaticAnalyzer
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
SMPStaticAnalyzer
Commits
fd1f9f25
Commit
fd1f9f25
authored
13 years ago
by
mc2zk
Browse files
Options
Downloads
Patches
Plain Diff
Committing SPEC2006/IDA Pro 6* related changes to allow UI suppression and IO redirect.
parent
3cea42fa
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
SMP-analyze.sh
+25
-10
25 additions, 10 deletions
SMP-analyze.sh
with
25 additions
and
10 deletions
SMP-analyze.sh
+
25
−
10
View file @
fd1f9f25
...
...
@@ -56,24 +56,39 @@ old_stty=`stty -g` || true
#
echo
TVHEADLESS is
$TVHEADLESS
if
[
$TVHEADLESS
"X"
!=
"X"
]
;
then
echo
attempting server IDA
if
[
!
-n
$STRATA
]
;
then
echo
Please
set
\$
STRATA
exit
-1
fi
echo
connecting...
$STRATA
/tools/idaprod/idaprod_client
$SMPSA_HOME
$IDAROOT
$PWD
$1
`
ulimit
-t
`
echo
did server IDA
case
"
$IDAROOT
"
in
*
idapro5
*
)
echo
attempting server IDA
if
[
!
-n
$STRATA
]
;
then
echo
Please
set
\$
STRATA
exit
-1
fi
echo
connecting...
$STRATA
/tools/idaprod/idaprod_client
$SMPSA_HOME
$IDAROOT
$PWD
$1
`
ulimit
-t
`
echo
did server IDA
# SMP seems to mess up the terminal, using this to fix it.
# /usr/bin/reset || true
# stty $old_stty || true
;;
*
idapro6
*
)
echo
"Trying TVHEADLESS IDA"
TVHEADLESS
=
1
time
${
IDAROOT
}
/idal
-A
-SSMP
.idc
$1
>
$1
.idaoutput 2>&1
echo
"Finished TVHEADLESS IDA"
;;
esac
else
time
${
IDAROOT
}
/idal
-A
-SSMP
.idc
$1
echo
did
local
IDA
# SMP seems to mess up the terminal, using this to fix it.
# /usr/bin/reset || true
# stty $old_stty || true
fi
# SMP seems to mess up the terminal, using this to fix it.
/usr/bin/reset
||
true
stty
$old_stty
||
true
#
/usr/bin/reset || true
#
stty $old_stty || true
# Get the output file SMP.syms into $1.syms.
# mv SMP.annot $1.annot
...
...
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