Inferring Empirical Sound Resource Bounds via Symbolic Execution and Linear Programming (Extended Version)
Samuel Frontull, Manuel Meitinger, Georg Moser
Key points
From the paper's conclusion- We have implemented the methodology in a prototype tool, dubbed CompAS, which we made available on Zenodo.
Abstract
Existing approaches to resource analysis of programs can be classified into two main paradigms: static analysis and dynamic analysis methods. The former allow for formal guarantees but are inherently incomplete; the latter are widely applicable but may miss rare but characteristic (worst-case) scenarios and thus lack soundness. Hybrid approaches attempt to combine the strengths of both paradigms, thereby enabling the analysis of programs that are either too complex for purely static techniques or where dynamic approaches suffer from combinatorial explosion. In this paper, we present a novel hybrid approach that systematically derives upper bounds for the worst-case resource consumption of functional programs. Our method combines dynamic symbolic execution to exhaustively explore all possible computation paths within a constrained input space with mixed-integer linear programming to derive empirically sound upper bounds. We have implemented the methodology in a prototype tool, dubbed CompAS, which we made available on Zenodo.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CrossCheck I: Cost Bounds of Imperative Programs as Constrained Optimization, with a Sound Cost Logic and a Verified Certificate CheckerarXiv · 2026
- CrossCheck II: A Compiler Plugin for Certified Cost Bounds of Real-Time C and C++ Code, and its EvaluationarXiv · 2026
- Targeting Completeness: Automated Complexity Analysis of Integer ProgramsJournal of Automated Reasoning · 2026
- Random Testing via Runtime Abstract InterpretationProceedings of the ACM on Programming Languages · 2026
- Quantifying the Advantage of Coarser DPORarXiv · 2026
- Compositional Symbolic Execution \`a la Carte (Extended Version)arXiv · 2026