<s> """<STR_LIT>""" <EOL> import logging <EOL> from . import MinimizableFuzzer , FuzzerError , FuzzerExhaustedError <EOL> logger = logging . getLogger ( __name__ ) <EOL> class SwapFuzzerError ( FuzzerError ) : <EOL> pass <EOL> class SwapFuzzer ( MinimizableFuzzer ) : <EOL> '''<STR_LIT>''' <EOL> def _fuzz ( self ) : <EOL> """<STR_LIT>""" <EOL> a = self . sf . tries <EOL> b = a + <NUM_LIT:1> <EOL> if b >= len ( self . input ) : <EOL> raise FuzzerExhaustedError ( '<STR_LIT>' ) <EOL> logger . debug ( '<STR_LIT>' , self . sf . basename , a , b ) <EOL> self . input [ b ] , self . input [ a ] = self . input [ a ] , self . input [ b ] <EOL> self . fuzzed = self . input <EOL> _fuzzer_class = SwapFuzzer </s>
