pyjfuzz/core/pjf_mutators.py
def fuzz(self, obj):
        """
        Perform the fuzzing
        """
        buf = list(obj)
        FuzzFactor = random.randrange(1, len(buf))
        numwrites=random.randrange(math.ceil((float(len(buf)) / FuzzFactor)))+1
        for j in range(numwrites):
            self.random_action(buf)
        return self.safe_unicode(buf)
def fuzz(self, obj):
        buf = list(obj)
        FuzzFactor = random.randrange(1, len(buf))
        numwrites=random.randrange(math.ceil((float(len(buf)) / FuzzFactor)))+1
        for j in range(numwrites):
            self.random_action(buf)
        return self.safe_unicode(buf)
def fuzz ( self , obj ) : buf = list ( obj ) FuzzFactor = random . randrange ( 1 , len ( buf ) ) numwrites = random . randrange ( math . ceil ( ( float ( len ( buf ) ) / FuzzFactor ) ) ) + 1 for j in range ( numwrites ) : self . random_action ( buf ) return self . safe_unicode ( buf )
Perform the fuzzing
Perform the fuzzing