Home > Archive > Software Engineering > April 2006 > Reverse engineering for C/C++ code
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Reverse engineering for C/C++ code
|
|
|
| Is there any good reverse engineering tool for exisistant C code
project . I want to analysis based on the code flow also.
I am looking for open source or free version.
Thanks in Advance.
Cheers,
Ravi.
| |
|
| Ravi wrote:
> Is there any good reverse engineering tool for exisistant C code
> project . I want to analysis based on the code flow also.
> I am looking for open source or free version.
Doxygen + GraphViz can scan C++ and build a website displaying all its
methods, with inheritance diagrams.
--
Phlip
[url]http://www.greencheese.org/Z Land[/url] <-- NOT a blog!!!
| |
|
| I am finding some cartoon like pictures.
Could u check the link once again.
| |
|
| Ravi wrote:
> I am finding some cartoon like pictures.
Why yes - that's my daily webcomic. "Cartoon like". Thanks...
> Could u check the link once again.
I just expected you to Google for them. Doxygen and GraphViz will each be
their first hits.
--
Phlip
[url]http://www.greencheese.org/Z Land[/url] <-- NOT a blog!!!
| |
| xpyttl 2006-03-31, 7:00 pm |
| Doxygen and GraphViz work great, but they require you to annotate the code
in a specific way, and although GraphViz will do some limited graph
generation by examining those comments, for lots of what you want, you need
to describe the picture in the comments.
I don't mean to suggest this isn't a good way to understand an existing app.
OP should recognize that it's not just run a program and look at the pretty
pictures. It is one heck of a lot of work. But then, learning is always
painful, and this would likely be my approach if faced with OP's problem.
...
"Phlip" <phlipcpp@yahoo.com> wrote in message
news:STcXf.8238$%m4.3946@newssvr33.news.prodigy.com...
> Ravi wrote:
>
>
> Doxygen + GraphViz can scan C++ and build a website displaying all its
> methods, with inheritance diagrams.
>
> --
> Phlip
> [url]http://www.greencheese.org/Z Land[/url] <-- NOT a blog!!!
>
| |
|
| xpyttl wrote:
> Doxygen and GraphViz work great, but they require you to annotate the code
> in a specific way, and although GraphViz will do some limited graph
> generation by examining those comments, for lots of what you want, you
> need to describe the picture in the comments.
>
> I don't mean to suggest this isn't a good way to understand an existing
> app. OP should recognize that it's not just run a program and look at the
> pretty pictures. It is one heck of a lot of work. But then, learning is
> always painful, and this would likely be my approach if faced with OP's
> problem.
And I would work even harder, and add unit tests to it. That shows how easy
the existing design is to change. You will rapidly learn if the code manages
dependencies carefully, or if its authors cross-patched everything to make
it work.
--
Phlip
[url]http://www.greencheese.org/Z Land[/url] <-- NOT a blog!!!
| |
| dfj225@gmail.com 2006-04-02, 7:02 pm |
| Check out the SWAG kit from University of Waterloo. It claims to be
able to analyze C++ code, but I find that it works best for C. There
are a lot of tools at your disposal, so you should be able to extract
the information you want.
http://www.swag.uwaterloo.ca/swagkit/index.html
|
|
|
|
|