Back to search

The Ohio State University

Towards Neural Binary Code Comprehension

Abstract

dc:description

Binary code comprehension, particularly within the context of stripped binaries,stands as a very useful task in binary analysis and software security applicationsranging from malware analysis to vulnerability discovery and binary reverse engineering. Understanding stripped binary code is challenging due to the absence of symbols such as variable names, data types, and function names. This complexity is furtherexacerbated by the variety of binary abstract interfaces, instruction sets, computerarchitectures, compiler optimizations, and obfuscations.This dissertation systematically explores the problem of binary code comprehensionusing binary analysis, deep learning, and large language models. We first presentan exploratory study, BinSum, on how machine learning models, particularly thestate-of-the-art generative large language models, can understand binary code witha comprehensive benchmark and dataset encompassing over 557K binary functions.Subsequently, motivated by BinSum’s finding of the semantic significance of functionnames in binary code, we introduce SymLM, a novel binary function name predictionframework, employing a unique neural architecture that captures comprehensivefunction semantics by modeling both the execution behavior of functions and theircalling contexts. The third contribution of this dissertation focuses on the evaluationof code summaries’ quality, in which we introduce a novel LLM-based code summarysemantic evaluation metric, SimLLM, for assessing semantic similarity. This methodsignificantly surpasses traditional metrics and exhibits a high correlation with humanjudgment, addressing their shortcomings in understanding domain-specific terminologiesprevalent in code summaries. Finally, we explore the generalizability of functionname prediction by presenting BinSymn, a novel model architecture, trained ondomain-adapted generative LLMs.Together, BinSum, SymLM, SimLLM, and BinSymn provide a comprehensiveoverview of the current state and future directions in neural binary code comprehension.By leveraging advanced machine learning methodologies, extensive datasets, andnovel evaluation metrics, this dissertation makes significant contributions to the field,enhancing our ability to interpret and summarize complex binary code for assistingdownstream binary analysis and reverse engineering research.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
doctoral
Discipline thesis:degree_discipline
Computer Science and Engineering
Grantor dc:publisher
The Ohio State University
Year dc:date
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Jin, Xin
Advisor dc:contributor.advisor
  • Lin, Zhiqiang

Subjects

dc:subject × 4

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Jin, Xin. Towards Neural Binary Code Comprehension. doctoral thesis, The Ohio State University, 2024. http://rave.ohiolink.edu/etdc/view?acc_num=osu1713292469239166