* Re: ADA code analyzer? Help!
[not found] <1995Jan19.111933.892@batman>
@ 1995-01-20 16:06 ` Steve Lionel
1995-01-20 18:47 ` cmccutcheon
1995-01-26 21:05 ` Garlington KE
2 siblings, 0 replies; 3+ messages in thread
From: Steve Lionel @ 1995-01-20 16:06 UTC (permalink / raw)
In article <1995Jan19.111933.892@batman>, system@batman.bmd.trw.com writes:
|>Does anyone know of a tool or utility that will reverse-engineer ADA code
|>and runs on VMS? They are looking for a flow-chart type of output or
|>at least a diagram of some type to allow for analyzing existing code.
The DEC Source Code Analyzer, part of the DECset product, can do some of this
in conjunction with the DEC Ada compiler's /ANALYSIS_DATA and /DESIGN
compile command qualifiers. Compile with these qualifiers, load the
resulting .ANA file(s) into an SCA library, and have fun with the
REPORT INTERNALS command (produces documentation of your routines) and the
call tree browser (especially the Motif interface).
--
Steve Lionel Mail: lionel@quark.enet.dec.com
DEC Fortran Development WWW: http://www.digital.com/info/slionel.html
Digital Equipment Corporation CompuServe: 75263,3001
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
For a summary of Digital's Internet services, send mail to info@digital.com
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: ADA code analyzer? Help!
[not found] <1995Jan19.111933.892@batman>
1995-01-20 16:06 ` ADA code analyzer? Help! Steve Lionel
@ 1995-01-20 18:47 ` cmccutcheon
1995-01-26 21:05 ` Garlington KE
2 siblings, 0 replies; 3+ messages in thread
From: cmccutcheon @ 1995-01-20 18:47 UTC (permalink / raw)
>Does anyone know of a tool or utility that will reverse-engineer ADA code
>and runs on VMS? They are looking for a flow-chart type of output or
>at least a diagram of some type to allow for analyzing existing code.
>If you know of one that doesn't run on a VAX, then, that might be helpful
>also, so please e-mail me.
Hi, DEC Ada and SCA both support a report mechanism that works from
the analysis data created from the Ada compiler. You can create
reports from this (see SCA report command documentation and
the Ada /design=(comments) qualifier). This is not really a
flow chart diagram, more of an overview report. But it is customizable,
if you're willing to hack TPU code.
You can get get information on what calls what for several levels using
SCA's rich expression language (see SCA documentation). Look for examples
in their documentation as the syntax isn't obvious, but is quite powerfull.
Hope this helps.
Charlie
DEC Ada
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: ADA code analyzer? Help!
[not found] <1995Jan19.111933.892@batman>
1995-01-20 16:06 ` ADA code analyzer? Help! Steve Lionel
1995-01-20 18:47 ` cmccutcheon
@ 1995-01-26 21:05 ` Garlington KE
2 siblings, 0 replies; 3+ messages in thread
From: Garlington KE @ 1995-01-26 21:05 UTC (permalink / raw)
system@batman.bmd.trw.com wrote:
: Does anyone know of a tool or utility that will reverse-engineer ADA code
: and runs on VMS? They are looking for a flow-chart type of output or
: at least a diagram of some type to allow for analyzing existing code.
: If you know of one that doesn't run on a VAX, then, that might be helpful
: also, so please e-mail me.
In addition to the DEC tools, you might want to look at the a_reveng utility
provided with Cadre Teamwork. It generates graphical Ada Structure Graphs which
are useful for viewing the overall structure of an Ada program.
McCabe makes a flow analyzer tool for Ada which is better for analyzing the
structure of individual compilation units. Vector Engineering also makes a
tool, AdaCast, which produces non-graphical reports on execution and data flow
for Ada programs.
All these tools execute on VAX/VMS.
: Thanks in advance,
: Stan
--------------------------------------------------------------------
Ken Garlington GarlingtonKE@lfwc.lockheed.com
F-22 Computer Resources Lockheed Fort Worth Co.
If LFWC or the F-22 program has any opinions, they aren't telling me.
^ permalink raw reply [flat|nested] 3+ messages in thread