• DocumentCode
    3340527
  • Title

    Detection of Bugs by Compiler Optimizer Using Macro Expansion of Functions

  • Author

    Rao, D. T V Ramakrishna

  • Author_Institution
    Infosys Technol. Ltd. Electron. City, Bangalore
  • fYear
    2007
  • fDate
    20-22 Aug. 2007
  • Firstpage
    855
  • Lastpage
    862
  • Abstract
    A new static analysis based approach is proposed to detect interface bugs in software. Unlike existing static analyses, which suggest new tools, this approach does not suggest a new tool, but leverages the optimizer which is part of the compiler already used by programmers. To facilitate the optimizer in detecting the interface bugs of a function, a macro is created which encodes the conditions to be checked for the function arguments. The approach is found to be effective when applied on two already well-tested commercial software systems, where it detected more than 50 bugs.
  • Keywords
    program compilers; program debugging; bugs detection; commercial software systems; compiler optimizer; functions macro expansion; interface bugs; static analysis based approach; Application software; Assembly; Cities and towns; Computer bugs; Conference management; Engineering management; Optimizing compilers; Program processors; Programming profession; Software engineering;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Research, Management & Applications, 2007. SERA 2007. 5th ACIS International Conference on
  • Conference_Location
    Busan
  • Print_ISBN
    0-7695-2867-8
  • Type

    conf

  • DOI
    10.1109/SERA.2007.78
  • Filename
    4297025