def run_with_windbg(target_cmd, symbols=None, env=None, callback=None, callback_args=None,
                    pageheap=True, timeout=_common.DEFAULT_TIMEOUT, memory_limit=None,
                    idle_limit=None):
    """
    This function is similar to the :func:`run` function above,
    except the target is executed under control of the Windows
    Debugger (``WinDBG``).  Symbols may be specified manually,
    otherwise they are expected to be findable by the Windows
    Debugging API (usually in a ``.pdb`` file having the same basename
    as the target).

    :func:`run_with_windbg` returns a :class:`~alf.FuzzResult`
    instance.  If no crash was detected, the
    :attr:`~alf.FuzzResult.classification` member of the
    :class:`~alf.FuzzResult` will be
    :data:`~alf.debug.NOT_AN_EXCEPTION`.

    Classifications are derived from the `Microsoft !exploitable
    <http://msecdbg.codeplex.com/>`_ extension.

    Classifications: :data:`~alf.debug.EXCESS_MEMORY_USAGE`,
    :data:`~alf.debug.EXPLOITABLE`,
    :data:`~alf.debug.NOT_AN_EXCEPTION`,
    :data:`~alf.debug.PROBABLY_EXPLOITABLE`,
    :data:`~alf.debug.PROBABLY_NOT_EXPLOITABLE`,
    :data:`~alf.debug.TIMEOUT`, :data:`~alf.debug.UNKNOWN`.

    Availability: Windows.
    """
    target = os.path.basename(target_cmd[0])
    if pageheap and _common._gflags_enabled not in target:
        _common._set_gflags(target)
    res = _cdb_common(target_cmd=target_cmd, symbols=symbols, env=env, callback=callback,
                      callback_args=callback_args, timeout=timeout, memory_limit=memory_limit,
                      idle_limit=idle_limit)
    return res
dataset/ETHPy150Open blackberry/ALF/alf/debug/_cdb.py/run_with_windbg/swapped operands of `not in`