arrow
Return

Formal modelling of list based dynamic memory allocators

delete2018-11-13
delete6
PRE
AI
B
Bin Fang
M
Mihaela Sighireanu *
G
Geguang Pu *
W
Wen Su
M
Mengfei Yang
L
Lei Qiao
DOI:10.1007/s11432-017-9280-9delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Existing implementations of dynamic memory allocators (DMA) employ a large spectrum of policies and techniques. The formal specifications of these techniques are quite complicated in isolation and very complex when combined. Therefore, the formal reasoning on a specific DMA implementation is difficult for automatic tools and mostly single-use. This paper proposes a solution to this problem by providing formal models for a full class of DMA, the class using various kinds of lists to manage the memory blocks controlled by the DMA. To obtain reusable formal models and tractable formal reasoning, we organise these models in a hierarchy ranked by refinement relations. We prove the soundness of models and the refinement relations using the modeling framework Event-B and the theorem prover Rodin. We demonstrate that our hierarchy is a basis for an algorithm theory for list based DMA: it abstracts various existing implementations of DMA and leads to new DMA implementations. The applications of this formalisation include model-based code generation, testing, and static analysis.
Keywords:
dynamic memory allocators
formal methods
refinement
Event-B
Rodin
model-based design
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Science China Information Sciences cover
Science China Information Sciences
IF:
7.6
Papers:
4.9K
Citations:
8.9K

Organization

E
east china normal university
Scholars:
3.0W
Papers: 2.1W
Citations: 25
U
Universite Paris Cite
Scholars:
8.9W
Papers: 6.3W
Citations: 604
S
shanghai university
Scholars:
3.9W
Papers: 2.7W
Citations: 52
researcher View more organizations