UNSW, Sydney
Enhancing Efficiency and Precision of Static Taint Analysis via Value-Flow Refinement
Abstract
dc:descriptionStatic taint analysis is a foundational technique in program analysis, widely used to detect data leaks and vulnerabilities by tracking the flow of sensitive information within programs. Its applications span critical domains, including identifying privacy leaks, preventing SQL injection attacks, and addressing memory safety issues. While vital for safeguarding data confidentiality and integrity, achieving high precision often comes at the expense of efficiency, as finer-grained analyses demand substantial computational and memory resources. Balancing precision and scalability is crucial for effectively analysing large-scale, real-world applications. This thesis aims to enhance the efficiency and precision of IFDS-based taint analysis, a high-precision static analysis technique, through the refinement of value flows. Key challenges addressed include redundant computations, spurious value flows, and over-tainting, which hinder the scalability and precision of the traditional approach. By refining value flows, the proposed techniques optimise the IFDS-based framework, enabling efficient handling of large-scale applications without compromising precision. Two innovative techniques are presented in this thesis. The first, MergeDroid, introduces a merge-and-replay strategy to consolidate equivalent value flows and prune spurious ones, significantly reducing computational overhead and enhancing precision. By leveraging context-sensitive insights derived from activation statements, it excludes infeasible value flows, ensuring precise and efficient taint propagation. The second, April, mitigates over-tainting by employing CFL-based field-sensitive pre-analysis to establish precise field relations. These relations are encoded into field-sensitivity-aware DFAs to filter spurious access paths during analysis. By exploiting field sensitivity, April achieves notable improvements in scalability and precision, enabling effective analysis of large-scale programs. Together, these value-flow refinement techniques demonstrate the potential to push the boundaries of IFDS-based taint analysis, addressing its limitations and advancing the state of the art in static analysis frameworks. Extensive evaluations on real-world applications validate the effectiveness of MergeDroid and April, highlighting their contributions to more efficient and precise program analysis.
Degree
thesis:*- Grantor dc:publisher
- UNSW, Sydney
- Year dc:date
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Gui, Yujiang ; https://orcid.org/0009-0006-3999-5203
- Contributors dc:contributor
-
- Xue, Jingling ; https://orcid.org/0000-0003-0380-3506
- Chen, Shiping ; https://orcid.org/0000-0002-4603-0024
- Dongjie He; Chongqing University
Rights
dc:rights- Statement dc:rights
-
- embargoed access
- CC BY 4.0
Identifiers
dc:identifier.*- Identifier
- http://hdl.handle.net/1959.4/105242