Dynamic Patch Generation for Null Pointer Exceptions using Metaprogramming

12/02/2018
by   Thomas Durieux, et al.
0

Null pointer exceptions (NPE) are the number one cause of uncaught crashing exceptions in production. In this paper, we aim at exploring the search space of possible patches for null pointer exceptions with metaprogramming. Our idea is to transform the program under repair with automated code transformation, so as to obtain a metaprogram. This metaprogram contains automatically injected hooks, that can be activated to emulate a null pointer exception patch. This enables us to perform a fine-grain analysis of the runtime context of null pointer exceptions. We set up an experiment with 16 real null pointer exceptions that have happened in the field. We compare the effectiveness of our metaprogramming approach against simple templates for repairing null pointer exceptions.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/08/2018

Production-Driven Patch Generation

We present an original concept for patch generation: we propose to do it...
research
12/11/2017

Open-ended Exploration of the Program Repair Search Space with Mined Templates: the Next 8935 Patches for Defects4J

In this paper our goal is to perform an open-ended exploration of the pr...
research
04/18/2022

'I think I discovered a military base in the middle of the ocean' – Null Island, the most real of fictional places

This paper explores Null Island, a fictional place located at 0^∘ latitu...
research
10/04/2017

A {-1,0,1}- and sparsest basis for the null space of a forest in optimal time

Given a matrix, the Null Space Problem asks for a basis of its null spac...
research
06/09/2021

Ghosts in Neural Networks: Existence, Structure and Role of Infinite-Dimensional Null Space

Overparametrization has been remarkably successful for deep learning stu...
research
11/30/2020

On minimal subspace Zp-null designs

Let q be a power of a prime p, and let V be an n-dimensional space over ...
research
06/09/2023

Null/No Information Rate (NIR): a statistical test to assess if a classification accuracy is significant for a given problem

In many research contexts, especially in the biomedical field, after stu...

Please sign up or login with your details

Forgot password? Click here to reset