Back to results

University of Kansas

A Framework for Assessing Decompiler Inference Accuracy of Source-Level Program Constructs

Abstract

dc:description.abstract

Decompilation is the process of reverse engineering a binary program into an equivalent source code representation with the objective to recover high-level program constructs such as functions, variables, data types, and control flow mechanisms. Decompilation is applicable in many contexts, particularly for security analysts attemptingto decipher the construction and behavior of malware samples. However, due to the loss of information during compilation, this process is naturally speculative and thus is prone to inaccuracy. This inherent speculation motivates the idea of an evaluation framework for decompilers. In this work, we present a novel framework to quantitatively evaluate the inference accuracy of decompilers, regarding functions, variables, and data types. Within our framework, we develop a domain-specific language (DSL) for representing such program information from any "ground truth" or decompiler source. Using our DSL, we implement a strategy for comparing ground truth and decompiler representations of the same program. Subsequently, we extract and present insightful metrics illustrating the accuracy of decompiler inference regarding functions, variables, and data types, over a given set of benchmark programs. We leverage our framework to assess the correctness of the Ghidra decompiler when compared to ground truth information scraped from DWARF debugging information. We perform this assessment over a subset of the GNU Core Utilities (Coreutils) programs and discuss our findings.

Degree

thesis:*
Name thesis:degree_name
M.S.
Discipline thesis:degree_discipline
Electrical Engineering & Computer Science
Grantor dc:publisher
University of Kansas
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Kline, Jace Aaron
Advisor dc:contributor.advisor
  • Kulkarni, Prasad
Committee members dc:contributor.committeemember
  • Kulkarni, Prasad
  • Luo, Bo
  • Alexander, Perry
ORCID dc:identifier.orcid

Subjects

dc:subject × 7

Rights

dc:rights.accessrights
Statement dc:rights.accessrights
  • openAccess
  • Copyright held by the author.
Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
University of Kansas
Base URL
kuscholarworks.ku.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Kline, Jace Aaron. A Framework for Assessing Decompiler Inference Accuracy of Source-Level Program Constructs. University of Kansas, 2022. https://hdl.handle.net/1808/34431