Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Utility to analyse C source code

  • 24-11-1999 02:43PM
    #1
    Registered Users, Registered Users 2 Posts: 16,415 ✭✭✭✭


    Hi guys.

    I'm looking for a utility which does the opposite to the "Rational Rose" tool.

    I need to give it a project (couple of C src/hdrs/makefiles) and get it to give me a control flow diagram/design spec or something similar.

    (Rational Rose takes a design-spec from you and generates appropriate C/C++ code).

    Some background so you see where I'm coming from: the objective to to port an RPC server project from the mainframe to a local POSIX environment.

    However, major headaches are caused by the fact that whoever wrote it did neither of (a) create Design Docs, (b) comment their code[1]. This is causing a lot of hassle since the code is quite complex. There's no option to throw it back at them either (boy would I enjoy that).

    Anyone got any ideas?

    Thanks,

    Alastair.


    1. Do the words "job security" have any relevance here? smile.gif


Comments

  • Registered Users, Registered Users 2 Posts: 2,494 ✭✭✭kayos


    If I remember right you should be able to reverse engineer the project to give you what you want. I haven't used Rose but I know most of the UML packages allow reverse engineering.

    KaYoS


Advertisement
Advertisement