From 1757dec3873abcbd240e83d7fda61d4d9c312248 Mon Sep 17 00:00:00 2001 From: "gergely.erdelyi" Date: Mon, 26 Apr 2010 19:51:58 +0000 Subject: [PATCH] idc.py: Default strtype argument in GetString no longer breaks the whole script --- python/idc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/idc.py b/python/idc.py index 7972b81..39eba38 100644 --- a/python/idc.py +++ b/python/idc.py @@ -2252,7 +2252,7 @@ def AltOp(ea, n): return idaapi.get_forced_operand(ea, n) -def GetString(ea, length = -1, strtype = ASCSTR_C): +def GetString(ea, length = -1, strtype = idaapi.ASCSTR_TERMCHR): """ Get string contents @param ea: linear address