paper-with-me

홈 › Papers

StackSight: Unveiling WebAssembly through Large Language Models and Neurosymbolic Chain-of-Thought Decompilation

2024-06-07 · Weike Fang, Zhejian Zhou, Junzhou He, Weihang Wang

WebAssembly enables near-native execution in web applications and is increasingly adopted for tasks that demand high performance and robust security. However, its assembly-like syntax, implicit stack machine, and low-level data types make it extremely difficult for human developers to understand, spurring the need for effective WebAssembly reverse engineering techniques. In this paper, we propose StackSight, a novel neurosymbolic approach that combines Large Language Models (LLMs) with advanced program analysis to decompile complex WebAssembly code into readable C++ snippets. StackSight visualizes and tracks virtual stack alterations via a static analysis algorithm and then applies chain-of-thought prompting to harness LLM's complex reasoning capabilities. Evaluation results show that StackSight significantly improves WebAssembly decompilation. Our user study also demonstrates that code snippets generated by StackSight have significantly higher win rates and enable a better grasp of code semantics.

📄 PDF Abstract BibTeX arXiv:2406.04568

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Multi-modal Learning for WebAssembly Reverse Engineering

2024-04-04 · Hanxian Huang, Jishen Zhao

The increasing adoption of WebAssembly (Wasm) for performance-critical and security-sensitive tasks drives the demand for WebAssembly program comprehension and reverse engineering. Recent studies have introduced machine …

Language ModellingSelf-Supervised Learning

JABBERWOCK: A Tool for WebAssembly Dataset Generation and Its Application to Malicious Website Detection

2023-06-09 · Chika Komiya, Naoto Yanai, Kyosuke Yamashita, Shingo Okamura

Machine learning is often used for malicious website detection, but an approach incorporating WebAssembly as a feature has not been explored due to a limited number of samples, to the best of our knowledge. In this paper…

Dataset Generation

Cyber-physical WebAssembly: Secure Hardware Interfaces and Pluggable Drivers

2024-10-30 · Michiel Van Kenhove, Maximilian Seidler, Friedrich Vandenberghe, Warre Dujardin 외

The rapid expansion of Internet of Things (IoT), edge, and embedded devices in the past decade has introduced numerous challenges in terms of security and configuration management. Simultaneously, advances in cloud-nativ…

Walma: Learning to See Memory Corruption in WebAssembly

2026-03-25 · Oussama Draissi, Mark Günzel, Ahmad-Reza Sadeghi, Lucas Davi arxiv

WebAssembly's (Wasm) monolithic linear memory turns a single memory-corruption bug into a bidirectional threat: a compromised module can attack its embedding host, and a malicious host can tamper with a trusted module's …

Pie: A Programmable Serving System for Emerging LLM Applications

2025-10-28 · In Gim, Zhiyao Ma, Seung-seob Lee, Lin Zhong arxiv

Emerging large language model (LLM) applications involve diverse reasoning strategies and agentic workflows, straining the capabilities of existing serving systems built on a monolithic token generation loop. This paper …