An Inference Algorithm for the Static Verification of Pointer Manipulation - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Research Report) Year : 1996

An Inference Algorithm for the Static Verification of Pointer Manipulation

Abstract

The incorrect use of pointers is one of the most common source of bugs. As a consequence, any kind of static code checking capable of detecting potential bugs at compile time is welcome. This paper presents a static analysis for the detection of incorrect accesses to memory (dereferences of invalid pointers). A pointer may be invalid because it has not been initialised or because it refers to a memory location which has been deallocated. The analyser is derived from an axiomatisation of alias and connectivity properties which is shown to be sound with respect to the natural semantics of the language. It deals with dynamically allocated data structures and it is accurate enough to handle circular structures.

Domains

Other [cs.OH]
Fichier principal
Vignette du fichier
RR-2895.pdf (457.3 Ko) Télécharger le fichier

Dates and versions

inria-00073795 , version 1 (24-05-2006)

Identifiers

  • HAL Id : inria-00073795 , version 1

Cite

Pascal Fradet, Ronan Gaugne, Daniel Le Métayer. An Inference Algorithm for the Static Verification of Pointer Manipulation. [Research Report] RR-2895, INRIA. 1996. ⟨inria-00073795⟩
60 View
174 Download

Share

Gmail Facebook X LinkedIn More