DocumentCode
356835
Title
Component design of retargetable program analysis tools that reuse intermediate representations
Author
Hayes, James ; Griswold, William G. ; Moskovics, S.
Author_Institution
Dept. of Comput. Sci. & Eng., California Univ., San Diego, La Jolla, CA, USA
fYear
2000
fDate
2000
Firstpage
356
Lastpage
365
Abstract
Interactive program analysis tools are often tailored to one particular representation of programs, making adaptation to a new language costly. One way to ease adaptability is to introduce an intermediate abstraction-an adaptation layer-between an existing language representation and the program analysis tool. This adaptation layer translates the tool´s queries into queries on the particular representation. Our experiments with this approach on the StarTool program analysis tool resulted in low-cost retargets for C, Tcl/Tk, and Ada. Required adjustments to the approach, however, led to insights for improving a client´s retargetability. First, retargeting was eased by having our tool import a tool-centric (i.e.,client-centric) interface rather than a general-purpose, language-neutral representation interface. Second, our adaptation layer exports two interfaces, a representation interface supporting queries on the represented program and a language interface that the client queries to configure itself suitably for the given language. Straightforward object-oriented extensions enhance reuse and ease the development of multilanguage tools
Keywords
object-oriented programming; software reusability; software tools; systems analysis; StarTool program analysis tool; component design; interactive program analysis tools; intermediate representations reuse; language-neutral representation interface; multilanguage tools; object-oriented extensions; program analysis tool; retargetable program analysis tools; Computer science; Data structures; Design engineering; Drives; Information analysis; Permission; Programming profession; Software design; Software tools;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering, 2000. Proceedings of the 2000 International Conference on
Conference_Location
Limerick
ISSN
0270-5257
Print_ISBN
1-58113-206-9
Type
conf
DOI
10.1109/ICSE.2000.870426
Filename
870426
Link To Document