135

C-ing Clearly: Enhanced Binary Code Explanations using C code

Teodor Poncu
Ioana Pintilie
Marius Dragoi
Dragos Tantaru
Florin Brad
Main:7 Pages
5 Figures
Bibliography:3 Pages
14 Tables
Appendix:8 Pages
Abstract

Large Language Models (LLMs) typically excel at coding tasks involving high-level programming languages, as opposed to lower-level programming languages, such as assembly. We propose a synthetic data generation method named C-ing Clearly, which leverages the corresponding C code to enhance an LLM's understanding of assembly. By fine-tuning on data generated through our method, we demonstrate improved LLM performance for binary code summarization and vulnerability detection. Our approach demonstrates consistent gains across different LLM families and model sizes.

View on arXiv
Comments on this paper