[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[creduce-bugs] example code that crashes creduce
- Subject: [creduce-bugs] example code that crashes creduce
- From: su at cs.ucdavis.edu (Zhendong Su)
- Date: Mon, 21 Oct 2013 16:15:43 -0700
- In-reply-to: <5265A2EE.3020309@cs.utah.edu>
- References: <CAAaSavez9at1jfO3_GCiCJAjfEWMTVgQjas79BJjH=fF-nvyNA@mail.gmail.com> <5265A2EE.3020309@cs.utah.edu>
Thanks for the quick fix Yang! I'll check it out.
On Mon, Oct 21, 2013 at 2:55 PM, Yang Chen <chenyang at cs.utah.edu> wrote:
> Hi Zhendong,
>
> Fixed in 29540ee. Thanks for the bug report!
>
> - Yang
>
> Zhendong Su wrote:
>
>> Please see the following:
>>
>> $ /usr/local/libexec/clang_delta --transformation=remove-array
>> --counter=1 crash-creduce.c
>> Stack dump:
>> 0. <eof> parser at end of file
>> Segmentation fault (core dumped)
>> $ cat crash-creduce.c
>> int j[1];
>>
>> int
>> main ()
>> {
>> j[j[j[j[j[0]]]]];
>> return 0;
>> }
>>
>> Thanks for a nice tool!
>>
>> --
>> Zhendong Su, Professor
>> Chancellor's Fellow
>> UC Davis
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.flux.utah.edu/pipermail/creduce-bugs/attachments/20131021/427556e7/attachment.html>