University of Warwick
  • Study
  • |
  • Research
  • |
  • Business
  • |
  • Alumni
  • |
  • News
  • Sign in
  • Computer Science Repository
  • More…

    Computer Science Repository

    • Home
    • About
    • Browse by Year
    • Browse by Subject
    • Browse by Division
    • Browse by Author
      • Login

    Towards the automated correction of bugs

    Warburton, R. and Kalvala, S. (2009) Towards the automated correction of bugs. Technical Report. Department of Computer Science, Coventry, UK.

    [img]
    Preview
    PDF - Published Version
    Download (287Kb) | Preview

    Abstract

    Bugs within Java programs often fall within well-known motifs, usually arising from misunderstood APIs or language features that encourage buggy corner cases. Existing software development tools can detect some of these situations, and integrated development environments may attempt to suggest automated fixes for some of the simple cases. We present a language for specifying program transformations paired with a novel methodology for identifying and fixing bug patterns within Java source code. We propose a combination of source code and bytecode analyses: this allows for using the control flow in the bytecode to help identify the bugs while generating corrected source code. The specification language uses a combination of syntactic rewrite rules and dataflow analysis generated from temporal logic based conditions. We introduce a prototype implementation that allows application of these transformations automatically to programs, and discuss correctness issues within the context of such program transformations. Finally we discuss other possible areas of application for this methodology, including generating refactoring operations from specifications and application to other imperative languages.

    Item Type: Monograph (Technical Report)
    Uncontrolled Keywords: technicalreport
    Subjects: Q Science > QA Mathematics > QA75 Electronic computers. Computer science
    Divisions: Faculty of Science > Computer Science
    Depositing User: Russell Boyatt
    Date Deposited: 28 Oct 2011 14:06
    Last Modified: 01 Nov 2012 18:05
    URI: http://eprints.dcs.warwick.ac.uk/id/eprint/1558

    Actions (login required)

    View Item View Item
    Close this email form
    Page contact: Repository administrator Last revised: Wed 21 Mar 2012
    • Sign in
    • | Powered by EPrints 3