Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IdaProServer
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
IdaProServer
Commits
7840e977
Commit
7840e977
authored
8 years ago
by
an7s
Browse files
Options
Downloads
Patches
Plain Diff
Correct paths
parent
08722655
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
SMP-analyze.sh
+2
-9
2 additions, 9 deletions
SMP-analyze.sh
with
2 additions
and
9 deletions
SMP-analyze.sh
+
2
−
9
View file @
7840e977
...
...
@@ -60,15 +60,8 @@ fi
waitStopTime
=
`
date
+%s
`
# Run ida pro on server
# \time tells the shell to use /usr/bin/time instead of the buil-in time command
# /usr/bin/time reports the time on stderr. The commands below set executeTime to the time reported by /usr/bin/time
if
[
-z
"
$SMPSA_PLUGIN
"
]
;
then
ssh
-p
$IDA_PRO_SERVER_PORT
$IDA_PRO_SERVER_USER
@
$IDA_PRO_SERVER_HOST
"cd peasoup_umbrella; source set_env_vars; export LD_LIBRARY_PATH=
$LD_LIBRARY_PATH
:.; cd
$directory
; screen -D -L -ln -m -a -T xterm sh -x "
'$SMPSA_HOME'
"/SMP-analyze.sh
$@
"
2>&1
else
# ssh -p $IDA_PRO_SERVER_PORT $IDA_PRO_SERVER_USER@$IDA_PRO_SERVER_HOST "cd peasoup_umbrella; source set_env_vars; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.; export SMPSA_PLUGIN=$directory/SMPStaticAnalyzer.plx64; cd $directory; screen -D -L -ln -m -a -T xterm sh -x "'$SMPSA_HOME'"/SMP-analyze.sh $@; rm -f $directory/SMPStaticAnalyzer.plx64" 2>&1
# ssh -p $IDA_PRO_SERVER_PORT $IDA_PRO_SERVER_USER@$IDA_PRO_SERVER_HOST "cd peasoup_umbrella; source set_env_vars; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.; export SMPSA_PLUGIN=$directory/SMPStaticAnalyzer.plx64; cd $directory; screen -D -L -ln -m -a -T xterm sh -x "'$SMPSA_HOME'"/SMP-analyze.sh $@" 2>&1
ssh
-p
$IDA_PRO_SERVER_PORT
$IDA_PRO_SERVER_USER
@
$IDA_PRO_SERVER_HOST
"cd peasoup_umbrella; source set_env_vars; export LD_LIBRARY_PATH=
$LD_LIBRARY_PATH
:.; cd
$directory
; screen -D -L -ln -m -a -T xterm sh -x "
'$SMPSA_HOME'
"/SMP-analyze.sh
$@
"
2>&1
fi
# Assume remote server has proper plugin
ssh
-p
$IDA_PRO_SERVER_PORT
$IDA_PRO_SERVER_USER
@
$IDA_PRO_SERVER_HOST
"cd ~/techx_umbrella/peasoup; source set_env_vars; export LD_LIBRARY_PATH=
$LD_LIBRARY_PATH
:.; cd
$directory
; screen -D -L -ln -m -a -T xterm sh -x "
'$SMPSA_HOME'
"/SMP-analyze.sh
$@
"
2>&1
#copyAnswerStartTime=`date +%s`
...
...
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