bugfixes:

- ph_get_operand_info() would crash IDA sometimes
- idc.SetBptCond() was broken
- idc.GetFunctionCmt() was memory leaking
- Form.GetFieldValue() was failing for numeric controls
- Exceptions originating from the director classes will be displayed

And other minor mods...
This commit is contained in:
elias.bachaalany
2011-06-10 14:54:03 +00:00
parent c29e1ef2da
commit 88aa875c55
15 changed files with 225 additions and 111 deletions

View File

@ -2418,10 +2418,7 @@ def GetLongPrm(offset):
val = _IDC_GetAttr(idaapi.cvar.inf, _INFMAP, offset)
if offset == INF_PROCNAME:
# procName is a character array
# strip it at the terminating zero
idx = val.find('\0')
if idx != -1:
val = val[:idx]
val = idaapi.as_cstr(val)
return val
def GetShortPrm(offset):