Metraipolis › archive › dc_98438ad5d967
TasmScan: Continuation-Aware Taint Analysis for TVM Bytecode with Savelist Abstraction — arXiv:2609.16987
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.16987
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T19:33:16.393Z
- SHA-256 of the archived text
cc3dc4cc55077f4e26a0923a8b55d7dd7c2120081c4b8ed21dd0e5d3a88aeda4- Stable URL of this page
https://metraipolis.com/documento/dc_98438ad5d967
How to cite
TasmScan: Continuation-Aware Taint Analysis for TVM Bytecode with Savelist Abstraction — arXiv:2609.16987 — arXiv (en), https://arxiv.org/abs/2609.16987 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_98438ad5d967 (Metraipolis archive dc_98438ad5d967, sha256 cc3dc4cc55077f4e26a0923a8b55d7dd7c2120081c4b8ed21dd0e5d3a88aeda4)
BibTeX
@misc{dc98438ad5d967,
title = {TasmScan: Continuation-Aware Taint Analysis for TVM Bytecode with Savelist Abstraction — arXiv:2609.16987},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.16987},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_98438ad5d967; sha256 cc3dc4cc55077f4e26a0923a8b55d7dd7c2120081c4b8ed21dd0e5d3a88aeda4},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.16987. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
The Open Network (TON), with a peak market capitalization exceeding $20 billion and over 175 million activated on-chain addresses, relies on the TVM (TON Virtual Machine) to execute smart contracts. TVM uses first-class continuations with savelists to manage control flow and register state across continuation invocations. Since savelist-captured registers allow data to flow across continuation boundaries without passing through the operand stack, bytecode-level analyses cannot construct complete data flow tracking without explicitly modeling savelist semantics. We present TasmScan, the first bytecode-level static analysis framework for TVM that enables cross-continuation data flow reasoning without requiring source code. TasmScan models savelist semantics via forward register analysis with a formal over-approximation guarantee for exact-resolved save sites and locally tracked register definitions, then lifts bytecode into TASIR, a typed intermediate representation, and performs path-sensitive taint analysis with context-aware sources to detect defects. We evaluate TasmScan on 2,921 contracts from the TON verifier registry and a labeled benchmark of 208 contracts with human-confirmed ground truth. On the full corpus, TasmScan resolves 294,546 dynamic continuation targets with 100% precision; ablation confirms that savelist propagation is essential for resolving indirect register calls that depend on cross-continuation register passing. On the benchmark, TasmScan detects 95.3% of defects across five classes with 96.8% precision. A 366-pair stratified sample from the full corpus estimates 85.8% overall precision. TasmScan offers a 17x median speedup over the state-of-the-art symbolic-execution baseline, and in the path-analysis comparison completes 100% of analyses with zero crashes or timeouts. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-16 in cs.CR). Categorie arXiv: Software Engineering (cs.SE) ; Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2609.16987 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-15T18:42:42.651Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-16?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).