<div class="csl-bib-body">
<div class="csl-entry">Liu, J., Liu, J., Yuan, S., Sanan, D., Chen, K., Cao, D., & Zhao, Y. (2026). Formal Verification of a Memory Allocator for Rust Hypervisors: From Verified to Deployable Code with Functional Equivalence Guarantees. In B. Dutertre & B. Könighofer (Eds.), <i>Proceedings of the 26th Conference on Formal Methods in Computer-Aided Design – FMCAD 2026</i> (pp. 516–526). TU Wien Academic Press. https://doi.org/10.34727/2026/isbn.978-3-85448-093-8_55</div>
</div>
Bugs in hypervisor memory management may lead to double allocation, physical aliasing, or violations of inter-VM isolation. This paper studies BitAllocCascade16, a bitmap-based frame allocator used on real hypervisors implemented in Rust. We use Verus to formally verify the allocator, proving its structural invariants and functional correctness. In the process, we uncover and fix a shift-operation overflow bug in the original implementation. Source-level verification often requires proof-oriented refactoring, which may cause the verified implementation to diverge from the original deployable code in structure, interface, and performance characteristics. To address this integration gap, we formulate the relation between the verified and original programs as a functional equivalence problem, and introduce Veri-easy, a lightweight and automated framework for establishing such equivalence. Guided by performance analysis, we further derive a final implementation and qualify it against the verified version. Our results show that the verified allocator faithfully matches the behavior of the original, and that the final implementation can be integrated into hvisor and HyperEnclave without compromising correctness or performance.
en
dc.language.iso
en
-
dc.rights.uri
http://creativecommons.org/licenses/by/4.0/
-
dc.subject
formal methods
en
dc.subject
computer-aided system design
en
dc.subject
hardware and system verification
en
dc.title
Formal Verification of a Memory Allocator for Rust Hypervisors: From Verified to Deployable Code with Functional Equivalence Guarantees
en
dc.type
Inproceedings
en
dc.type
Konferenzbeitrag
de
dc.rights.license
Creative Commons Namensnennung 4.0 International
de
dc.rights.license
Creative Commons Attribution 4.0 International
en
dc.identifier.doi
10.34727/2026/isbn.978-3-85448-093-8_55
-
dc.contributor.affiliation
Zhejiang University, China
-
dc.contributor.affiliation
Peking University, China
-
dc.contributor.affiliation
Zhejiang University (Hangzhou, CN)
-
dc.contributor.affiliation
Infocomm Technology - Singapore Institute Of Technology (Singapore, SG)
-
dc.contributor.affiliation
Peking University, China
-
dc.contributor.affiliation
computer - Peking University (Beijing, CN)
-
dc.contributor.affiliation
Computer Science - Zhejiang University (Hangzhou, CN)
-
dc.contributor.editoraffiliation
Amazon Web Services
-
dc.contributor.editoraffiliation
Graz University of Technology (Graz, AT)
-
dc.relation.isbn
978-3-85448-093-8
-
dc.description.volume
7
-
dc.description.startpage
516
-
dc.description.endpage
526
-
dc.rights.holder
Jun Liu, Jingxuan Liu, Shenghao Yuan, David Sanan, Kang Chen, Donggang Cao, and Yongwang Zhao
-
dc.type.category
Full-Paper Contribution
-
dc.relation.eissn
2708-7824
-
tuw.booktitle
Proceedings of the 26th Conference on Formal Methods in Computer-Aided Design – FMCAD 2026
-
tuw.peerreviewed
true
-
tuw.relation.ispartof
10.34727/2026/isbn.978-3-85448-093-8
-
tuw.relation.publisher
TU Wien Academic Press
-
tuw.book.chapter
55
-
tuw.researchTopic.id
I1
-
tuw.researchTopic.id
I2
-
tuw.researchTopic.id
C5
-
tuw.researchTopic.name
Logic and Computation
-
tuw.researchTopic.name
Computer Engineering and Software-Intensive Systems
-
tuw.researchTopic.name
Computer Science Foundations
-
tuw.researchTopic.value
40
-
tuw.researchTopic.value
40
-
tuw.researchTopic.value
20
-
tuw.publication.orgunit
E000 - Technische Universität Wien
-
dc.identifier.libraryid
AC17999038
-
dc.description.numberOfPages
11
-
tuw.relation.ispartoftuwseries
Conference Series: Formal Methods in Computer-Aided Design
-
tuw.author.orcid
0009-0002-1836-9968
-
tuw.author.orcid
0009-0004-4476-0498
-
tuw.author.orcid
0000-0002-8467-5827
-
tuw.author.orcid
0000-0003-2755-3089
-
tuw.author.orcid
0000-0002-8368-1109
-
tuw.author.orcid
0009-0005-5065-6424
-
tuw.author.orcid
0000-0002-2284-1383
-
dc.contributor.serieseditor
Weissenbacher, Georg
-
dc.contributor.serieseditor
Hunt, Warren A., Jr.
-
dc.rights.identifier
CC BY 4.0
de
dc.rights.identifier
CC BY 4.0
en
tuw.editor.orcid
0000-0002-6284-380X
-
tuw.editor.orcid
0000-0001-5183-5452
-
wb.sciencebranch
Informatik
-
wb.sciencebranch.oefos
1020
-
wb.sciencebranch.value
100
-
item.openaccessfulltext
Open Access
-
item.cerifentitytype
Publications
-
item.languageiso639-1
en
-
item.openairecristype
http://purl.org/coar/resource_type/c_5794
-
item.openairetype
conference paper
-
item.fulltext
with Fulltext
-
item.mimetype
application/pdf
-
item.grantfulltext
open
-
crisitem.author.dept
Zhejiang University, China
-
crisitem.author.dept
Peking University, China
-
crisitem.author.dept
Zhejiang University (Hangzhou, CN)
-
crisitem.author.dept
Infocomm Technology - Singapore Institute Of Technology (Singapore, SG)
-
crisitem.author.dept
Peking University, China
-
crisitem.author.dept
computer - Peking University (Beijing, CN)
-
crisitem.author.dept
Computer Science - Zhejiang University (Hangzhou, CN)