On 5/27/2012 9:34 AM, Dave Caroline wrote: > In preparation for any work I thought, we need to get a call tree or flow > chart. > > A bit of googling and I found f77_diagram. > A bit of hacking and I have it outputting html with links to other > html including links to > the flow charts. > > http://www.archivist.info/apt/aptos/apt360/orig_source/apt/ACNTRL.html
Thanks, Dave. I'd recognize a Graphviz-generated plot anywhere. They're doing the same kind of thing I did to generate HAL-configuration schematics (and that is done in Doxygen for code in various "modern" languages). > > bugs..must be loads > ignores SUBROUTINE > ignores the assembler (probably/should find dead links) I haven't looked at anything but your picture yet, so I'm supposing "ignore" means it treats FORTRAN subroutines (and assembly-language routines) as black boxes. Subroutines are just more FORTRAN so they don't present a problem in principle. Dealing with assembly-language routines is tough without knowledge of, in this case, 360 Assembler. Detecting and graphing calls to external routines from within a assembly-language routine would be the first thing to add. In any case, I'm not sure diagrams of assembly-language routines would be very illuminating---too low-level and too oriented to the underlying computer architecture. I'd rather see a pseudo-code description of purpose in the box. I'll try to find time in what's left of this holiday weekend to look at the f77_diagram parser/generator that reads FORTRAN sources and outputs dot files for graphviz to process [but it's tough to switch context; I'm having fun reverse-engineering the miniemc2 web-based gui that's been mentioned on emc-developers]. As another preparatory step, I'd strongly suggest a public, read-only {git svn whatever} repository be created for the original APT360 code (and the APT4 code when it is received). Let's not start 'fixing' it even before we know what's what. It was fun looking at the supervisory code Dave Engvall recently passed to me but it is already tainted so I was drawing erroneous conclusions. > Dave Caroline > Regards, Kent PS - Did I mention I love Graphviz? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users