Showing cs.PLShow all
2 papers · 1 filter
cs.PL2021
Papaya: Global Typestate Analysis of Aliased Objects Extended Version
Mathias Jakobsen, Alice Ravier, Ornela Dardha
Typestates are state machines used in object-oriented programming to specify and verify correct order of method calls on an object. To avoid inconsistent object states, typestates…
cs.PL2020
Behavioural Types for Memory and Method Safety in a Core Object-Oriented Language
Mario Bravetti, Adrian Francalanza, Iaroslav Golovanov +4
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 specifica…