mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-28 03:54:18 +01:00
idapythonrc.py: Added example for setting the script run timeout
This commit is contained in:
parent
6d6f4f70fc
commit
b4d2b3f813
@ -4,6 +4,7 @@
|
|||||||
# Place this script to ~/.idapro/ or to
|
# Place this script to ~/.idapro/ or to
|
||||||
# C:\Documents and Settings\%USER%\Application Data\Hex-Rays\IDA Pro
|
# C:\Documents and Settings\%USER%\Application Data\Hex-Rays\IDA Pro
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
import idaapi
|
||||||
|
|
||||||
# Add your favourite script to ScriptBox for easy access
|
# Add your favourite script to ScriptBox for easy access
|
||||||
# scriptbox.addscript("/here/is/my/favourite/script.py")
|
# scriptbox.addscript("/here/is/my/favourite/script.py")
|
||||||
@ -13,3 +14,6 @@
|
|||||||
|
|
||||||
# Disable the Python from interactive command-line
|
# Disable the Python from interactive command-line
|
||||||
# idaapi.enable_python_cli(False)
|
# idaapi.enable_python_cli(False)
|
||||||
|
|
||||||
|
# Set the timeout for the script execution cancel dialog
|
||||||
|
# idaapi.set_script_timeout(10)
|
||||||
|
Loading…
Reference in New Issue
Block a user