- Main
Efficient Fixpoint Computation for Abstract Interpretation
- Kim, Sungkook
- Advisor(s): Thakur, Aditya V.
Abstract
Abstract interpretation provides a general framework for expressing static program analyses by reducing the task of inferring program invariants to computing an approximation of the least fixpoint of a system of equations. A commonly used approach for this computation is Bourdoncle’s sequential iteration strategy, which relies on a weak topological order (WTO). This thesis addresses the challenge of improving the computational efficiency of abstract interpretation while maintaining precision of its analyses. It introduces a novel method for deterministically parallelizing Bourdoncle’s iteration strategy by leveraging the concept of a weak partial order (WPO). Additionally, it proposes an optimal approach to minimize the memory footprint of the sequential iteration strategy, ensuring the same results are computed with the least possible memory usage. Notably, the techniques presented are abstract domain-agnostic, making them broadly applicable across various analysis scenarios. The efficacy of the deterministic parallel technique is assessed by implementing it in a tool called PIKOS, an extension of the sequential abstract interpreter IKOS. The performance and scalability of PIKOS are evaluated on a suite of 1017 C programs. With 4 cores, PIKOS achieves an average speedup of 2.06x over IKOS, with a maximum speedup of 3.63x. Using 16 cores, PIKOS achieves a maximum speedup of 10.97x. Additionally, the effectiveness of the memory-efficient technique is assessed by implementing it in a tool called MIKOS, another extension of IKOS. On average, MIKOS demonstrates a 24.57× reduction in peak memory usage when verifying user-provided assertions, and a 2.29× reduction when performing interprocedural buffer-overflow analysis, compared to IKOS.