Back to search

Hong Kong University of Science and Technology

Effective Instrumentation and Runtime Support for Enhancing Software Reliability

Abstract

dc:description

<p>Modern system and software development have evolved far beyond the traditional “code, compile, and deploy” paradigm. Dynamic analysis and runtime monitoring have become essential for enhancing testing, debugging, verification, and optimization in continuous development workflows. However, standard compilation processes and runtime environments often fail to capture the diverse data required for effective dynamic analysis. Integrating additional compilation and runtime support addresses this gap, but often incurs significant overhead, limiting the scalability and applicability of the techniques.</p> <p>This thesis contributes to improving the scalability and practicality of dynamic analysis at an industrial scale. We present three key contributions that advance instrumentation (i.e., the automatic insertion of analysis instructions) and the associated runtime support to enhance dynamic analysis throughout the entire development lifecycle.</p> <p>First, GiantSan introduces innovative memory continuity-based instrumentation for enhancing the efficiency of memory protections. GiantSan significantly improves the accuracy and effectiveness of memory sanitizers, which are critical tools for identifying memory-related vulnerabilities. GiantSan achieves performance gains by utilizing a novel and efficient interval validation algorithm, called Segment Folding, and complementing traditional machine instruction-level protections with valuable language-level information.</p> <p>Second, Spinel addresses the challenge of memory-related event monitoring in software testing. Existing methods lack efficient mechanisms for extracting memory-related guidance in automatic testing. Spinel presents a lightweight runtime framework with spatial encoding, capturing essential insights with minimal overhead while cooperating with offline analysis to efficiently expose hidden bugs.</p> <p>Third, Zircon provides a compiler-friendly solution to the optimization failure issue of event quantification. By refining data flow through specialized static analyses and tailored compilation passes, Zircon ensures the quality of code optimization with comprehensive instrumentation.</p> <p>These contributions collectively pave the way for more efficient, accurate, and scalable methods tailored for contemporary software systems. Notably, our research prototypes have been successfully implemented within a Fortune 500 company, demonstrating their potential for industrial-scale application.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ling, Hao
Contributors dc:contributor
  • Zhang, Charles Chuan

Rights

Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Hong Kong University of Science and Technology
Base URL
repository.ust.hk/ir/OAI/Server
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Ling, Hao. Effective Instrumentation and Runtime Support for Enhancing Software Reliability. 2025. http://repository.hkust.edu.hk/ir/Record/1783.1-152469