{"id":{"repo_id":"texas","oai_identifier":"oai:repositories.lib.utexas.edu:2152/137068"},"canonical_url":"https://search.ndltd.org/etd/texas/oai:repositories.lib.utexas.edu:2152/137068","repository":{"repo_id":"texas","name":"University of Texas","base_url":"https://repositories.lib.utexas.edu/server/oai/request"},"display":{"title":"An LLM-powered Approach to Obfuscation and Testing","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Jiang, Shan"],"institution":"The University of Texas at Austin","degree_name":"Doctor of Philosophy","degree_level":"DOCTORAL","degree_discipline":"Electrical and Computer Engineering","degree_department":"Electrical and Computer Engineering","school":null,"contributors":[],"advisors":["Khurshid, Sarfraz"],"committee_chairs":[],"committee_members":["Zhu, Chenguang","Soloveichik, David","Shi, August","Garg, Vijay K. (Vijay Kumar), 1963-"],"year":2026,"date_issued":"2026-05","date_published":"2026-05","updated_at":"2026-11-20T22:00:35Z","subjects":["Large Language Models","Software testing","JavaScript obfuscation"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/2152/137068"],"render_values":[{"text":"https://hdl.handle.net/2152/137068","href":"https://hdl.handle.net/2152/137068","code":true}]}],"person_identifier_entries":[{"key":"person:identifier.orcid","label":"ORCID","values":["0009-0002-0466-1028"],"render_values":[{"text":"0009-0002-0466-1028","href":"https://orcid.org/0009-0002-0466-1028","code":true}]}]},"links":{"outbound_url":"https://doi.org/10.26153/tsw/64370","outbound_label":"DOI","outbound_source":"dc:identifier.uri","record_url":"https://doi.org/10.26153/tsw/64370","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Atexas%3Aoai%3Arepositories.lib.utexas.edu%3A2152%2F137068","prefix":"oai_dc"},"source_record":{"url":"https://repositories.lib.utexas.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepositories.lib.utexas.edu%3A2152%2F137068","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Khurshid, Sarfraz"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Zhu, Chenguang","Soloveichik, David","Shi, August","Garg, Vijay K. (Vijay Kumar), 1963-"]},{"key":"dc:contributor.department","label":"Department","values":["Electrical and Computer Engineering"]},{"key":"dc:creator","label":"Author","values":["Jiang, Shan"]},{"key":"person:identifier.orcid","label":"ORCID","values":["0009-0002-0466-1028"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-08-03T17:28:17Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2026-05"]},{"key":"dc:date.issued","label":"Date","values":["2026-05"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["May 2026"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-08-03T17:28:17Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_college","label":"Thesis Degree College","values":["Graduate School"]},{"key":"thesis:degree_department","label":"Department","values":["Electrical and Computer Engineering"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Electrical and Computer Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["DOCTORAL"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["The University of Texas at Austin"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Large Language Models","Software testing","JavaScript obfuscation"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/2152/137068","https://doi.org/10.26153/tsw/64370"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["An LLM-powered Approach to Obfuscation and Testing"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Khurshid, Sarfraz"],"dc:contributor.committeemember":["Zhu, Chenguang","Soloveichik, David","Shi, August","Garg, Vijay K. (Vijay Kumar), 1963-"],"dc:contributor.department":["Electrical and Computer Engineering"],"dc:creator":["Jiang, Shan"],"dc:date.accessioned":["2026-08-03T17:28:17Z"],"dc:date.created":["2026-05"],"dc:date.issued":["2026-05"],"dc:date.submitted":["May 2026"],"dc:date.updated":["2026-08-03T17:28:17Z"],"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."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/2152/137068","https://doi.org/10.26153/tsw/64370"],"dc:subject":["Large Language Models","Software testing","JavaScript obfuscation"],"dc:title":["An LLM-powered Approach to Obfuscation and Testing"],"dc:type":["Thesis","text"],"others:access_status":["open.access"],"person:identifier.orcid":["0009-0002-0466-1028"],"thesis:degree_college":["Graduate School"],"thesis:degree_department":["Electrical and Computer Engineering"],"thesis:degree_discipline":["Electrical and Computer Engineering"],"thesis:degree_level":["DOCTORAL"],"thesis:degree_name":["Doctor of Philosophy"],"thesis:institution_name":["The University of Texas at Austin"]},"updated_at":"2026-11-20T22:00:35Z"}