REx86: A Local Large Language Model for Assisting in x86 Assembly Reverse Engineering
Not on the map. Why?
Abstract (arXiv)
Reverse engineering (RE) of x86 binaries is indispensable for malware and firmware analysis, but remains slow due to stripped metadata and adversarial obfuscation. Large Language Models (LLMs) offer potential for improving RE efficiency through automated comprehension and commenting, but cloud-hosted, closed-weight models pose privacy and security risks and cannot be used in closed-network facilities. We evaluate parameter-efficient fine-tuned local LLMs for assisting with x86 RE tasks in these settings. Eight open-weight models across the CodeLlama, Qwen2.5-Coder, and CodeGemma series are fine-tuned on a custom curated dataset of 5,981 x86 assembly examples. We evaluate them quantitatively and identify the fine-tuned Qwen2.5-Coder-7B as the top performer, which we name REx86. REx86 reduces test-set cross-entropy loss by 64.2% and improves semantic cosine similarity against ground truth by 20.3% over its base model. In a limited user case study (n=43), REx86 significantly enhanced line-level code understanding (p = 0.031) and increased the correct-solve rate from 31% to 53% (p = 0.189), though the latter did not reach statistical significance. Qualitative analysis shows more accurate, concise comments with fewer hallucinations. REx86 delivers state-of-the-art assistance in x86 RE among local, open-weight LLMs. Our findings demonstrate the value of domain-specific fine-tuning, and highlight the need for more commented disassembly data to further enhance LLM performance in RE. REx86, its dataset, and LoRA adapters are publicly available at https://github.com/dlea8/REx86 and https://zenodo.org/records/15420461.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 23 of its 60 references that are in the map. First posted on arXiv 23 Oct 2025.
Builds on
23 of 60 references.
References · 23
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2023LIMA: Less Is More for Alignmentcited by 1,080
- 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 247
- 2023Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMscited by 175
- 2024CodeGemma: Open Code Models Based on Gemmacited by 145
- 2020A Transformer-based Approach for Source Code Summarizationcited by 129
- 2022A Survey of Knowledge Enhanced Pre-trained Language Modelscited by 76
- 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
11 more
- 2024Fine Tuning vs. Retrieval Augmented Generation for Less Popular Knowledgecited by 49
- 2024A Comprehensive Evaluation of Quantization Strategies for Large Language Modelscited by 47
- 2024LLM4Decompile: Decompiling Binary Code with Large Language Modelscited by 38
- 2023Extending Source Code Pre-Trained Language Models to Summarise Decompiled Binariescited by 25
- 2025LAMD: Context-driven Android Malware Detection and Classification with LLMscited by 18
- 2024Using LLMs to Automate Threat Intelligence Analysis Workflows in Security Operation Centerscited by 10
- 2022BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformercited by 8
- 2024Transfer Learning in Pre-Trained Large Language Models for Malware Detection Based on System Callscited by 8
- 2025Exploring Large Language Models for Semantic Analysis and Categorization of Android Malwarecited by 6
- 2025ASMA-Tune: Unlocking LLMs' Assembly Code Comprehension via Structural-Semantic Instruction Tuningcited by 4
- 2023Understanding the Impact of Post-Training Quantization on Large Language Modelscited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.