You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the `go-fuzz-build` tool against the package to generate the fuzz zip file. The zip file contains all the instrumented binaries go-fuzz is going to use while fuzzing.
41
+
Run the `go-fuzz-build` tool against the package to generate the fuzz zip file. The zip file contains all the instrumented binaries go-fuzz is going to use while fuzzing. Any time the source code changes this needs to be re-run.
Review the `crashers` folder under the `workdir/corpus` folders. This contains panic information. You will see an issue when the data passed into the web call is empty. Fix the `Process` function and add the table data to the test.
52
52
53
-
_**NOTE: These files are empty because an empty string is causing our problems.**_
[Crash Data Raw](example1/workdir/corpus/crashers/da39a3ee5e6b4b0d3255bfef95601890afd80709)
56
-
[Crash Data Quoted](example1/workdir/corpus/crashers/da39a3ee5e6b4b0d3255bfef95601890afd80709.quoted)
55
+
Run the build and start fuzzing.
57
56
58
-
Add new table data to our test for this input case and run the test. It will panic.
57
+
Review the `crashers` folder under the `workdir/corpus` folders. This contains panic information. You will see an issue when value of "0" is used. Fix the `Process` function and add the table data to the test.
0 commit comments