BinMetric: A Comprehensive Binary Analysis Benchmark for Large Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Shang, Xiuwei, Chen, Guoqiang, Cheng, Shaoyin, Wu, Benlong, Hu, Li, Li, Gangyang, Zhang, Weiming, Yu, Nenghai
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908360200159232
author Shang, Xiuwei
Chen, Guoqiang
Cheng, Shaoyin
Wu, Benlong
Hu, Li
Li, Gangyang
Zhang, Weiming
Yu, Nenghai
author_facet Shang, Xiuwei
Chen, Guoqiang
Cheng, Shaoyin
Wu, Benlong
Hu, Li
Li, Gangyang
Zhang, Weiming
Yu, Nenghai
contents Binary analysis remains pivotal in software security, offering insights into compiled programs without source code access. As large language models (LLMs) continue to excel in diverse language understanding and generation tasks, their potential in decoding complex binary data structures becomes evident. However, the lack of standardized benchmarks in this domain limits the assessment and comparison of LLM's capabilities in binary analysis and hinders the progress of research and practical applications. To bridge this gap, we introduce BinMetric, a comprehensive benchmark designed specifically to evaluate the performance of large language models on binary analysis tasks. BinMetric comprises 1,000 questions derived from 20 real-world open-source projects across 6 practical binary analysis tasks, including decompilation, code summarization, assembly instruction generation, etc., which reflect actual reverse engineering scenarios. Our empirical study on this benchmark investigates the binary analysis capabilities of various state-of-the-art LLMs, revealing their strengths and limitations in this field. The findings indicate that while LLMs show strong potential, challenges still exist, particularly in the areas of precise binary lifting and assembly synthesis. In summary, BinMetric makes a significant step forward in measuring the binary analysis capabilities of LLMs, establishing a new benchmark leaderboard, and our study provides valuable insights for the future development of these LLMs in software security.
format Preprint
id arxiv_https___arxiv_org_abs_2505_07360
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle BinMetric: A Comprehensive Binary Analysis Benchmark for Large Language Models
Shang, Xiuwei
Chen, Guoqiang
Cheng, Shaoyin
Wu, Benlong
Hu, Li
Li, Gangyang
Zhang, Weiming
Yu, Nenghai
Software Engineering
Binary analysis remains pivotal in software security, offering insights into compiled programs without source code access. As large language models (LLMs) continue to excel in diverse language understanding and generation tasks, their potential in decoding complex binary data structures becomes evident. However, the lack of standardized benchmarks in this domain limits the assessment and comparison of LLM's capabilities in binary analysis and hinders the progress of research and practical applications. To bridge this gap, we introduce BinMetric, a comprehensive benchmark designed specifically to evaluate the performance of large language models on binary analysis tasks. BinMetric comprises 1,000 questions derived from 20 real-world open-source projects across 6 practical binary analysis tasks, including decompilation, code summarization, assembly instruction generation, etc., which reflect actual reverse engineering scenarios. Our empirical study on this benchmark investigates the binary analysis capabilities of various state-of-the-art LLMs, revealing their strengths and limitations in this field. The findings indicate that while LLMs show strong potential, challenges still exist, particularly in the areas of precise binary lifting and assembly synthesis. In summary, BinMetric makes a significant step forward in measuring the binary analysis capabilities of LLMs, establishing a new benchmark leaderboard, and our study provides valuable insights for the future development of these LLMs in software security.
title BinMetric: A Comprehensive Binary Analysis Benchmark for Large Language Models
topic Software Engineering
url https://arxiv.org/abs/2505.07360