[llvm-bugs] [Bug 32580] New: libFuzzer: Output diff of last mutation prior to writing out crash/oom/slow-unit test case

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Apr 8 09:14:41 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32580

            Bug ID: 32580
           Summary: libFuzzer: Output diff of last mutation prior to
                    writing out crash/oom/slow-unit test case
           Product: new-bugs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: ddkilzer at kilzer.net
                CC: kcc at google.com, llvm-bugs at lists.llvm.org

When working on fixing test cases found by libFuzzer, I realized it would be
really useful if the last mutation (which may have caused the
crash/oom/slow-unit issue) was written out with the test case itself.

For large test files (especially for bugs in parsers), this could be very
useful when both investigating the bug via debugger and when manually creating
a reduced test case.

I think writing out the N-1 test case (so the user can use whatever comparison
tools that they have available) would be more useful than trying to provide a
'diff' or some kind of patch format.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170408/750c16fb/attachment-0001.html>


More information about the llvm-bugs mailing list