Closed jap0 closed 5 years ago
With few script modifications it worked:
args = parser.parse_args(margs)
now it works when I run the script from command line like: C:\Python27\Lib\site-packages\Karta-1.0.0-py2.7.egg\src>ida.exe -S"karta_analyze_src.py" -t
*hope this small tut will help somebody to save time :)
Sorry for the delayed response. You encountered an issue since karta_analyze_src.py
should be invoked from the cmd line, and not from withing IDA. In turn, it activates the disassembler on each compiled file in the given input directory. Please read the documentation, as it will save you precious time.
Is it possible "execute IDAPython scripts outside IDA"? I am trying to run the karta_analyze_src.py via following command: C:\Python27\Lib\site-packages\Karta-1.0.0-py2.7.egg\src>ida.exe -S"karta_analyze_src.py -D " -t .. no matter what args I provide to the script, the result is always the same: karta_analyze_src.py: error: too few arguments