| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I would like to parse existing C programs ( may be using JAVACC parser) and get some data like List of Functions List of Variables (Static , External, Local)... Whether the variable is input, output or bidirectional in a function etc.... and use the same for our modelling work. I would like to know if there is open source static code analyzer available in source code form which I can tailor to my specific requirement. Ideal if some tool is there reading programs in C and populate RDBMS database Regards Raj |
|
#2
| |||
| |||
| rajagopal a icrit : > I would like to know if there is open source static code analyzer > available in source code form which I can tailor to my specific > requirement. Ideal if some tool is there reading programs in C and > populate RDBMS database Maybe you can have a look at Frama-C : www.frama-c.cea.fr It is quite new, but I think that it can already answer to some of your questions. Anne. |
|
#3
| |||
| |||
| On Fri, Jul 25, 2008 at 4:48 AM, rajagopal <rajagopal.ns@gmail.com> wrote: > I would like to parse existing C programs ( may be using JAVACC > parser) and get some data like > > List of Functions > List of Variables (Static , External, Local)... > Whether the variable is input, output or bidirectional in a function > etc.... > and use the same for our modelling work. > There's also a C languages front-end under development as part of the llvm project here: http://clang.llvm.org/ there's also ongoing work to use this front end for static analysis and it's already been used by a few open source projects. -eric |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.