def METHOD_NAME():
    """
    Return a list of the CPU flags.
    :return: cpu flags
    :rtype: list[string]
    :raises: An OSError will be raised if it's NOT available on the platform
    """
    cpu_flags_re = "(?m)^flags\s+:\s+([\w\s]+)$"
    with open("/proc/cpuinfo") as fd:
        cpu_info = fd.read()
    cpu_flags = re.search(cpu_flags_re, cpu_info)
    if not cpu_flags:
        raise OSError("The cpu flags were NOT found!")
    cpu_flags = cpu_flags.groups()[0]
    return re.split("\s+", cpu_flags.strip())