1. Is This the Same Code? A Comprehensive Study of Decompilation Techniques for WebAssembly Binaries
- Author
-
Wu, Wei-Cheng, Yan, Yutian, Egilsson, Hallgrimur David, Park, David, Chan, Steven, Hauser, Christophe, and Wang, Weihang
- Subjects
Computer Science - Software Engineering - Abstract
WebAssembly is a low-level bytecode language designed for client-side execution in web browsers. The need for decompilation techniques that recover high-level source code from WASM binaries has grown as WASM continues to gain widespread adoption and its security concerns. However little research has been done to assess the quality of decompiled code from WASM. This paper aims to fill this gap by conducting a comprehensive comparative analysis between decompiled C code from WASM binaries and state-of-the-art native binary decompilers. We presented a novel framework for empirically evaluating C-based decompilers from various aspects including correctness/ readability/ and structural similarity. The proposed metrics are validated practicality in decompiler assessment and provided insightful observations regarding the characteristics and constraints of existing decompiled code. This in turn contributes to bolstering the security and reliability of software systems that rely on WASM and native binaries., Comment: SecureComm'24: Proceedings of the 20th EAI International Conference on Security and Privacy in Communication Networks
- Published
- 2024