def GetFunctionFlags(ea):
    func = idaapi.get_func(ea)

    if not func:
        return -1
    else:
        return func.flags
Creates a mock egg with a list of resources.
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetFunctionFlags--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/templates/loaders.py/create_egg