Back to search

Iowa State University

Trust, transforms, and control flow: A graph-theoretic method to verifying source and binary control flow equivalence

Abstract

dc:description.abstract

<p>The software development process often requires the use of tools that the developers did not write themselves, such as a compiler. Additionally, when security researchers perform tasks such as binary analysis and reverse engineering disassembly and decompiler tools may be used which the researchers did not develop themselves. Yet in all of these cases, there is inherent trust placed in the tools that are being used for these tasks without thought to whether or not that trust is valid. In this work, we provide an overview of what has already been done in the realms of verification and establishment of this trust as well as show our contribution to this area. Our approach is taken through an algorithm that allows us to validate or invalidate that trust by comparing the control flow graphs (CFGs) for a piece of source code to the corresponding CFG for the disassembled binary. This is done by putting the source CFG through a series of program functionality preserving transforms that implement different control structure compiler optimizations. Then we are able to make use of a graph isomorphism algorithm to determine whether or not the two CFGs are isomorphic and determine if the trust is valid. We evaluate the effectiveness of this algorithm against the XINU codebase and report our results.</p>

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
thesis
Discipline thesis:degree_discipline
Computer Engineering( Secureand Reliable Computing)
Department dc:contributor.department
Department of Electrical and Computer Engineering
Year dc:date.issued
2021

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Goluch, Ryan
Advisor dc:contributor.advisor
  • Suresh Kothari

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Identifier
archive/lib.dr.iastate.edu/etd/18498/
Dc Identifier Other
9505
23293848
Mods Identifier Filename
archive/lib.dr.iastate.edu/etd/18498/Goluch_iastate_0097M_19380.pdf|||Fri Jan 14 21:42:46 UTC 2022

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Goluch, Ryan. Trust, transforms, and control flow: A graph-theoretic method to verifying source and binary control flow equivalence. thesis thesis, 2021. https://doi.org/10.31274/etd-20210609-59