Back to search

The University of Texas at Austin

An LLM-powered Approach to Obfuscation and Testing

Abstract

dc:description.abstract

Software reliability increasingly depends on our ability to validate program behavior and trust automated transformations in environments where specifications are informal and code is routinely rewritten by tools. Large language models (LLMs) offer a compelling bridge between intent and implementation, yet they are brittle in precisely the ways that matter for correctness: they may hallucinate, rely on unstated assumptions, or mishandle subtle language semantics. This dissertation argues that LLMs are most effective when used selectively---as front-ends that extract intent and generate structured candidates---while correctness-critical reasoning is grounded in well-founded back-ends such as compilation, execution, and equivalence checking. We develop this principle across three reliability problems at the intersection of software testing and security. First, we introduce CASCADE, a hybrid JavaScript deobfuscation pipeline that uses an LLM to detect obfuscator-specific decoding machinery and a compiler intermediate representation (JSIR) to perform semantics-preserving rewrites; evaluated on a large synthetic corpus, CASCADE recovers obfuscated string literals with near-99\% success rates while remaining fast. Second, we present OBsmith, a framework that systematically tests JavaScript obfuscators using LLM-generated program sketches paired with reference-oriented equivalence testing; OBsmith uncovers 11 previously unknown semantic bugs in two widely used obfuscators that state-of-the-art general-purpose fuzzers fail to detect. Third, we present SpecOracle, a pipeline that uses LLMs to convert natural-language JDK Javadoc specifications into executable universal test oracles for detecting behavioral subtyping violations; applied to 20 open-source Java projects, SpecOracle confirms 85 true bugs across 15 projects, 95.3\% of which are missed by SpotBugs, Error Prone, and Randoop. Across these contributions, the recurring theme is that LLMs help in generating high-value structure, while formally understood analyses and execution-based checks provide the necessary trust.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
DOCTORAL
Discipline thesis:degree_discipline
Electrical and Computer Engineering
Department thesis:degree_department
Electrical and Computer Engineering
Grantor
The University of Texas at Austin
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Jiang, Shan
Advisor dc:contributor.advisor
  • Khurshid, Sarfraz
Committee members dc:contributor.committeemember
  • Zhu, Chenguang
  • Soloveichik, David
  • Shi, August
  • Garg, Vijay K. (Vijay Kumar), 1963-
ORCID person:identifier.orcid

Subjects

dc:subject × 3

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
University of Texas
Base URL
repositories.lib.utexas.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Jiang, Shan. An LLM-powered Approach to Obfuscation and Testing. DOCTORAL thesis, The University of Texas at Austin, 2026. https://doi.org/10.26153/tsw/64370