@inproceedings{f9db96855e224dbcb93928bc4a861e60,
title = "Runtime detection of temporal memory errors",
abstract = "State-of-the-art memory debuggers have become efficient in detecting spatial memory errors – dereference of pointers to unallocated memory. These tools, however, cannot always detect errors arising from the use of stale pointers to valid memory (temporal memory errors). This paper presents an approach to reliable detection of temporal memory errors during a run of a program. This technique tracks allocated memory tagging allocated objects and pointers with tokens that allow to reason about their temporal properties. The technique further checks pointer dereferences and detects temporal (and spatial) memory errors before they occur. The present approach has been implemented in E-ACSL – a runtime verification tool for C programs. Experimentation with E-ACSL using TempLIST benchmark comprising small C programs seeded with temporal errors shows that the suggested technique detects temporal memory errors missed by state-of-the-art memory debuggers. Further experiments with computationally intensive runs of programs from SPEC CPU indicate that the overheads of the proposed approach are within acceptable range to be used during testing or debugging.",
keywords = "Frama-C/E-ACSL, Memory safety, Runtime analysis, Shadow memory, Temporal memory error",
author = "Kostyantyn Vorobyov and Nikolai Kosmatov and Julien Signoles and Arvid Jakobsson",
note = "Publisher Copyright: {\textcopyright} Springer International Publishing AG 2017.; 17th International Conference on Runtime Verification, RV 2017 ; Conference date: 13-09-2017 Through 16-09-2017",
year = "2017",
month = jan,
day = "1",
doi = "10.1007/978-3-319-67531-2\_18",
language = "English",
isbn = "9783319675305",
series = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",
publisher = "Springer Verlag",
pages = "294--311",
editor = "Shuvendu Lahiri and Giles Reger",
booktitle = "Runtime Verification - 17th International Conference, RV 2017, Proceedings",
}