Lune

ISSTA2023顶会

That's a Tough Call: Studying the Challenges of Call Graph Construction for WebAssembly

Daniel Lehmann, Michelle Thalakottur, Frank Tip, Michael Pradel

摘要

WebAssembly is a low-level bytecode format that powers applications and libraries running in browsers, on the server side, and in standalone runtimes. Call graphs are at the core of many interprocedural static analysis and optimization techniques. However, WebAssembly poses some unique challenges for static call graph construction. Currently, these challenges are neither well understood, nor is it clear to what extent existing techniques address them. This paper presents the first systematic study of WebAssemblyspecific challenges for static call graph construction and of the state-of-the-art in call graph analysis. We identify and classify 12 challenges, encode them into a suite of 24 executable microbenchmarks, and measure their prevalence in real-world binaries. These challenges reflect idiosyncrasies of WebAssembly, such as indirect calls via a mutable function table, interactions with the host environment, and unmanaged linear memory. We show that they commonly occur across a set of more than 8,000 real-world binaries. Based on our microbenchmarks and a set of executable real-world binaries, we then study the soundness and precision of four existing static analyses. Our findings include that, surprisingly, all of the existing techniques are unsound, without this being documented anywhere. We envision our work to provide guidance for improving static call graph construction for WebAssembly. In particular, the presented microbenchmarks will enable future work to check whether an analysis supports challenging language features, and to quantify its soundness and precision.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • DyPyBench: A Benchmark of Executable Python Software 引用了 On the recall of static call graph construction in practice
  • Instruction Vulnerability Prediction for WebAssembly with Semantic Enhanced Code Property Graph 引用了 An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use Cases
  • Bringing Managed Language Support to WebAssembly with External Library Linking 引用了 An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use Cases
  • Bringing Managed Language Support to WebAssembly with External Library Linking 引用了 Wobfuscator: Obfuscating JavaScript Malware via Opportunistic Translation to WebAssembly
  • Wemby's Web: Hunting for Memory Corruption in WebAssembly 引用了 An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use Cases
  • Wemby's Web: Hunting for Memory Corruption in WebAssembly 引用了 Wobfuscator: Obfuscating JavaScript Malware via Opportunistic Translation to WebAssembly
  • Wobfuscator: Obfuscating JavaScript Malware via Opportunistic Translation to WebAssembly 引用了 An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use Cases
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. DyPyBench: A Benchmark of Executable Python SoftwareIslem Bouzenia, Bajaj Piyush Krishan, Michael PradelFSE 2024 · 8 次引用
  2. An Extensive Empirical Study of Nondeterministic Behavior in Static Analysis ToolsMiao Miao, Austin Mordahl, Dakota Soles, Alice Beideck 等ICSE 2025 · 1 次引用
  3. Wemby's Web: Hunting for Memory Corruption in WebAssemblyOussama Draissi, Tobias Cloosters, David Klein, Michael Rodler 等ISSTA 2025 · 1 次引用
  4. Instruction Vulnerability Prediction for WebAssembly with Semantic Enhanced Code Property GraphBao Wen, Jingjing Gu, Hao Han, Pengfei Yu 等WWW 2025
  5. Bringing Managed Language Support to WebAssembly with External Library LinkingShuyao Jiang, Ruiying Zeng, Yangfan Zhou, Michael R. LyuFSE 2026

它引用的 Paper11

  1. Debloating Software through Piece-Wise Compilation and LoadingAnh Quach, Aravind Prakash, Lok-Kwong YanUSENIX Security 2018 · 153 次引用
  2. An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use CasesAaron Hilbig, Daniel Lehmann, Michael PradelWWW 2021 · 114 次引用
  3. Modular call graph construction for security scanning of Node.js applicationsBenjamin Barslev Nielsen, Martin Toldam Torp, Anders MøllerISSTA 2021 · 47 次引用
  4. Wobfuscator: Obfuscating JavaScript Malware via Opportunistic Translation to WebAssemblyAlan Romano, Daniel Lehmann, Michael Pradel, Weihang WangS&P 2022 · 40 次引用
  5. On the recall of static call graph construction in practiceLi Sui, Jens Dietrich, Amjed Tahir, George FourtounisICSE 2020 · 34 次引用

相关 Paper

  1. Everything Old is New Again: Binary Security of WebAssemblyDaniel Lehmann, Johannes Kinder, Michael PradelUSENIX Security 2020
  2. An Empirical Study of Bugs in WebAssembly CompilersAlan Romano, Xinyue Liu, Yonghwi Kwon, Weihang WangASE 2021 · 43 次引用
  3. Static Stack-Preserving Intra-Procedural Slicing of WebAssembly BinariesQuentin Stiévenart, David W. Binkley, Coen De RooverICSE 2022 · 18 次引用
  4. An Empirical Study of WebAssembly Usage in Node.jsMichelle Thalakottur, Maxwell Bernstein, Daniel Lehmann, Michael Pradel 等ICSE 2026
  5. When Function Inlining Meets WebAssembly: Counterintuitive Impacts on Runtime PerformanceAlan Romano, Weihang WangFSE 2023 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖