mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
idc.py: GetFchunkAttr() now calls the IDC implementation and should return identical results
This commit is contained in:
+1
-5
@@ -5190,11 +5190,7 @@ def GetFchunkAttr(ea, attr):
|
||||
|
||||
@return: desired attribute or -1
|
||||
"""
|
||||
if attr in [ FUNCATTR_START, FUNCATTR_END, FUNCATTR_OWNER, FUNCATTR_REFQTY ]:
|
||||
chunk = idaapi.get_fchunk(ea)
|
||||
if chunk:
|
||||
return _IDC_GetAttr(chunk, _FUNCATTRMAP, attr)
|
||||
return -1
|
||||
return Eval("GetFchunkAttr(0x%x, %d);" % (ea, attr))
|
||||
|
||||
|
||||
def SetFchunkAttr(ea, attr, value):
|
||||
|
||||
Reference in New Issue
Block a user