bug-cflow
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-cflow] cflow-1.1 doesn't find main


From: Robert E. Michael
Subject: Re: [Bug-cflow] cflow-1.1 doesn't find main
Date: Thu, 07 Sep 2006 23:01:43 -0400

Sergey,
    I got all the changes in and did make and make install without errors.
Now it properly does my little test program.  But it still gets sermentation
faults on lots of other programs.  Perhaps the best example is on src/c.c
in cflow itself (I know this is a flex generated file.  But cflow should not
core dump on it!).

Bob Michael

Sergey Poznyakoff wrote:

> Robert E. Michael <address@hidden> wrote:
>
> >     Yet when I run it on quite a few of my own programs, the "main"
> > routine does not show up in the output.  A terse example is
> > attached.
>
> It is a bug in cflow: it was confused by k&r function declarations.
> Please find attached a patch that fixes it.
>
> > When I run it on much larger examples, it gets a
> > segmentation fault.  What is going on?
>
> Possibly this is due to another bug, discovered yesterday.  I have sent
> the corresponding patch to the list yesterday.  Just in case, I am
> resending it with this message (see atachment 2.)
>
> Please, inform me if it works for you.
>
> Regards,
> Sergey





reply via email to

[Prev in Thread] Current Thread [Next in Thread]