develooper Front page | perl.perl5.porters | Postings from June 2013

reducing perl-crashing scripts to a minimum reproducer

Thread Next
From:
Greg Lindahl
Date:
June 25, 2013 07:41
Subject:
reducing perl-crashing scripts to a minimum reproducer
Message ID:
20130625074121.GD11149@bx9.net
Inspired by C-Reduce, perl-reduce takes a perl program that causes a
bug in perl itself, such as a core-dump in the perl interpreter, and
tries to reduce the program to the minimum program needed to cause the
bug.

https://github.com/blekko/perl-reduce

I didn't have much luck finding buggy scripts to test this with; you
guys are too clever at reducing scripts before you file bugs. I threw
in some useful features like taint and valgrind based on one of the
few examples that I did find.

Next time <someone> shows up with a 10,000 line crasher script and an
attitude, send <them> to me. jk

-- wumpus



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About