Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for keepCoverage (0.13 sec)

  1. src/internal/fuzz/worker.go

    		if err != nil {
    			retErr = err
    			if keepCoverage != nil {
    				// Now that we've found a crash, that's more important than any
    				// minimization of interesting inputs that was being done. Clear out
    				// keepCoverage to only minimize the crash going forward.
    				keepCoverage = nil
    			}
    			return true
    		}
    		// Minimization should preserve coverage bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. src/internal/fuzz/fuzz.go

    	// A zero timeout means no limit.
    	timeout time.Duration
    
    	// keepCoverage is a set of coverage bits that entry found that were not in
    	// the coordinator's combined set. When minimizing, the worker should find an
    	// input that preserves at least one of these bits. keepCoverage is nil for
    	// crashing inputs.
    	keepCoverage []byte
    }
    
    // coordinator holds channels that workers can use to communicate with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. src/internal/fuzz/minimize_test.go

    		return time.Second, errors.New("ohno")
    	}}
    	mem := &sharedMem{region: make([]byte, 100)} // big enough to hold value and header
    	vals := []any{[]byte(nil)}
    	args := minimizeArgs{KeepCoverage: make([]byte, len(coverageSnapshot))}
    	success, err := ws.minimizeInput(context.Background(), vals, mem, args)
    	if success {
    		t.Error("unexpected success")
    	}
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 12 19:47:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top