Master’s Thesis Presentation • Cryptography, Security, and Privacy (CrySP) • Characterizing Specialization and Detecting Specialization Violations in Android Frameworks

Thursday, December 10, 2026 2:30 pm - 3:30 pm EST (GMT -05:00)

Please note: This master’s thesis presentation will take place in DC 2314 and online.

Seemal Tausif, Master’s candidate
David R. Cheriton School of Computer Science

Supervisor: Professor Yousra Aafer

Android device manufacturers extensively customize the Android framework to support different hardware configurations, device types, carriers, and regional requirements. These customizations rely on specialization checks that conditionally enable or restrict functionality. However, the prevalence and purpose of these checks remain poorly understood, and enforcement violations may lead to unintended behaviour.

In this thesis, we present a hybrid static analysis and Large Language Model (LLM)-driven approach to characterize Android specialization and identify potential violations. We first extract specialization checks from framework code and classify their specialization relevance and deployment contexts. We then analyze the functionality controlled by these checks and compare its restrictions across different code locations to identify potential under-specialization, where expected restrictions are missing, and over-specialization, where functionality is unnecessarily restricted. We use LLM-based semantic assessment and source-level validation to examine the potential specialization violations. We evaluate our approach on six Android ROMs spanning different manufacturers and device types. We identify between 3,802 and 8,463 distinct candidate specialization checks per ROM and analyze 24,246 comparisons of specialized functionality, identifying 41 source-validated code-level differences. Our findings reveal diverse specialization practices and potential violations in how Android framework functionality is restricted.


To attend this master’s thesis presentation in person, please go to DC 2314. You can also attend virtually on Zoom.