mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-24 10:09:20 +01:00
idc.py: GetFchunkAttr() now calls the IDC implementation and should return identical results
This commit is contained in:
parent
5cb6044277
commit
e64fdf16b3
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user