|
From: Baptiste L. <gai...@fr...> - 2003-05-25 18:23:17
|
I investigated a bit, and the crashed were not really crash (just bad
command line passed to astdump. filename contained spaces).
The infinite loop are caused by K&R function style declaration, such as:
int
main (argc, argv)
int argc;
char **argv;
{
}
As weird as it sound, it is used in 'common' files, such as getopt.c,
getopt1.c or unzip.c.
Baptiste.
----- Original Message -----
From: "Baptiste Lepilleur" <gai...@fr...>
To: "CppTool Mailing List" <Cpp...@li...>
Sent: Sunday, May 25, 2003 7:37 PM
Subject: [Cpptool-develop] astdump runner...
> Well, I run astdump on a large amount of files. Here are the result
> (number are files):
> Passed 3008 : 82%
>
> Failed 614 : 16%
>
> Crashed 9 : 0%
>
> Total tests: 3631
>
> I would say that it's pretty good considering how young the parser is.
>
> Some of the bugs I saw comming often:
>
> - constructor parsing
>
> - operator = support (or something like that)
>
> - friend function declaration
>
> - inline support
>
> - using symbol;
>
> - __asm
>
> Also, as indicated above, there was 9 crashes and the parser also went
> in an infinite loop while parsing some files (getopt.c for instance).
>
> I've updated bug/list.txt with those I found after looking at some of
> the failure (there is just too much to look at them all).
>
> Baptiste.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ObjectStore.
> If flattening out C++ or Java code to make your application fit in a
> relational database is painful, don't do it! Check out ObjectStore.
> Now part of Progress Software. http://www.objectstore.net/sourceforge
> _______________________________________________
> Cpptool-develop mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cpptool-develop
>
|