SkelOT: Reusing AOT Compilation Across EVM Contract Families
Sipeng Xie, Qianhong Wu, Minghang Li, Qin Wang, Zhipeng Wang, Bo Qin
Abstract
Ahead-of-time (AOT) compilers (e.g., revmc, evmone, and DTVM) for the Ethereum Virtual Machine (EVM) reuse compilation artifacts at contract-code-hash granularity. This granularity is poorly matched to real EVM workloads dominated by \emph{contract families}: factory-, proxy-, and template-driven deployments that share instruction structure but differ in a small set of embedded constants. Across four EVM chains (Base, Ethereum, BSC, and Arbitrum), we find that 23.1--47.6\% of unique compilable bytecodes map to shared family skeletons within 10K-block windows. Per-hash AOT therefore redundantly recompiles structurally equivalent code, inflating compile time and artifact footprint while reducing workload coverage under finite compile budgets. We present \textsc{SkelOT}, an AOT framework that lifts the unit of compilation reuse from code hash to family skeleton. \textsc{SkelOT} compiles one native artifact per family, bakes invariant constants into the artifact, and reads variant constants from a per-contract runtime table. Built on revmc/LLVM and evaluated on a 10K-block Base mainnet corpus (3.52M transactions), \textsc{SkelOT} reduces compilation units by 47.5\%, artifact footprint by 57.4\%, and compile time by , while preserving byte-identical execution outcomes versus per-hash AOT. At runtime, \textsc{SkelOT} delivers a median per-contract speedup across family members. Under a compile budget targeting 75\% execution-time coverage, \textsc{SkelOT} needs far fewer artifacts than per-hash AOT, and the advantage holds at every coverage target.
Create a lesson
Metadata
- Categories
- cs.CR, cs.DC, cs.ET
- Comments
- Accepted by EuroSys'27
Related papers
Forensic Visibility of Malicious Model Context Protocol (MCP) Servers: An Empirical Study Across Agent and Kernel Trust Boundaries
Shared title terminologycs.CRCesar R. Beltrán-Hernández
When the Peg Breaks: Modeling and Measuring Stablecoin Depeg Losses across DeFi
Shared title terminologycs.CRWeilin Li, Jiahua Xu
Template Ageing and Longitudinal Verification in Fixed-Text Keystroke Dynamics: A Subject-Disjoint Study Across Eight Weeks
Shared title terminologycs.CRSimon Parkinson, Saad Khan, Na Liu et al.
"What I See is What I Hear": Deepfake Detection Across Diverse Hearing Abilities
Shared title terminologycs.CRMagdalena Pasternak, Malvika Jadhav, Palavi V. Bhole et al.
Solidity Meets LLMs: A Transformer-Based Approach to Smart Contract Vulnerability Detection
Shared title terminologycs.CRDjamel Eddine Hakim Ghorab, Farid Mokhati, Mostafa Anouar Ghorab
Residual Community Prototypes Under-Reject Held-Out Malware Families in FCG-MFD
Shared title terminologycs.CRJunru Zhu, Yixin Yang, Xiaoqing Ding et al.