mlsanityData to 7 Oct 2026

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

arXiv 2406.04568 ↗First posted 7 Jun 2024cs.SE cs.AI cs.LGcited by 1

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

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.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 7 of its 61 references that are in the map. First posted on arXiv 7 Jun 2024.

Builds on

7 of 61 references.

References · 7

  1. 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 178
  2. 2024Augmenting Math Word Problems via Iterative Question Composingcited by 58
  3. 2023Refining Decompiled C Code with Large Language Modelscited by 24
  4. 2019Towards Neural Decompilationcited by 15
  5. 2022Pop Quiz! Can a Large Language Model Help With Reverse Engineering?cited by 13
  6. 2023Symbol Preference Aware Generative Models for Recovering Variable Names from Stripped Binarycited by 5
  7. 2021Semantics-Recovering Decompilation through Neural Machine Translationcited by 2

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Reasoning from Traces: Divergence-Guided Agentic Repair of WebAssembly Discrepancies
  2. 2025CoCoNUT: Structural Code Understanding does not fall out of a tree
  3. 2025CoRe: Benchmarking LLMs Code Reasoning Capabilities through Static Analysis Tasks
  4. 2026An Execution-Verified Multi-Language Benchmark for Code Semantic Reasoning
  5. 2026Bridging Code Property Graphs and Language Models for Program Analysis ↗
  6. 2025EquiBench: Benchmarking Large Language Models' Reasoning about Program Semantics via Equivalence Checking
  7. 2026Finding Memory Leaks in C/C++ Programs via Neuro-Symbolic Augmented Static Analysis ↗
  8. 2025ArtifactsBench: Bridging the Visual-Interactive Gap in LLM Code Generation Evaluation