paper-with-me

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 learning (ML)-based WebAssembly reverse engineering tools. Yet, the generalization of task-specific ML solutions remains challenging, because their effectiveness hinges on the availability of an ample supply of high-quality task-specific labeled data. Moreover, previous works overlook the high-level semantics present in source code and its documentation. Acknowledging the abundance of available source code with documentation, which can be compiled into WebAssembly, we propose to learn representations of them concurrently and harness their mutual relationships for effective WebAssembly reverse engineering. In this paper, we present WasmRev, the first multi-modal pre-trained language model for WebAssembly reverse engineering. WasmRev is pre-trained using self-supervised learning on a large-scale multi-modal corpus encompassing source code, code documentation and the compiled WebAssembly, without requiring labeled data. WasmRev incorporates three tailored multi-modal pre-training tasks to capture various characteristics of WebAssembly and cross-modal relationships. WasmRev is only trained once to produce general-purpose representations that can broadly support WebAssembly reverse engineering tasks through few-shot fine-tuning with much less labeled data, improving data efficiency. We fine-tune WasmRev onto three important reverse engineering tasks: type recovery, function purpose identification and WebAssembly summarization. Our results show that WasmRev pre-trained on the corpus of multi-modal samples establishes a robust foundation for these tasks, achieving high task accuracy and outperforming the state-of-the-art ML methods for WebAssembly reverse engineering.

📄 PDF Abstract BibTeX arXiv:2404.03171

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModellingSelf-Supervised Learning

Similar 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-lev…

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…

A2Z-10M+: Geometric Deep Learning with A-to-Z BRep Annotations for AI-Assisted CAD Modeling and Reverse Engineering

2026-03-13 · Pritham Kumar Jena, Bhavika Baburaj, Tushar Anand, Vedant Dutta 외 arxiv

Reverse engineering and rapid prototyping of computer-aided design (CAD) models from 3D scans, sketches, or simple text prompts are vital in industrial product design. However, recent advances in geometric deep learning …

CADReasoner: Iterative Program Editing for CAD Reverse Engineering

2026-02-18 · Soslan Kabisov, Vsevolod Kirichuk, Andrey Volkov, Gennadii Savrasov 외 arxiv

Computer-Aided Design (CAD) powers modern engineering, yet producing high-quality parts still demands substantial expert effort. Many AI systems tackle CAD reverse engineering, but most are single-pass and miss fine geom…

Point Clouds