def GetFchunkAttr(ea, attr):
    func = idaapi.get_fchunk(ea)
    return _IDC_GetAttr(func, _FUNCATTRMAP, attr) if func else BADADDR
Get a function chunk attribute
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetFchunkAttr