-
Notifications
You must be signed in to change notification settings - Fork 117
Comparing changes
Open a pull request
base repository: google/gofuzz
base: v1.1.0
head repository: google/gofuzz
compare: v1.2.0
- 9 commits
- 8 files changed
- 10 contributors
Commits on Jan 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 967ac50 - Browse repository at this point
Copy the full SHA 967ac50View commit details
Commits on Feb 3, 2020
-
Implement fuzzing of complex types (#37)
From builtin.go: The complex built-in function constructs a complex value from two floating-point values. The real and imaginary parts must be of the same size, either float32 or float64 (or assignable to them), and the return value will be the corresponding complex type (complex64 for float32, complex128 for float64). Co-authored-by: Maxime Guerreiro <mguerreiro@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2257016 - Browse repository at this point
Copy the full SHA 2257016View commit details
Commits on Feb 10, 2020
-
Fix charRange to allow picking the last item (#36)
* Add test proving charRange.choose excludes the last item Change charRange#choose to accept an interface, int63nPicker, exposing only Int63n(int64) int64. This allows the test to pass a custom RNG, returning a constant value (0 or the last possible int). Change charRange#choose to act on an immutable copy of charRange. * Allow charRange.choose to pick the last rune Before this change, choose would never pick the last character of the set. This is not the expected behavior: if the range is a-z, we expect a,b,...,y,z to be picked in a uniform way.
Configuration menu - View commit details
-
Copy full SHA for 1868c06 - Browse repository at this point
Copy the full SHA 1868c06View commit details
Commits on Mar 17, 2020
-
Add support to fuzz from go-fuzz input (#35)
* Add NewFromGoFuzz Add a helper function that enables using gofuzz (this project) with go-fuzz (https://github.com/dvyukov/go-fuzz) for continuose fuzzing. Essentially, it enables translating the fuzzing bytes from go-fuzz to any Go object using this library. This change will enable using this project with fuzzing websites such as fuzzit.dev or fuzzbuzz.io. The underlying implementation was an idea of lavalamp, by which a random source is created that generates random numbers from the input bytes slice. In this way changes in the source result in logical changes in the random data, which enables the fuzzer to efficiently search the space of inputs. Fixes #33
Configuration menu - View commit details
-
Copy full SHA for c89cefb - Browse repository at this point
Copy the full SHA c89cefbView commit details
Commits on May 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a994f4a - Browse repository at this point
Copy the full SHA a994f4aView commit details
Commits on Jun 4, 2020
-
Optimize randBool() and randString() (#41)
* - Optimize the randBool() function. Previous time: 15.175 ns/op New time: 4.78 ns/op * - Optimize randString() by using strings.Builder. 30% less memory used and a 5 to 7% higher throughput. * - Add benchmarks for randBool() and randString(). * - Ran go fmt
Configuration menu - View commit details
-
Copy full SHA for c04b05f - Browse repository at this point
Copy the full SHA c04b05fView commit details
Commits on Jul 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 35f2754 - Browse repository at this point
Copy the full SHA 35f2754View commit details
Commits on Jul 14, 2020
-
Add customizable string generators
Add UnicodeRange and UnicodeRanges types, to generate strings with a more controllable set of characters. Use is optional.
Configuration menu - View commit details
-
Copy full SHA for 18d1906 - Browse repository at this point
Copy the full SHA 18d1906View commit details
Commits on Aug 4, 2020
-
Fix bug where NilChance(0) could still result in nil (#47)
* Update genShouldFill to use greater-then-or-equal Because rand.Float64 can return 0 it was possible for this function to return false when the nilChance is set to 0 (because 0 > 0 = false). * Add test case for NilChance(0) against "random" zero
Configuration menu - View commit details
-
Copy full SHA for 379e164 - Browse repository at this point
Copy the full SHA 379e164View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.1.0...v1.2.0