Skip to Content

PPL citations from 2026

All citation years and BibTeX download

[AkshayCFGMZ26]
Parallel Abstract Interpretation for Polynomial Programs with Range Bound Assertions(Conference paper)
Authors:
S. Akshay; S. Chakraborty; S. Farokhnia; A. Goharshady; H. J. Motwani; Đ. Žikelić
Editors:
E. Darulova; A. W. Lin; P. Rümmer
Date:
2026
Publication:
Computer Aided Verification: Proceedings of the 38th International Conference (CAV 2026), Part III
Series:
Lecture Notes in Computer Science
Volume:
16684
Pages:
146–168
Publisher:
Springer, Cham
Location:
Lisbon, Portugal
ISBN:
978-3-032-32536-5 (Print) 978-3-032-32537-2 (Online)
Abstract
We present a parallel abstract interpretation technique for polynomial programs with assertions presented as unions of range bound constraints. We use the powerset domain of hyper-rectangles to over-approximate sets of reachable states. Our key technical contributions include novel abstract transformers and refinement operators that account for the semantics of polynomial assignments and guards more precisely than earlier work, while remaining amenable to parallelization and efficient implementation. This is achieved by appealing to Farkas' Lemma and Handelman's Theorem, and by exploiting geometric properties of unions of hyper-rectangles. Our abstract interpretation technique proves safety properties of many polynomial programs that state-of-the-art abstract interpretation tools fail to prove. We have implemented our approach in a tool called PolyAbs, and experimentally evaluated it on a suite of benchmarks. Our experiments demonstrate the improved precision and broader coverage of PolyAbs vis-a-vis state-of-the-art abstract interpretation tools, including a commercial-grade tool.
[AllamigeonCG26]
Computing the Congestion Phases of Dynamical Systems with Priorities and Application to Emergency Departments(Conference paper)
Authors:
X. Allamigeon; P. Capetillo; S. Gaubert
Editors:
P. Prabhakar; A. Vandin
Date:
2026
Publication:
Quantitative Evaluation of Systems and Formal Modeling and Analysis of Timed Systems: Proceedings of the Second International Joint Conference (QEST+FORMATS 2025)
Series:
Lecture Notes in Computer Science
Volume:
16143
Pages:
487–505
Publisher:
Springer, Cham
Location:
Aarhus, Denmark
ISBN:
978-3-032-05791-4 (Print) 978-3-032-05792-1 (Online)
Abstract
Medical emergency departments are complex systems in which patients must be treated according to priority rules based on the severity of their condition. We develop a model of emergency departments using Petri nets with priorities, described by nonmonotone piecewise linear dynamical systems. The collection of stationary solutions of such systems forms a “phase diagram”, in which each phase corresponds to a subset of bottleneck resources (like senior doctors, interns, nurses, consultation rooms, etc.). Since the number of phases is generally exponential in the number of resources, developing automated methods is essential to tackle realistic models. We develop a general method to compute congestion diagrams. A key ingredient is a polynomial time algorithm to test whether a given “policy” (configuration of bottleneck tasks) is achievable by a choice of resources. This is done by reduction to a feasibility problem for an unusual class of lexicographic polyhedra. Furthermore, we show that each policy uniquely determines the system's throughput. We apply our approach to a case study, analyzing a simplified model of an emergency department from Assistance Publique - Hôpitaux de Paris.
[AndreLR26]
Dense Integer-Complete Synthesis for Bounded Parametric Timed Automata(Article)
Authors:
É. André; D. Lime; O. H. Roux
Date:
2026
Publication:
Logical Methods in Computer Science
Volume:
22
Issue:
2
Pages:
11:1–11:32
Publisher:
Logical Methods in Computer Science
Abstract
Ensuring the correctness of critical real-time systems, involving concurrent behaviours and timing requirements, is crucial. Timed automata extend finite-state automata with clocks, compared in guards and invariants with integer constants. Parametric timed automata (PTAs) extend timed automata with timing parameters. Parameter synthesis aims at computing dense sets of valuations for the timing parameters, guaranteeing a good behaviour. However, in most cases, the emptiness problem for reachability (i.e., the emptiness of the parameter valuations set for which some location is reachable) is undecidable for PTAs and, as a consequence, synthesis procedures do not terminate in general, even for bounded parameters. In this paper, we introduce a parametric extrapolation, that allows us to derive an underapproximation in the form of symbolic sets of valuations containing not only all the integer points ensuring reachability, but also all the (non-necessarily integer) convex combinations of these integer points, for general PTAs with a bounded parameter domain. We also propose two further algorithms synthesizing parameter valuations guaranteeing unavoidability, and preservation of the untimed behaviour w.r.t. a reference parameter valuation, respectively. Our algorithms terminate and can output sets of valuations arbitrarily close to the complete result. We demonstrate their applicability and efficiency using the tools Roméo and IMITATOR on several benchmarks.
[BecchiFGN26]
Syntactically Convex Model-Based Projection for Linear Real Arithmetic(Conference paper)
Authors:
A. Becchi; G. Fedyukovich; A. Gurfinkel; L. Nachmanson
Editors:
S. Junges; G. Katz
Date:
2026
Publication:
Tools and Algorithms for the Construction and Analysis of Systems: Proceedings of the 32nd International Conference (TACAS 2026), Part I
Series:
Lecture Notes in Computer Science
Volume:
16505
Pages:
45–65
Publisher:
Springer, Cham
Location:
Turin, Italy
ISBN:
978-3-032-22751-5 (Print) 978-3-032-22752-2 (Online)
Abstract
Quantifier elimination (QE) is a key task in formal verification algorithms, and the ability to return partial results, such as under-approximations, is beneficial for many QE clients. In Linear Real Arithmetic (LRA), existing QE methods often fail to preserve syntactic convexity, that is, they return a disjunction even for a conjunctive input, or they return a large non-minimal representation. We define the novel concept of Bidirectional Model-Based Projection and a new QE algorithm for LRA (BMBP-QE) that (i) returns a conjunctive over-approximation and a disjunctive under-approximation when interrupted early, (ii) returns a minimal conjunction when the input is conjunctive, and (iii) applies to arbitrary LRA formulae. We show that BMBP-QE outperforms SMT-based QE algorithms, offering improvements in both runtime and result size.
[BenerecettiFM26a]
Best-Effort Safety Control of Multi-Mode Systems(Conference paper)
Authors:
M. Benerecetti; M. Faella; F. Mogavero
Editors:
E. Darulova; A. W. Lin; P. Rümmer
Date:
2026
Publication:
Computer Aided Verification: Proceedings of the 38th International Conference (CAV 2026), Part III
Series:
Lecture Notes in Computer Science
Volume:
16684
Pages:
457–479
Publisher:
Springer, Cham
Location:
Lisbon, Portugal
ISBN:
978-3-032-32536-5 (Print) 978-3-032-32537-2 (Online)
Abstract
We consider the problem of controlling a multi-mode system with respect to a safety goal in the Filippov sliding-mode semantics. When the goal can be enforced, we present a symbolic algorithm that enhances the previously known solution. When the goal cannot be enforced, we compare different natural best-effort criteria, identify the most promising one, and design a symbolic algorithm that synthesizes the corresponding myopically optimal control policy. We prove that the synthesized policy enjoys a regularity property known as a tame topology.
[BenerecettiFM26b]
Verifying Linear Temporal Properties on Polyhedral Systems: Decidability and Symbolic Algorithms(Article)
Authors:
M. Benerecetti; M. Faella; F. Mogavero
Date:
2026
Publication:
Information and Computation
Volume:
311
Pages:
105453
Publisher:
Elsevier
ISSN:
0890-5401
Abstract
We study the problem of model checking linear temporal logic formulae on finite trajectories generated by polyhedral differential inclusions, thus enriching the landscape of models where such specifications can be effectively verified. Each model in the class comprises a static and a dynamic component. The static component features a finite set of observables represented by (non-necessarily convex) polyhedra. The dynamic one is given by a convex polyhedron constraining the dynamics of the system, by specifying the possible slopes of the trajectories in each time instant. We devise an exact algorithm that computes a symbolic representation of the region of points that existentially satisfy a given formula φ\varphi, i.e., the points from which there exists a trajectory satisfying φ\varphi.
[BrainH26]
Canonical Forms and Widening for Two Variables per Inequality Systems(Article)
Authors:
M. Brain; J. M. Howe
Date:
2026
Publication:
Mathematics in Computer Science
Volume:
20
Issue:
1
Pages:
2
Publisher:
Springer
ISSN:
1661-8270
Abstract
Program verification using abstract interpretation involves the symbolic calculation of fixpoints over lattices. Integral to these fixpoint calculations is widening, an operation that trades precision for guarantees of termination. Abstract interpretation often works with lattices of convex sets of points in n-dimensional space, represented by sets of linear inequalities. When the form of these inequalities is restricted these are known as weakly relational domains. This paper addresses weakly relational domains, the detail of their representation and the way in which widening is applied, including study of how the closure operators used in weakly relational domains interact with widening, and considers how sequences of constraints might be widened. Satisfiability checking for numeric constraints is one tool used in this work.
[ChalupaHSY26]
Quantitative Monitoring of Signal First-Order Logic(Conference paper)
Authors:
M. Chalupa; T. A. Henzinger; N. E. Saraç; E. Yu
Editors:
A. Sampaio; M. Stoelinga
Date:
2026
Publication:
Formal Methods: Proceedings of the 27th International Symposium (FM 2026), Part II
Series:
Lecture Notes in Computer Science
Volume:
16557
Pages:
214–233
Publisher:
Springer, Cham
Location:
Tokyo, Japan
ISBN:
978-3-032-26219-6 978-3-032-26220-2
Abstract
Runtime monitoring checks, during execution, whether a partial signal produced by a hybrid system satisfies its specification. Signal First-Order Logic (SFO) offers expressive real-time specifications over such signals, but currently comes only with Boolean semantics and has no tool support. We provide the first robustness-based quantitative semantics for SFO, enabling the expression and evaluation of rich real-time properties beyond the scope of existing formalisms such as Signal Temporal Logic. To enable online monitoring, we identify a past-time fragment of SFO and give a pastification procedure that transforms bounded-response SFO formulas into equisatisfiable formulas in this fragment. We then develop an efficient runtime monitoring algorithm for this past-time fragment and evaluate its performance on a set of benchmarks, demonstrating the practicality and effectiveness of our approach. To the best of our knowledge, this is the first publicly available prototype for online quantitative monitoring of full SFO.
[delaCruzNV26]
Fano and Reflexive Polytopes from Feynman Integrals(Article)
Authors:
L. de la Cruz; P. P. Novichkov; P. Vanhove
Date:
2026
Publication:
Journal of High Energy Physics
Volume:
2026
Issue:
6
Pages:
62
Publisher:
Springer
Abstract
We classify the Fano and reflexive polytopes that arise from quasi-finite Feynman integrals. These polytopes appear as scaled Minkowski sums of the Newton polytopes associated with the Symanzik graph polynomials. For one-loop graphs and multiloop sunset graphs, we identify the Fano and reflexive cases by computing the number of interior points from the associated bivariate Ehrhart polynomials. More generally, we utilize the properties of Symanzik polynomials and their symmetries to conduct a direct search over all Feynman graphs in generic kinematics with up to ten edges and nine loops. We find that such cases are remarkably sparse: for example, we find only two two-dimensional reflexive polytopes, three three-dimensional reflexive polytopes, and four three-dimensional Fano polytopes. We also reveal a surprising feature of one-loop N -gon integrals in higher dimensions: their associated reflexive polytopes encode degenerate Calabi-Yau (N - 2)-folds. We further analyze the geometric structures encoded by these polytopes and exhibit explicit connections with del Pezzo surfaces, K3 surfaces, and Calabi-Yau threefolds. Since reflexive polytopes naturally correspond to Calabi-Yau varieties, our classification demonstrates that quasi-finite Feynman integrals, with reflexive polytopes, are intrinsically linked to Calabi-Yau period integrals.
[GomberBS26]
Evolving Abstract Transformers for Gradient-Guided, Adaptable Abstract Interpretation(Article)
Authors:
S. Gomber; D. Banerjee; G. Singh
Date:
2026
Publication:
Proceedings of the ACM on Programming Languages
Volume:
10
Issue:
PLDI
Pages:
2474–2498
Publisher:
ACM Press, New York, USA
Abstract
Current numerical abstract interpretation relies on fixed, hand-crafted, instruction-specific transformers tailored to each domain, giving rise to three significant limitations. First, extensibility is limited because transformers cannot be reused across domains and new transformers need to be designed for each new domain or operator. Second, precise compositional reasoning over instruction sequences is difficult as transformers are defined only at the instruction level. Third, all downstream tasks are forced to use the same fixed transformer, irrespective of their precision, efficiency, or task-specific requirements. To address these limitations, we propose the Evolving Abstract Transformer, a general transformer that replaces the fixed single-output design of traditional transformers with an adaptable search over a parametric space of sound outputs. This is achieved through two underlying algorithms we develop. First, the Universal Parametric Output Space Encoder (UPOSE) constructs a compact parametric space of sound outputs for any polyhedral numerical domain and any operator in the Quadratic-Bounded Guarded Operators (QGO) class which includes both individual instructions and structured sequences. Next, the Adaptive Gradient Guidance (AGG) algorithm leverages the differentiable structure of the space generated by UPOSE and uses gradient-based updates to efficiently search it according to downstream analysis objectives and available runtime, continually evolving the output as more time is provided. We implement these ideas in the AbsEvolve framework and evaluate their effectiveness across three numerical abstract domains: Zones, Octagons, and Polyhedra. Our results demonstrate that the evolving transformer works across domains and handles diverse instructions and sequences, allowing efficient adaptability in the precision–efficiency tradeoff by adjusting the number of gradient steps in the search, while also reaching the most precise invariants up to 3.2×\times faster than existing baselines.
[GuL26]
BONC: A Framework for Automatic Cryptanalysis Using the Implementation Code(Article)
Authors:
Y. Gu; M. Liu
Date:
2026
Publication:
Cybersecurity
Volume:
9
Issue:
1
Pages:
121
Publisher:
Springer
ISSN:
2523-3246
Abstract
The security analysis of symmetric ciphers is a time-consuming and labor-intensive process that traditionally relies on manual derivation and mathematical modeling for specific algorithms. This paper introduces a fully automated analysis software framework designed to evaluate the security of any round-based symmetric cipher constructed from common primitives like S-boxes, bit permutations, and XOR operations. Our approach leverages the LLVM compiler infrastructure and the KLEE symbolic execution engine to automatically convert C implementations of cryptographic algorithms into a structured representation of state bits and update functions. By employing a frontend that uses custom annotations to identify round functions, it translates the algorithm into a series of Bit Expressions, and we introduce multiple modular backends that process those Expressions to applicable form of performing various types of analyzing methods. We demonstrate the tool's effectiveness by implementing a differential and linear cryptanalysis backend with help of SAT solver, Division Property integral cryptanalysis backend with help of MILP solver, and a degree estimation backend based on Numeric Mapping method. As an experimental result, we apply these automated analysis techniques to several finalists from the NIST Lightweight Cryptography (LWC) competition, successfully reproducing and improving some existing cryptanalytic results. This work significantly lowers the barrier for cryptographic research by providing a powerful and adaptable platform for automatically assessing the security of both existing and newly designed symmetric ciphers.
[HeimD26]
Modular Attractor Acceleration in Infinite-State Games(Conference paper)
Authors:
P. Heim; R. Dimitrova
Editors:
S. Junges; G. Katz
Date:
2026
Publication:
Tools and Algorithms for the Construction and Analysis of Systems: Proceedings of the 32nd International Conference (TACAS 2026), Part I
Series:
Lecture Notes in Computer Science
Volume:
16505
Pages:
398–418
Publisher:
Springer, Cham
Location:
Turin, Italy
ISBN:
978-3-032-22751-5 (Print) 978-3-032-22752-2 (Online)
Abstract
Infinite-state games provide a framework for the synthesis of reactive systems with unbounded data domains. Solving such games typically relies on computing symbolic fixpoints, particularly symbolic attractors. However, these computations may not terminate, and while recent acceleration techniques have been proposed to address this issue, they often rely on acceleration arguments of limited expressiveness. In this work, we propose an approach for the modular computation of acceleration arguments. It enables the construction of complex acceleration arguments by composing simpler ones, thereby improving both scalability and flexibility. In addition, we introduce a summarization technique that generalizes discovered acceleration arguments, allowing them to be efficiently reused across multiple contexts. Together, these contributions improve the efficiency of solving infinite-state games in reactive synthesis, as demonstrated by our experimental evaluation.
[LiangDLRB26]
Thermodynamic Space of Chemical Reaction Networks(Article)
Authors:
S. Liang; P. De Los Rios; D. M. Busiello
Date:
2026
Publication:
Physical Review X
Volume:
16
Issue:
4
Pages:
041026
Publisher:
American Physical Society (APS)
Abstract
Living systems operate out of equilibrium, continuously consuming energy to sustain organized, functional states. Their emergent behavior usually relies on a set of interconnected chemical reaction networks (CRNs) driven by external fluxes that keep some species at fixed concentrations. Hence, uncovering the principles governing the functioning of these CRNs is crucial to understand how living systems generate and regulate complexity. While kinetics plays a key role in shaping detailed dynamical phenomena, the range of operations of a CRN is fundamentally constrained by thermodynamics. Here, we introduce and analytically derive the “thermodynamic space” of a CRN, i.e., the range of accessible stationary concentrations that can be realized under a given energetic budget. We establish analogous bounds for reaction affinities, shedding light on how global thermodynamic properties, such as the total nonequilibrium driving, can limit local nonequilibrium quantities, and further showing that these bounds can be used to test candidate network topologies and expose hidden multimolecular pathways. We illustrate our results in various paradigmatic examples, demonstrating how the onset of complex behaviors is intimately tangled with the presence of nonequilibrium conditions. By providing a general tool for analyzing CRNs, the presented framework constitutes a stepping stone to deepen our ability to predict complex out-of-equilibrium phenomena and design artificial chemical systems, starting from the sole knowledge of the underlying thermodynamic properties.
[ManiniRSP26]
Tarzan: A Region-Based Library for Forward and Backward Reachability of Timed Automata(Conference paper)
Authors:
A. Manini; M. Rossi; P. San Pietro
Editors:
L. Bocchi; B. K. Ozkan
Date:
2026
Publication:
Formal Techniques for Distributed Objects, Components, and Systems: Proceedings of the 46th IFIP WG 6.1 International Conference (FORTE 2026)
Series:
Lecture Notes in Computer Science
Volume:
16589
Pages:
161–178
Publisher:
Springer, Cham
Location:
Urbino, Italy
ISBN:
978-3-032-28186-9 978-3-032-28187-6
Abstract
The zone abstraction, widely adopted for its notable practical efficiency, is the de facto standard in the verification of Timed Automata (TA). Nonetheless, region-based abstractions have been shown to outperform zones in specific subclasses of TA. To complement and support mature zone-based tools, we introduce Tarzan, a C++ region-based verification library for TA. The algorithms implemented in Tarzan use a novel region abstraction that tracks the order in which clocks become unbounded. This additional ordering induces a finer partitioning of the state space, enabling backward algorithms to avoid the combinatorial explosion associated with enumerating all ordered partitions of unbounded clocks, when computing immediate delay predecessor regions. We validate Tarzan by comparing forward reachability results against the state-of-the-art tools Uppaal and TChecker. The experiments confirm that zones excel when TA have large constants and strict guards. In contrast, Tarzan exhibits superior performance on closed TA and TA with punctual guards. Finally, we demonstrate the efficacy of our backward algorithms, establishing a foundation for region-based analysis in domains like Timed Games, where backward exploration is essential.
[MonniauxS26]
Max-Policy Iteration, Revisited(Conference paper)
Authors:
D. Monniaux; H. Seidl
Editors:
R. Krebbers
Date:
2026
Publication:
Programming Languages and Systems
Series:
Lecture Notes in Computer Science
Volume:
16502
Pages:
94–124
Publisher:
Springer, Cham
Location:
Turin, Italy
ISBN:
978-3-032-22722-5 (Print) 978-3-032-22723-2 (Online)
Abstract
Max-policy iteration is an approach to computing precise numeric program invariants by successive attempts at resolving maximum operators and reduction to mathematical optimization. Mathematical optimization, though, may be expensive. Here, we show, for max-policy iteration on systems of equations over integers as well as over floating point numbers, that mathematical optimization can be replaced by plain value iteration — which is still guaranteed to terminate. As an application, a precise bound analysis for integer or floating point variables is obtained, avoiding widening operators altogether. We also consider max-policy iteration over the rational numbers, where the right-hand sides are maxima of minima of affine combinations of unknowns. We propose min-policy iteration as an alternative to linear programming for solving the optimization problems posed by max-policy iteration. We prove that max-min policy iteration is guaranteed to return the least solution for bounded systems. We also show how to extend this algorithm to unbounded systems, and how to construct certificates of soundness as well as of optimality of the computed results.
[RustenholzL-GH26]
Abstractions of Sequences, Functions and Operators(Article)
Authors:
L. Rustenholz; P. Lopez-Garcia; M. V. Hermenegildo
Date:
2026
Publication:
International Journal on Software Tools for Technology Transfer
Volume:
28
Issue:
3
Pages:
277–301
Publisher:
Springer
ISSN:
1433-2779
Abstract
We present theoretical and practical results on the order theory of lattices of functions, focusing on Galois connections that abstract (sets of) functions – a topic known as higher-order abstract interpretation. We are motivated by the challenge of inferring closed-form bounds on functions which are defined recursively, i.e. as the fixed point of an operator or, equivalently, as the solution to a functional equation. This has multiple applications in program analysis (e.g. cost analysis, loop acceleration, declarative language analysis) and in hybrid systems governed by differential equations. Our main contribution is a new family of constraint-based abstract domains for abstracting numerical functions, B-bound domains, which abstract a function f by a conjunction of bounds from a preselected set of boundary functions. They allow inferring highly non-linear numerical invariants, which classical numerical abstract domains struggle with. We uncover a convexity property in the constraint space that simplifies, and, in some cases, fully automates, transfer function design. We also introduce domain abstraction, a functor that lifts arbitrary mappings in value space to Galois connections in function space. This supports abstraction from symbolic to numerical functions (i.e. size abstraction), and enables dimensionality reduction of equations. We base our constructions of transfer functions on a simple operator language, starting with sequences, and extending to more general functions, including multivariate, piecewise, and non-discrete domains.
[SubramaniW26]
A New Characterization of Integer Infeasibility in a Conjunctive UTVPI Constraint System(Article)
Authors:
K. Subramani; P. Wojciechowski
Date:
2026-12
Publication:
Theory of Computing Systems
Volume:
70
Issue:
4
Pages:
56
Publisher:
Springer
ISSN:
1432-4350
Abstract
In this paper, we discuss a new theorem of the alternative for integer feasibility in Unit Two Variable Per Inequality (UTVPI) constraints. Extensive research exists on theorems of the alternative for linear feasibility. Theorems of the alternative serve to provide a certificate of infeasibility. In the study of theorems of the alternative, there is a major focus on theorems of the alternative that provide “succinct” certificates. Such theorems of the alternative are called compact. In general, theorems of the alternative for linear feasibility are compact (see Farkas' lemma, for instance). However, compact theorems of the alternative cannot exist for integer feasibility in general linear constraint systems unless NP=coNP\mathbf{NP} = \mathbf{coNP}. A second feature of a theorem of the alternative is its form. Typically, theorems of the alternative connect pairs of linear systems. On the other hand, a graphical theorem of the alternative relates the infeasibility of a linear system to the existence of specific structures in an appropriately constructed constraint network. Graphical theorems of the alternative are known to exist for selected classes of linear programs. In this paper, we provide a compact, graphical theorem of the alternative for integer feasibility in UTVPI constraints. In particular, our theorem of the alternative establishes this connection via an AC0\mathbf{AC}^{0} reduction. As noted in the paper, there exists a one to one correspondence between a UTVPI constraint system and the constraint network generated. This theorem of the alternative is then utilized to develop a new algorithm for checking the integer feasibility of a UTVPI constraint system (An extended abstract of this paper was presented at AI*IA 2019 [35]).
[SuNG26]
Template DBM: A New Weakly Relational Domain for Efficient Memory-Access Validation(Conference paper)
Authors:
Y. Su; J. A. Navas; A. Gurfinkel
Editors:
C. Pit-Claudel; K. Kosaian
Date:
2026
Publication:
Verified Software. Theories, Tools and Experiments: Proceedings of the 17th International Conference (VSTTE 2025)
Series:
Lecture Notes in Computer Science
Volume:
16499
Pages:
20–38
Publisher:
Springer, Cham
Location:
Menlo Park, CA, USA
ISBN:
978-3-032-27339-0 (Print) 978-3-032-27340-6 (Online)
Abstract
A primary goal of static analysis based on abstract interpretation is to infer invariants to verify programs. Memory safety checks (e.g., proving the absence of out-of-bound accesses) require tracking linear relationships between pointer offsets and object sizes, such as 4∗idx+4≤sz4*\mathit{idx}+4\leq\mathit{sz} for accessing memory. Choosing the right abstract domain is crucial, as each domain captures different kinds of properties. For example, Zones and Octagons limit themselves to unit coefficients and cannot express the invariants required for memory safety. On the other hand, the Polyhedra domain can capture any linear relation but does not scale in real applications. In this paper, as a compromise between expressiveness and efficiency while still covering our target properties, we introduce Template DBM–a new weakly relational numerical domain for expressing Two Variables per Inequality (TVPI) constraints with fixed coefficients. Template DBM supports efficient join, inclusion, and saturation. It strikes the balance of expressiveness and cost between Zones and TVPI. We implemented Template DBM in the Crab library and evaluated it against Zones and Polyhedra domains for memory safety analysis of aws-c-common from AWS and firedancer from Solana. Our results show that Template DBM maintains its intended level of precision, scales comparably to Zones, and is significantly more efficient than Polyhedra.
[SunLFL26]
Modular Invariant Generation via Constraint Solving(Article)
Authors:
Z. Sun; Y. Li; H. Fu; G. Li
Date:
2026-09
Publication:
Journal of Systems Architecture
Volume:
178
Pages:
103884
Publisher:
Elsevier
ISSN:
1383-7621
Abstract
Modular arithmetic is widely used in modern programs, including applications in cryptography, security checks, hash computations, and low-level system implementations. Existing analysis methods often focus on fixed moduli, limiting their applicability. In this work, we propose a general approach to eliminate the analysis barriers introduced by modular operations in loop programs, which extends Farkas' Lemma-based invariant constraint solving techniques to programs with general modular operations. We define modular-related variables in the program and present a location-splitting technique to split the original program locations based on modular results and eliminate modular conditions from the transitions. This process results in an equivalent linear transition system free of modular information, which can be further used to generate invariants through constraint solving methods based on Farkas' Lemma. We integrate this method into the existing StInG toolchain as a publicly available tool, Modular InvG, and evaluate it through a unified pipeline on manually constructed benchmarks and selected SV-COMP benchmarks, including comparisons with a strength-reduction baseline and CPAchecker. Experimental results demonstrate both the practical utility and high efficiency of our approach while preserving analysis precision. This work introduces a new direction for static analysis of programs with generalized modular arithmetic and lays the foundation for further optimization on large-scale benchmarks.