2009-01-27 19:09:23 +01:00
|
|
|
#---------------------------------------------------------------------
|
|
|
|
# Example user initialisation script: idapythonrc.py
|
|
|
|
#
|
|
|
|
# Place this script to ~/.idapro/ or to
|
|
|
|
# C:\Documents and Settings\%USER%\Application Data\Hex-Rays\IDA Pro
|
|
|
|
#---------------------------------------------------------------------
|
2009-05-04 21:04:33 +02:00
|
|
|
import idaapi
|
2009-01-27 19:09:23 +01:00
|
|
|
|
|
|
|
# Add your favourite script to ScriptBox for easy access
|
|
|
|
# scriptbox.addscript("/here/is/my/favourite/script.py")
|
|
|
|
|
|
|
|
# Uncomment if you want to set Python as default interpreter in IDA
|
|
|
|
# idaapi.enable_extlang_python(True)
|
|
|
|
|
|
|
|
# Disable the Python from interactive command-line
|
|
|
|
# idaapi.enable_python_cli(False)
|
2009-05-04 21:04:33 +02:00
|
|
|
|
|
|
|
# Set the timeout for the script execution cancel dialog
|
|
|
|
# idaapi.set_script_timeout(10)
|