No Shot in the Dark: Efficient Context-Free Language Reachability via Context-Aware Tabulation
Context-free language (CFL) reachability is a widely used framework for formulating static program analyses. Operating over edge-labeled graphs, the standard algorithm performs context-free tabulation by iteratively deriving new edges that summarize paths whose labels conform to the production rules of a context-free grammar. However, as the term ``context-free'' suggests, these derivations are made without considering the surrounding context of inferred edges, often resulting in unproductive edges that do not contribute to the final reachability result.
In this paper, we present \emph{context-aware tabulation} (CAT), a novel approach that incorporates a restricted form of context sensitivity into CFL-reachability analysis to eliminate such unproductive edges. Comprehensive experiments on three widely studied clients show that CAT significantly accelerates reachability solving—achieving speedups of 1.75x, 1.49x, and 2.13x—and also reduces memory usage by 33.28%, 24.24%, and 50.15%, respectively, compared to a state-of-the-art solver.
Thu 16 AprDisplayed time zone: Brasilia, Distrito Federal, Brazil change
14:00 - 15:30 | Testing and Analysis 11Research Track at Oceania IX Chair(s): Sebastian Baltes Heidelberg University | ||
14:00 15mTalk | Efficient Build Dependency Verification Using eBPF and Incremental Analysis Research Track Yuta Saito Waseda University, Kazunori Sakamoto Tokyo Online Unicersity / Waseda University / National Institute of Informatics / WillBooster Inc., Hironori Washizaki Waseda University | ||
14:15 15mTalk | Hybrid Fault-Driven Mutation Testing for Python Research Track Pre-print | ||
14:30 15mTalk | No Shot in the Dark: Efficient Context-Free Language Reachability via Context-Aware Tabulation Research Track Chenghang Shi SKLP, Institute of Computing Technology, CAS, Lian Li Institute of Computing Technology at Chinese Academy of Sciences; University of Chinese Academy of Sciences Media Attached | ||
14:45 15mTalk | Is Call Graph Pruning Really Effective? An Empirical Re-evaluation Research Track Mohammad Rafieian The University of Texas at Dallas, Vlad Birsan The University of Texas at Dallas, Kunal Katiya Coppell High School, Dylan Zhong , Shiyi Wei University of Texas at Dallas Pre-print | ||
15:00 15mTalk | MutDafny: A Mutation-Based Approach to Assess Dafny Specifications Research Track Isabel Amaral INESC TEC, Faculty of Engineering, University of Porto, Alexandra Mendes Faculty of Engineering, University of Porto & INESC TEC, José Campos Faculty of Engineering of the University of Porto, Portugal | ||
15:15 15mTalk | Enhancing Symbolic Execution with Self-Configuring Parameters Research Track | ||