Added IDA Pro 6.1 SP1 changes (thanks to Arnaud from Hex-Rays)

This commit is contained in:
elias.bachaalany@gmail.com
2014-02-04 02:31:52 +00:00
parent 78c79f85b9
commit 866e631dc7
12 changed files with 94 additions and 31 deletions
+9
View File
@@ -72,6 +72,15 @@ _orig_stdout = sys.stdout;
_orig_stderr = sys.stderr;
sys.stdout = sys.stderr = IDAPythonStdOut()
# -----------------------------------------------------------------------
# Initialize the help, with our own stdin wrapper, that'll query the user
# -----------------------------------------------------------------------
import pydoc
class IDAPythonHelpPrompter:
def readline(self):
return idaapi.askstr(0, '', 'Help topic?')
help = pydoc.Helper(input = IDAPythonHelpPrompter(), output = sys.stdout)
# Assign a default sys.argv
sys.argv = [""]