Skip to main content
Go to the home page of the European Commission (opens in new window)
English en
CORDIS - EU research results
CORDIS

Learning to Find Software Bugs

Project description

Teaching computers to debug software

An error, flaw, failure or fault in a computer program or system that causes it to produce an incorrect or unexpected result is called a software bug. Bug detection is the process of finding these bugs, and it usually involves formal techniques and tools that search for instances of bug patterns that recur across projects and application domains. The EU-funded LearnBugs project is seeking to radically change how automated bug detection tools are created. It will replace manually written programs with trained machine learning models. This will transform how software developers find bugs. The project will increase the reliability, security, and efficiency of complex software systems used by millions of people.

Objective

"Learning to Find Software Bugs

Software has become the cornerstone of modern society, economy, and life. Since software is created by humans, though, every non-trivial program contains various bugs, i.e. programming errors that may have disastrous consequences. Traditional approaches to find bugs include automated bug detection tools. Such tools search for instances of bug patterns that recur across projects and application domains. However, automated bug detection currently cannot unleash its full potential because each bug detector addresses one bug pattern and one programming language, while creating new bug detectors is feasible only for program analysis experts.

The objective of this proposal is to radically change the way automated bug detection tools are created. The core idea is to replace manually written program analyses with trained machine learning models. To this end, developers will train a bug detector for a particular bug pattern with examples of buggy and non-buggy code, which the model learns to distinguish. The project will realize this vision by developing a reusable framework that addresses several fundamental challenges at the intersection of software engineering, programming languages, and machine learning, e.g.: (i) How to support developers in creating large amounts of training data of buggy and non-buggy code examples? (ii) How to represent programs in a way suitable for advanced machine learning techniques?

The proposed project has the potential to revolutionize how software developers find bugs. To date, no other research has addressed the problem of automatically learning bug detection tools. If successful, the project will ""democratize"" bug detection by enabling all software developers, instead of a few program analysis experts, to create and share bug detection tools. Ultimately, the project will contribute to increasing the reliability, security, and efficiency of complex software systems used by millions of people."

Fields of science (EuroSciVoc)

Keywords

Programme(s)

Topic(s)

Funding Scheme

ERC-STG - Starting Grant

See all projects funded under this funding scheme

Call for proposal

(opens in new window) ERC-2019-STG

See all projects funded under this call

Host institution

UNIVERSITY OF STUTTGART
Net EU contribution
€ 1 458 375,00
Address
KEPLERSTRASSE 7
70174 Stuttgart
Germany
Region
Baden-Württemberg Stuttgart Stuttgart, Stadtkreis
Activity type
Higher or Secondary Education Establishments
Links
Total cost
€ 1 458 375,00

Beneficiaries (1)