Re: Declaration, Definition & Reference listers for C

John Aycock <aycock@cse.cpsc.ucalgary.ca>
24 Aug 2005 18:24:47 -0400

          From comp.compilers

Related articles
Declaration, Definition & Reference listers for C john.carter@tait.co.nz (John Carter) (2005-08-21)
Re: Declaration, Definition & Reference listers for C basile-news@starynkevitch.net (Basile Starynkevitch \[news\]) (2005-08-24)
Re: Declaration, Definition & Reference listers for C codeworker@free.fr (=?iso-8859-1?q?C=E9dric_LEMAIRE?=) (2005-08-24)
Re: Declaration, Definition & Reference listers for C nmm1@cus.cam.ac.uk (2005-08-24)
Re: Declaration, Definition & Reference listers for C Markus.Elfring@web.de (2005-08-24)
Re: Declaration, Definition & Reference listers for C DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2005-08-24)
Re: Declaration, Definition & Reference listers for C darius@raincode.com (Darius Blasband) (2005-08-24)
Re: Declaration, Definition & Reference listers for C aycock@cse.cpsc.ucalgary.ca (John Aycock) (2005-08-24)
Re: Declaration, Definition & Reference listers for C nicola.musatti@gmail.com (Nicola Musatti) (2005-08-24)
| List of all articles for this month |

From: John Aycock <aycock@cse.cpsc.ucalgary.ca>
Newsgroups: comp.compilers
Date: 24 Aug 2005 18:24:47 -0400
Organization: Department of Computer Science, University of Calgary
References: 05-08-075
Keywords: analysis, tools, bibliography
Posted-Date: 24 Aug 2005 18:24:47 EDT

John Carter <john.carter@tait.co.nz> wrote:
> I'm interested in the large scale structure of very large programs (1000's
> of files)


> So to experiment with this I need to extract every {typedef, struct,
> union, enum, macro, variable and function} {declaration, definition and
> reference} from 1000's of C files.


> Anybody know of a tool to parse standard C and spit out this information?


This work may help:


- Viega et al., "Token-based scanning of source code for security problems",
ACM Transactions of Information and System Security 5(3), 2002,
pp. 238-261.
- Koppler, "A systematic approach to fuzzy parsing", Software - Practice &
Experience 27(6), 1997, pp. 637-649.


John



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.