Back to search

Rice University

Toward Secure Compartmentalization: Scalable Static Analysis Using Program Dependence Graph

Abstract

dc:description.abstract

Large and complex software systems, such as operating system kernels and database engines, are frequently designed using a monolithic architecture. In this structure, a single bug or memory corruption in any component can compromise the entire system integrity. To mitigate this risk, compartmentalization, which establishes privilege boundaries between different components, has been proposed and employed. However, identifying secure boundaries and analyzing the data and control flow across them can be particularly challenging, especially in extensive codebases. We define a Compartment Interface Vulnerability (CIV) as a function or interface that unintentionally exposes unsafe privileges to external components. This thesis introduces a scalable static analysis framework aimed at detecting CIVs and aiding in selecting secure boundaries. Unlike dynamic methods that rely on test inputs and often face limitations in coverage, static analysis based upon a Program Dependence Graph (PDG) offers complete coverage of program paths. However, PDG-based static analysis has proven difficult to scale to large software systems. In such systems, PDG queries can require excessive memory and take too long to complete. To address these issues, we enhance the PDG framework by implementing a parallel-safe traversal algorithm that employs a three-state marking scheme and a memory-efficient reachability analysis. These innovations make it practical to perform whole-system analysis on real-world systems like the Linux kernel. We demonstrate the effectiveness of this enhanced PDG framework through two novel tools that are built upon it: (1) CIVScope, which detects CIVs across compartment boundaries, and (2) CIVPerf, which assists the developer in designing, implementing, and evaluating compartmentalization policies. These applications showcase how our static analysis can automatically derive and evaluate compartment boundaries. In the first use case, we compare CIVScope to the dynamic fuzzing tool, ConfFuzz, highlighting that static analysis achieves complete path coverage at scale and reveals vulnerabilities that may remain undetected at runtime. In the second use case, we show how CIVPerf can evaluate the security and performance of various compartmentalization policies, highlighting its scalability for large software analysis, automating the compartmentalization process, and assessing the compartments.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Discipline thesis:degree_discipline
System Security
Department thesis:degree_department
Computer Science
Grantor
Rice University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Chien, Yi
Advisor dc:contributor.advisor
  • Cox, Alan L.
Committee members dc:contributor.committeemember
  • Dautenhahn, Nathan
  • Rixner, Scott
  • Yang, Kaiyuan

Subjects

dc:subject × 2

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1911/119301

Chain of custody

source
Harvested from
Rice University
Base URL
repository.rice.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Chien, Yi. Toward Secure Compartmentalization: Scalable Static Analysis Using Program Dependence Graph. Rice University, 2026. https://hdl.handle.net/1911/119301