mirror of
https://github.com/cemu-project/idapython.git
synced 2025-06-13 06:58:32 +02:00
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:
@ -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):
|
||||
|
Reference in New Issue
Block a user