Lune

ICSE2022顶会

Static Stack-Preserving Intra-Procedural Slicing of WebAssembly Binaries

Quentin Stiévenart, David W. Binkley, Coen De Roover

摘要

The recently introduced WebAssembly standard aims to be a portable compilation target, enabling the cross-platform distribution of programs written in a variety of languages. We propose an approach to slice WebAssembly programs in order to enable applications in reverse engineering, code comprehension, and security among others. Given a program and a location in that program, program slicing produces a minimal version of the program that preserves the behavior at the given location. Specifically, our approach is a static, intra-procedural, backward slicing approach that takes into account WebAssembly-specific dependences to identify the instructions of the slice. To do so it must correctly overcome the considerable challenges of performing dependence analysis at the binary level. Furthermore, for the slice to be executable, the approach needs to ensure that the stack behavior of its output complies with WebAssembly's validation requirements. We implemented and evaluated our approach on a suite of 8 386 real-world WebAssembly binaries, finding that the average size of the 495 204 868 slices computed is 53% of the original code, an improvement over the 60% attained by related work slicing ARM binaries. To gain a more qualitative understanding of the slices produced by our approach, we compared them to 1 956 source-level slices of benchmark C programs. This inspection helps to illustrate the slicer's strengths and to uncover potential future improvements.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Exploring Missed Optimizations in WebAssembly Optimizers 引用了 Twine: An Embedded Trusted Runtime for WebAssembly
  • Exploring Missed Optimizations in WebAssembly Optimizers 引用了 An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use Cases
  • Exploring Missed Optimizations in WebAssembly Optimizers 引用了 Everything Old is New Again: Binary Security of WebAssembly
  • That's a Tough Call: Studying the Challenges of Call Graph Construction for WebAssembly 引用了 An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use Cases
  • That's a Tough Call: Studying the Challenges of Call Graph Construction for WebAssembly 引用了 Everything Old is New Again: Binary Security of WebAssembly
  • Bringing Managed Language Support to WebAssembly with External Library Linking 引用了 Exploring Missed Optimizations in WebAssembly Optimizers
  • Bringing Managed Language Support to WebAssembly with External Library Linking 引用了 That's a Tough Call: Studying the Challenges of Call Graph Construction for WebAssembly
  • Bringing Managed Language Support to WebAssembly with External Library Linking 引用了 Twine: An Embedded Trusted Runtime for WebAssembly
  • 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 引用了 Everything Old is New Again: Binary Security of WebAssembly
  • WADIFF: A Differential Testing Framework for WebAssembly Runtimes 引用了 An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use Cases
  • WADIFF: A Differential Testing Framework for WebAssembly Runtimes 引用了 Everything Old is New Again: Binary Security of WebAssembly
  • Twine: An Embedded Trusted Runtime for WebAssembly 引用了 Everything Old is New Again: Binary Security of WebAssembly
  • An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use Cases 引用了 Everything Old is New Again: Binary Security of WebAssembly
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Exploring Missed Optimizations in WebAssembly OptimizersZhibo Liu, Dongwei Xiao, Zongjie Li, Shuai Wang 等ISSTA 2023 · 24 次引用
  2. WADIFF: A Differential Testing Framework for WebAssembly RuntimesShiyao Zhou, Muhui Jiang, Weimin Chen, Hao Zhou 等ASE 2023 · 14 次引用
  3. That's a Tough Call: Studying the Challenges of Call Graph Construction for WebAssemblyDaniel Lehmann, Michelle Thalakottur, Frank Tip, Michael PradelISSTA 2023 · 11 次引用
  4. Bringing Managed Language Support to WebAssembly with External Library LinkingShuyao Jiang, Ruiying Zeng, Yangfan Zhou, Michael R. LyuFSE 2026

它引用的 Paper3

  1. An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use CasesAaron Hilbig, Daniel Lehmann, Michael PradelWWW 2021 · 114 次引用
  2. Twine: An Embedded Trusted Runtime for WebAssemblyJämes Ménétrey, Marcelo Pasin, Pascal Felber, Valerio SchiavoniICDE 2021 · 58 次引用
  3. Everything Old is New Again: Binary Security of WebAssemblyDaniel Lehmann, Johannes Kinder, Michael PradelUSENIX Security 2020

相关 Paper

  1. Multi-modal Learning for WebAssembly Reverse EngineeringHanxian Huang, Jishen ZhaoISSTA 2024 · 1 次引用
  2. When Function Inlining Meets WebAssembly: Counterintuitive Impacts on Runtime PerformanceAlan Romano, Weihang WangFSE 2023 · 7 次引用
  3. An Empirical Study of Bugs in WebAssembly CompilersAlan Romano, Xinyue Liu, Yonghwi Kwon, Weihang WangASE 2021 · 43 次引用
  4. NotDec: WebAssembly Decompilation With Inter-Procedural Type RecoveryJikai Wang, Ningyu He, Tianming Liu, Junhai Wang 等ICSE 2026
  5. An Empirical Study of WebAssembly Usage in Node.jsMichelle Thalakottur, Maxwell Bernstein, Daniel Lehmann, Michael Pradel 等ICSE 2026
黄昏的海面,两侧是细线勾勒的悬崖