10

Click here to load reader

CMS Reverse Engineering - Defense Technical Information Center · CMS Reverse Engineering _n & ... We believe that this activity will familiarize CCCC with the ... Draw nVot*at PaI

  • Upload
    vubao

  • View
    212

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CMS Reverse Engineering - Defense Technical Information Center · CMS Reverse Engineering _n & ... We believe that this activity will familiarize CCCC with the ... Draw nVot*at PaI

CMS Reverse Engineering

_n &

Encore/Model Integration

Contract # N00014-91-C-0240LTIC Office of Naval ResearchJANEC192 Arlington Virginia 22217-5000

V Data Item A001

Bi-Monthly Progress Report

Reporting Period

November 1, 1991 -December 31, 1991

!'is dcx-umant has been~ apxovedjoy public veleose and sale; its IdiquIibution is unlimite. f

General Electric CompanyCorporate Research and Development

P.O. Box 8Schenectady, New York 12301

92-02094

92 1 27 0 19 HIllllllllilillllillill

Page 2: CMS Reverse Engineering - Defense Technical Information Center · CMS Reverse Engineering _n & ... We believe that this activity will familiarize CCCC with the ... Draw nVot*at PaI

DISTRIBUTION

Mr. James G. Smith Mr. Lambert C. McCulloughOffice of Naval Research Department of the Navy

800 North Quincy Street Office of the Chief of Naval Research

Arlington, VA 22217-5000 Arlington, VA 22217-5000

Attn. JGS, Code 1211 (Contracting Officer)

Ref: N00014-91-C-0240(Scientific Officer) Ms. Tamra Moore

Code U033

DCMAO Hartford Naval Surface Warefare Center

130 Darling Street 10901 New Hampshire Avenue

East Hartford, CT 06108-3234 Silver Spring, MD 20903-5000

(Administrative Contracting Officer). Mr. Phillip Q. Hwang

Director, Naval Research Laboratory Code U033

AT MR Code 2627 Naval Surface Warefare Center

Washington DC 20375 10901 New Hampshire AvenueSilver Spring, MI) 20903-5000

Defense Technical Information Center

Building 5, Cameron Station Mr. Guy Taylor

Alexandria VA 22304-6145 Code 822

(2-copies) Department of the NavyFleet Combat Direction Systems

Mr. Ali Farsi Support Activity

Code G042 Building 127 South

Naval Surface Warefare Center Dam Neck, Virginia Beach, VA 23461-5300

10901 New Hampshire AvenueSilver Spring, MD 20903-5000

'~ 4~ *~. Accesion ForNTIS CRA&I

-2 OTIC TAf3UnannouncedJustification ...............

Distlibutionf

Availab! ,,, ;

R-,i t

Page 3: CMS Reverse Engineering - Defense Technical Information Center · CMS Reverse Engineering _n & ... We believe that this activity will familiarize CCCC with the ... Draw nVot*at PaI

TO: Distribution

FROM: Margaret Kelliher

DATE: January 21, 1992

SUBJECT Bi-Monthly Status Report - Contract # N00014-91-C-0240

1. Interim Status Meeting

An interim status meeting was held at NSWC White Oak on December 12, 1991 to review theprogress to date on the subject contract, and to discuss and attempt to resolve some of the out-standing contract issues. The following is a summary of that meeting:

" A presentation was made detailing the proposed strategy for the ENCORE/MODEL integra-tion (Task 3). All parties seem to agree with regard to the overall strategy suggested for theintegration of the GE ENCORE Reengineering Technology Workstation and the ComputerCommand and Control Company's MODEL system. Since that meeting, documentation ofENCORE's internals has been sent to CCCC, with more to follow.

" Our need for larger complete samples of CMS-2 software systems was discussed. There seemsto be a dearth of large unclassified examples of CMS-2 source code. GE-CRD has a securefacility which will be available for this program pending our receipt of the appropriate security(DD-254) forms from NSWC. Once we are able to make use of that facility, we will stilldepend on NSWC for sample software.

" Project-specific style manuals were requested from NSWC. We have since received theASWCS MK116 MOD 7 Computer Program Standards Manual.

" There was a discussion of GE's willingness to make available to NSWC the preliminary exe-cutables for the work done to date, so that NSWC (and GE) could get specific feedback fromtheir CMS-2 software engineers. In order for this to take place, NSWC must procure a copy ofTeamwork's CREV, and identify a contact person at NSWC.

" A request was made by NSWC for a list of specific CMS-2 constructs accepted by our parserand translator. We are compiling this for the late January time frame.

" A demonstration was given of the reverse engineering system's current capabilities. Screen-prints from this presentation are included with this status report.

* It was noted by GE that the program (authorized for $126,214 of which $100K has been appro-priated) will exceed 85% of current appropriation by January 1, 1992.

2. Task la: Language Processing and Analysis

The parser is currently being expanded to handle the following constructs. Work on the first twoof the following has been completed:

Page 4: CMS Reverse Engineering - Defense Technical Information Center · CMS Reverse Engineering _n & ... We believe that this activity will familiarize CCCC with the ... Draw nVot*at PaI

" CMS-2 macros (MEANS and EXCHANGE): CMS-2 macros are expanded within the scopeof the macro definitions.

" Compools: during the parsing of a CMS-2 top level file, all the compools referenced by the toplevel files are processed to collect relevant information to populate the different symbol tables.

* CSWITCH directives: The parser is currently being extended to handle these constructs.

3. Task 1b: Comment Processing

A general approach to the processing of comments contained within CMS-2 source code has beenidentified. It will involve identifying and extracting the comments (with some context informa-tion) and using existing general-purpose text processing software utilities (eg awk or sed) to con-vert the extracted comments into useful Teamwork information. The data to be culled from theCMS-2 has been defined, and implementation of the extractor is underway.

4. Task 2: Data Extraction & Interface To Teamwork/SD

A prototype demonstration system is currently operational which produces a CADRE Teamwork/SD structure chart and Data Dictionary from CMS source code. This demonstrates the capabilitiesof passes 3 and 4. The portions of the reverse engineering software completed to date have beenused to produce the necessary data for the CADRE cdif files which were then processed withCADRE's C-REV and Teamwork/SD to produce working structure charts and data dictionaryentries. A copy of a sample session produced from NSWC files is included with this report.

We have completed about 3/4 of the Pass 3 design, and roughly 2/3 of the implementation. Pass 4exists in its entirety. The tasks remaining to be completed in Pass3 are the production of datausage information and the generation of compool and include file hierarchies. Also remaining isthe choice of software to be used for testing; the selection is to be done by mutual agreementbetween NSWC and GE.

5. Task 3: ENCORE/MODEL Integration Study

On December 6th a meeting was held at Computer Command and Control Corporation to discussthe issues involved in communicating software design information between the MODEL andENCORE systems. Also, negotiations are taking place to institute a joint venture (outside thescope of this contract) whereby CCCC will use GE's ENCORE to perform FORTRAN-to-Adatranslation and reengineering. We believe that this activity will familiarize CCCC with the opera-tion and capabilities of ENCORE. This, together with the internal documentation which we haveprovided CCCC, should provide them with a good understanding of the ENCORE system.

To date, we have found no technical reason why GE's ENCORE and CCCC's MODEL systemscannot be integrated. What is left to be decided is whether this should be done and the availabilityof funding. We anticipate that our final report will provide the pros and cons, as we see them.

A Software License agreement has been signed between GE and CADRE Technologies whichwill permit expansion of their Structure Chart layout software so as to accomodate the Teamwork/SD representation of very large software systems. This agreement between the two parties willprovide for expanded reverse engineering capabilities in processing CMS-2, FORTRAN, C andJOVIAL

January 21. 1992 2

Page 5: CMS Reverse Engineering - Defense Technical Information Center · CMS Reverse Engineering _n & ... We believe that this activity will familiarize CCCC with the ... Draw nVot*at PaI

Appendix 1:

Screenprints from TeamWorkDemonstrating the Current Capabilities of CMS-Rev

Page 6: CMS Reverse Engineering - Defense Technical Information Center · CMS Reverse Engineering _n & ... We believe that this activity will familiarize CCCC with the ... Draw nVot*at PaI

9'[ Teamwork 401 0 scoabledee

kIdem 0€. Fle Pu" iar Y id sri"m " ET 02fF teataa-*

fndtl• o- - - - M

__________ft le U M ad ow kNmtt Pn LtaGrwph ACT 0CREFi VWb49 ODT %w Prit astNs ICW .. ..... ANC (1)

cc* c S DXOK .. DIXODIC (1)Co€1 jobtaet s DOV ......... . DS'OD (1)COUP 5NC S mtOP.. . ............. .Emtov (1)cow PRO IS O .. . ... . DE.S (1)CO)

m SMXt IS E.. ............. . .... 7 (1)

cora IJ. Is nzmou ............... .. no1 (1)IS Zsomn..... ............. .130RDm (L)I 030kL .................... ... SI " (1)IS .................. .mm (1)S .m. . ............ aCit (1)IS oanDeoo .... ........... .cnWao (1)IS ... . . . . .. .. ........... Warmt (1)a mmSXODC . .... . . O ODI Cl()

IS mOm..O. ............ ).oo (1)S O,"oon. ................. o ooE, ()

a R wa w. . .. ........ oao. (1)KS oW .. .. . . ........... usuce (1)IS O n .h. x ............. .arm . a (1)S xSxa ............ . .. x (1)

KS ISK .... .......... SARS U)IS 31SGAX. ..... . ....... tnarr (1)SC XSXUT . ....... .. . prev Won Dc 9 12 S 19 [ST 1991 (1)

;IS- t!-A.XT .3.XAUT~ (1)KS LI .................. 3501 (1)IS iacal .. .. . . . xsOXCa. (1)IS SVC... ............. ISMCL (1)

St SSV............ revXon Dc 9 1255 19 17 1991 (1)S CL . ....... ... 3s53m (1)St %si ............ rev Won Dc 9 12 SS 19 1ST 1991 (1)S unna.. .... .......... KSWC€R (1)

Sc 3SX .......... . . . . . .. . re'eVo Doc 9 12 5S 19 CST 1991 (1)KS Icoo..............3S'MU (1)SC ISi= ................ irc Me Dec 9 12 SS 19 EST 1991 (1)

IS i ........... .. . .. .. S W (1)

,," 150W' ... . .001r(1)KS 330................ 3"5o02 (1)SC ISOM ................ r.o Io Doc 9 12 SS 19 [ST 1991 (1)IS isas i.. .... .......... VOI (1)SC 53l.................ju¢.w llm Dc 9 1253S 19 CIT 1991 (1)S S . ............ ". (1)

= 35 1. ......... .. . o. S (1)SC 2MM .. .... e son D 9 12 S 19 EST 1991 (1)

S .. . . .0. M (1)SC I510 ... .. .. ........ . 3row on Doc 9 12 SS 19 [ST 1991 (1)

IS xrom ..... .. . s. l (1)

95 I5103 . . 5 .. 3 .. s m (1)

SC WSW= toM M Dec 9 12 5S 19 [ST 1991 (1)usKS SVM . . . . ISA)Mt (1)

S¢ IS D 0 . . ....... .. y Nr.on Dec 9 12 S 19 2ST7 1991 (1)

~ROSIa

Page 7: CMS Reverse Engineering - Defense Technical Information Center · CMS Reverse Engineering _n & ... We believe that this activity will familiarize CCCC with the ... Draw nVot*at PaI

Teamwork 4.0.1 scoobledoo

vs.AoxI Objeocts Figs Pintat, Atinistration stop RET OMlEF tanv&rk*

:C]---bj MSUAUT:I' ______. Q_____5imsmsuctI - d f MSMAUT.1_______FMVhwe 3O C %Uw Draw *V-dtat Fl. VAwft-SC WID, Draw nVot*at PaI DOI Foe %*wW_- SWa Avitate Mit RET OCREF

TITLE: XSXAUTP-~0. QIS~ It Ise11 SI 9

65 -ssPARAMETERS;LOCALS:GLOGAL.3:

cawl 10 db MSMGSR.1_____

VXZA Flo WM_-Sec Artt Argo RET C>Use called by TITLE: msosa

PARAMETERS.LOCALS:GLOS:

calls

called by

*PAAMETER

GLOBALS:

calls _0 __________--

315 55 ala 51 S 315 USS C~t S~ m ~ ~ EA Vi lIf_ tec PA~vctat PftA RET 0

smg PARAMETERS:Waov LOCALS:

QUI GLOMAS.

pot a Lgit eseFcalled by PRA3:S. daubh

MCCSRTUL: datak

cawl

called by

Page 8: CMS Reverse Engineering - Defense Technical Information Center · CMS Reverse Engineering _n & ... We believe that this activity will familiarize CCCC with the ... Draw nVot*at PaI

Toamwork 4.0.1 6 scoobledog

hme otb.cl Fin ftbnt Agl-ivstI1uO 3top Nfl ocRET aJra

Re VW@_MDT %Am Print List

CCK?$AP L

C0)P S5A.Lz-

Flo h'Ac.1 'Mrw NwO.at Rini RET 00fFF

CS - (data flow. pal) (1)

010CMdaafow :) 1QVMOT hCN

5la.Ea) 1

Ovaik .____ ._.._._daafow,__l_(_

5i Vers xPterumod ?rocessiAg eCompatad

-i 6ti-,~

Page 9: CMS Reverse Engineering - Defense Technical Information Center · CMS Reverse Engineering _n & ... We believe that this activity will familiarize CCCC with the ... Draw nVot*at PaI

r Teamwork 4.0.1 6 scoobledoo

bkdexts obets fles Plintwa PgkidstrsiUon SaP RET OCREF ta.k

-ZI faipMEF-AAaO449 M E____.

fie t~w ~h Pit Open RET OCREF .0 MCREP.1 .

Where Rsege*ooced -Prtoosof. Tarxabl* Naas * CLEA.R FM. VAVWC YW Draw Ayito PmlI DPI OocCGwi RET OXREF*f.t f...

Sam, of module That$ Reuferenced.III LIKCSVCC

SILALL/A1wwftoc

Whrf Referenced Proceusingq complet..d

Flo~ VaeM-pe Xmtat "tut PWEZ RETE OCI1

TME: TNlR: PPARAMETERSSLOCALS::GLOBAAS

LihrK: ary/EOUE call.OUEE~

Libcary/DSV= LOSLm

clledbraytIEE BODY,

xcryRcxc c&vccb

P=SVCI mepo -

Page 10: CMS Reverse Engineering - Defense Technical Information Center · CMS Reverse Engineering _n & ... We believe that this activity will familiarize CCCC with the ... Draw nVot*at PaI

* Teamwork 4.0.1 4 seooblede

MCMirfIalam.

Pd. AVokMOT %Oktw Mobt Ult -- ~ .__

.------------.- d-- SAJPU* ________

CO )bt4at Flo V~hoWModid Mew AY*ots Ft PuACeal RET CXREF

Com SWLE ms r2 .... ....1 1121 (1)KS MTwit ..... . 1 1012 (1)us M T .... . ... I. LOT (1)SC XhnT.... . Irw Moi Doc 9 12 SI34 IS71991 (1. 2)

KS 3iixhn 0 . . . . . KIrM~ (l)SC MADrITT.) .. . . . . jrov RanDoc 9 1269I 341In19"1 (1.21)Ns xxwrMvi ...'& ... . %Aflf- (1)Sc NflM015 .. .PeSnw De9 12 I 34 ETs 1"9i (1. 2)WS MAnrrcy3S . . . . ~ MI- (1)

SC uNervzc_ . . .r~ ya I Doc 9 12 St 34 ET? 1991 (1. 2)us xnrroi-c . ~ 1YTT (1)

IS K~m)JIr ITf 1SC KhnliTOT . powv no; Doc 9 12 I 34 EST 1991 (1. 2)IRS vAnVTI noyya 1

iffkasc u.A.rrv a ) raw Non Doc 9 12 St 34 is? 1991 (1. 2)

Its KAflVI K(1 2

I c vnrxrvyiu . . rev Non Doc 9 12 So 364 EST 1991 (1. 2)

Is ps ....0 . .. . 0t(1) to_ 0;1_

us 111 ...01 . ... . . . P120 () IIU P110211~t N ! I

us P1201 . . . . . . 1 - P1201 (1) PARAMI(IIN :us P 1202 . 1202 (1) LOCI at :Inus 13 . P) (2)us potl . .101 (1)

LOC3 datagut

* GLOCALS:GLOMS

;--00. ';..A%.