Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Reverse Engineering C code
Reverse Engineering C code [message #154647] Mon, 19 September 2005 10:54 Go to next message
Eclipse UserFriend
Originally posted by: psovani.axalto.com

Hi all

I am working on embedded technology and we have "huge" legacy code written
in native (ANSI C) language waiting to be reverse engineered to UML
format.
We have also developed a parser (RE tool) which does so, but it is not
100% proven; it does not check all dependencies and macros between classes
(UML Class name = C file name, methods in that file or UML class given
prefixes to identify dependencies between classes).
Question : Is there any tool in market (free or not) to do such kind of
reverse engineering? Also, is there any plugin for Eclipse to do the
same?(I have downloaded CDT and it seems working fine). Moreover, we need
to auto-generate documents based on the extracted UML architecture.

Many thanks for any sort of help!

Rgds,
Pranay
Re: Reverse Engineering C code [message #154654 is a reply to message #154647] Mon, 19 September 2005 11:37 Go to previous messageGo to next message
Eclipse UserFriend
Hi!

The only workchain I know is: MS Visual Studio (compiling + generating a
browse
information file) and passing this file to MS Visio which generates a
class diagram.
Unfortunately, these programs are not free and do not work within eclipse.
Additionally,
some class attributes are missing their type definition if they are
standard c++ types
like double or int.

Hopes this helps
andrés



Am Mon, 19 Sep 2005 16:54:34 +0200 schrieb Pranay <psovani@axalto.com>:

> Hi all
>
> I am working on embedded technology and we have "huge" legacy code
> written in native (ANSI C) language waiting to be reverse engineered to
> UML format. We have also developed a parser (RE tool) which does so, but
> it is not 100% proven; it does not check all dependencies and macros
> between classes (UML Class name = C file name, methods in that file or
> UML class given prefixes to identify dependencies between classes).
> Question : Is there any tool in market (free or not) to do such kind of
> reverse engineering? Also, is there any plugin for Eclipse to do the
> same?(I have downloaded CDT and it seems working fine). Moreover, we
> need to auto-generate documents based on the extracted UML architecture.
>
> Many thanks for any sort of help!
>
> Rgds,
> Pranay
>



--
Written with Opera
Re: Reverse Engineering C code [message #154719 is a reply to message #154654] Tue, 20 September 2005 07:58 Go to previous message
Eclipse UserFriend
Originally posted by: psovani.axalto.com

Thanks Andrés, we have an old version of Visio and this thing seems not
possible as I am not sure if it will show Packages also. As we wrote C
code as per UML notation or in more "object" sence, it seems difficult.
The main objective is also to update an existing UML diagram (Rose) with
respect to changes made in the code (files) over the upgrade versions.
Subsiquentely, the aim is to have coherence between the UML and code and
to generate document using UML.

Anybody for other ideas ?? !!

Regards,
Pranay Sovani
Previous Topic:CDT perspective not showing after install
Next Topic:undefined reference to ... with Cimg.h
Goto Forum:
  


Current Time: Fri Jul 18 03:15:23 EDT 2025

Powered by FUDForum. Page generated in 0.08340 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top