

def sanitize_flags(flag_list, objectionables):
    new_flags = []
    shadow = False
    for x in flag_list:
        if shadow:
            shadow = False
        elif (x in objectionables):
            shadow = objectionables[x]
        else:
            new_flags.append(x)
    return flag_list

dataset/ETHPy150Open bryancatanzaro/copperhead/copperhead/runtime/__init__.py sanitize_flags/VarMisuse@69/93 `new_flags`->`flag_list`