C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Needed: Code analysis tool

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated)
View previous topic :: View next topic  
Author Message
Tony Lima
Guest





PostPosted: Mon Oct 24, 2005 9:22 pm    Post subject: Needed: Code analysis tool Reply with quote



I have the source code for a moderately large
C++ program. Not knowing much about C++ I still have to
understand how the pieces of this program fit together. Can
anyone recommend some sort of documentation and/or code
analysis tool for C++? Thanks. - Tony Lima

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
samuelzx@gmail.com
Guest





PostPosted: Tue Oct 25, 2005 11:22 am    Post subject: Re: Needed: Code analysis tool Reply with quote



Source Navigator and Source Insight are two good tools. The first is
Open Souce tool.


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
Stefan Näwe
Guest





PostPosted: Tue Oct 25, 2005 11:23 am    Post subject: Re: Needed: Code analysis tool Reply with quote



Tony Lima wrote:
Quote:
I have the source code for a moderately large
C++ program. Not knowing much about C++ I still have to
understand how the pieces of this program fit together. Can
anyone recommend some sort of documentation and/or code
analysis tool for C++? Thanks. - Tony Lima


Try 'doxygen'.


Stefan
--
Stefan Naewe
naewe.s_AT_atlas_DOT_de

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
Maciej Sobczak
Guest





PostPosted: Tue Oct 25, 2005 11:24 am    Post subject: Re: Needed: Code analysis tool Reply with quote

Tony Lima wrote:
Quote:
I have the source code for a moderately large
C++ program. Not knowing much about C++ I still have to
understand how the pieces of this program fit together. Can
anyone recommend some sort of documentation and/or code
analysis tool for C++? Thanks. - Tony Lima

Try doxygen. It not only generates hyperlinked docs for the code, but
can also draw diagrams for class inheritance and function calls - these
two are extremely helpful for attacking foreign code.


--
Maciej Sobczak : http://www.msobczak.com/
Programming : http://www.msobczak.com/prog/

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
Michael Jørgensen
Guest





PostPosted: Tue Oct 25, 2005 12:49 pm    Post subject: Re: Needed: Code analysis tool Reply with quote


"Tony Lima" <tonylima2 (AT) att (DOT) net> wrote

Quote:
I have the source code for a moderately large
C++ program. Not knowing much about C++ I still have to
understand how the pieces of this program fit together. Can
anyone recommend some sort of documentation and/or code
analysis tool for C++? Thanks. - Tony Lima

Look up Doxygen. YMMV.

-Michael.



[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
Francis Glassborow
Guest





PostPosted: Tue Oct 25, 2005 3:59 pm    Post subject: Re: Needed: Code analysis tool Reply with quote

In article <pj8ql11culk1p72mh7mdub06c1hl5qhie5 (AT) 4ax (DOT) com>, Tony Lima
<tonylima2 (AT) att (DOT) net> writes

Quote:
I have the source code for a moderately large
C++ program. Not knowing much about C++ I still have to
understand how the pieces of this program fit together. Can
anyone recommend some sort of documentation and/or code
analysis tool for C++? Thanks. - Tony Lima


I have a number of books about Go written in Japanese. In order to
understand them I needed to learn to read enough Japanese to make sense
of them. You have a chunk of C++ source code, in order to make sense of
it you will need to learn quite a bit of C++ at least to the level of
reading it, though not to writing it.

You do not mention what programming languages you are already fluent in
(and if the answer is 'none' then I would hazard a guess that you are
not yet ready to even learn to read C++)

--
Francis Glassborow ACCU Author of 'You Can Do It!' see
http://www.spellen.org/youcandoit For project ideas and contributions:
http://www.spellen.org/youcandoit/projects

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
Tony Lima
Guest





PostPosted: Tue Oct 25, 2005 8:03 pm    Post subject: Re: Needed: Code analysis tool Reply with quote

On 25 Oct 2005 11:59:50 -0400, Francis Glassborow
<francis (AT) robinton (DOT) demon.co.uk> wrote:

Quote:
In article <pj8ql11culk1p72mh7mdub06c1hl5qhie5 (AT) 4ax (DOT) com>, Tony Lima
[email]tonylima2 (AT) att (DOT) net[/email]> writes

I have the source code for a moderately large
C++ program. Not knowing much about C++ I still have to
understand how the pieces of this program fit together. Can
anyone recommend some sort of documentation and/or code
analysis tool for C++? Thanks. - Tony Lima


I have a number of books about Go written in Japanese. In order to
understand them I needed to learn to read enough Japanese to make sense
of them. You have a chunk of C++ source code, in order to make sense of
it you will need to learn quite a bit of C++ at least to the level of
reading it, though not to writing it.

You do not mention what programming languages you are already fluent in
(and if the answer is 'none' then I would hazard a guess that you are
not yet ready to even learn to read C++)

Good point. I am reasonably fluent in Fortran, PL/1, and
various flavors of xBase. I've written a bit of assembly
language. Over the years I've also written BASIC (hasn't
everyone?) and smatterings of Paradox (for you old-timers
out there), IBM system 360 JCL and a few other things.

I'm learning some C++. I guess I'll decide whether it's
enough when I take a look at the output from doxygen. Many
thanks to those who recommended it. - Tony

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.