Skip to content
Snippets Groups Projects
Commit fd1f9f25 authored by mc2zk's avatar mc2zk
Browse files

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
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment