@inproceedings{cd30de0e128945dc82b92874f4a67456,
title = "Behavioural Types for Memory and Method Safety in a Core Object-Oriented Language",
abstract = "We present a type-based analysis ensuring memory safety and object protocol completion in the Java-like language Mungo. Objects are annotated with usages, typestates-like specifications of the admissible sequences of method calls. The analysis entwines usage checking, controlling the order in which methods are called, with a static check determining whether references may contain null values. It prevents null pointer dereferencing in a typestate-aware manner and memory leaks and ensures that the intended usage protocol of every object is respected and completed. The type system admits an algorithm that infers the most general usage with respect to a simulation preorder. The type system is implemented in the form of a type checker and a usage inference tool.",
author = "Mario Bravetti and Adrian Francalanza and Iaroslav Golovanov and Hans H{\"u}ttel and Jakobsen, {Mathias S.} and Kettunen, {Mikkel K.} and Ant{\'o}nio Ravara",
note = "info:eu-repo/grantAgreement/EC/H2020/778233/EU# info:eu-repo/grantAgreement/FCT/6817 - DCRRNI ID/UIDB%2F04516%2F2020/PT# UK EPSRC grant EP/K034413/1 (ABCD). ; 18th Asian Symposium on Programming Languages and Systems, APLAS 2020 ; Conference date: 30-11-2020 Through 02-12-2020",
year = "2020",
doi = "10.1007/978-3-030-64437-6_6",
language = "English",
isbn = "978-3-030-64436-9",
series = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",
publisher = "Springer",
pages = "105--124",
editor = "Oliveira, {Bruno C.}",
booktitle = "Programming Languages and Systems - 18th Asian Symposium, APLAS 2020, Proceedings",
address = "Netherlands",
}