Last active
May 25, 2016 21:08
-
-
Save nervous-inhuman/72527960d9ac0ef77ae539a3c41a26d8 to your computer and use it in GitHub Desktop.
Simple IDA/IDA64 Launcher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
arch=`file $1 2>&1 | awk '{print $3}'` | |
if [ "$arch" == "32-bit" ] | |
then | |
/opt/ida/idaq $1 | |
elif [ "$arch" == "64-bit" ] | |
then | |
/opt/ida/idaq64 $1 | |
else | |
/opt/ida/idaq $1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment