• DocumentCode
    752000
  • Title

    Design of Analyzers for Selective Program Analysis

  • Author

    Arthur, James ; Ramanathan, Jayashree

  • Author_Institution
    Department of Computer Science, Purdue University
  • Issue
    1
  • fYear
    1981
  • Firstpage
    39
  • Lastpage
    51
  • Abstract
    The need for programming environments which support different phases of the software life cycle using responsive tools is well established. This paper presents a method for developing automatic analyzers which analyze programs and provide programmers with a variety of messages for the purpose of validating these programs in the early stages of program development. We show using an example, that such analyzers can be systematically constructed using an extension of the Attribute Grammar model which reflects the fact that a program analyzer should perform a static analysis of the program as well as monitor its dynamic behavior efficiently. One of the advantages of the model is that a systematic interaction is allowed between the static and dynamic attributes of the program. We illustrate that an advantage of this interaction is selective program instrumentation. That is, the analyzer is responsive to the programmer´s needs by providing a selective analysis of the program´s behavior rather than an exhaustive analysis which is difficult to comprehend.
  • Keywords
    Attribute grammars; instrumentation; program validation; translators; Computer science; Dynamic programming; Instruments; Monitoring; Performance analysis; Programming environments; Programming profession; Software systems; Software tools; Testing; Attribute grammars; instrumentation; program validation; translators;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.1981.230818
  • Filename
    1702801