PPL citations from 2023
All citation years and BibTeX download
[AllamigeonCS23]
A Formal Disproof of Hirsch Conjecture(Conference paper)- Authors:
- X. Allamigeon; Q. Canu; P.-Y. Strub
- Editors:
- R. Krebbers; D. Traytel; B. Pientka; S. Zdancewic
- Date:
- 2023
- Publication:
- Proceedings of the 12th ACM SIGPLAN International Conference on Certified Programs and Proofs
- Pages:
- 17–29
- Publisher:
- ACM Press, New York, USA
- Location:
- Boston MA USA
Abstract
The purpose of this paper is the formal verification of a counterexample of Santos et al. to the so-called Hirsch Conjecture on the diameter of polytopes (bounded convex polyhedra). In contrast with the pen-and-paper proof, our approach is entirely computational: we have implemented in Coq and proved correct an algorithm that explicitly computes, within the proof assistant, vertex-edge graphs of polytopes as well as their diameter. The originality of this certificate-based algorithm is to achieve a tradeoff between simplicity and efficiency. Simplicity is crucial in obtaining the proof of correctness of the algorithm. This proof splits into the correctness of an abstract algorithm stated over proof-oriented data types and the correspondence with a low-level implementation over computation-oriented data types. A special effort has been made to reduce the algorithm to a small sequence of elementary operations (e.g. matrix multiplications, basic routines on graphs), in order to make the derivation of the correctness of the low-level implementation more transparent. Efficiency allows us to scale up to polytopes with a challenging combinatorics. For instance, we formally check the two counterexamples to Hirsch conjecture due to Matschke, Santos and Weibel, respectively 20- and 23-dimensional polytopes with 36425 and 73224 vertices involving rational coefficients with up to 20 digits. We also illustrate the performance of the method by computing the list of vertices or the diameter of well-known classes of polytopes, such as (polars of) cyclic polytopes involved in McMullen's Upper Bound Theorem.
[AmatoS23a]
JGMP: Java Bindings and Wrappers for the GMP Library(Article)- Authors:
- G. Amato; F. Scozzari
- Date:
- 2023
- Publication:
- SoftwareX
- Volume:
- 23
- Pages:
- 101428
- Publisher:
- Elsevier
- ISSN:
- 2352-7110
Abstract
The GNU Multiple Precision Arithmetic Library (GMP) is a widely used library for computing with arbitrary precision arithmetic. The library has functionally complete bindings for many programming languages, including .NET, C++, OCaml, Python, Ruby, and Rust, with the notable exception of Java. The JGMP library provides Java bindings and wrappers for using GMP from within any JVM-based language. The library has been thoroughly tested and benchmarked.
[AmatoS23b]
The ScalaFix Equation Solver(Conference paper)- Authors:
- G. Amato; F. Scozzari
- Editors:
- M. Chechik; J.-P. Katoen; M. Leucker
- Date:
- 2023
- Publication:
- Formal Methods: Proceedings of the 25th International Symposium (FM 2023)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 14000
- Pages:
- 142–159
- Publisher:
- Springer, Cham
- Location:
- Lübeck, Germany
- ISBN:
- 978-3-031-27480-0 (Print) 978-3-031-27481-7 (Online)
Abstract
We present ScalaFix, a modular library for solving equation systems by iterative methods. ScalaFix implements several solvers, involving iteration strategies from plain Kleene's iteration to more complex ones based on a hierarchical ordering of the unknowns. It works with finite and infinite equation systems and supports widening, narrowing and warrowing operators. It also allows intertwining ascending and descending chains and other advanced techniques such as localized widening.
[AndreLLMS23]
Configuring Timing Parameters to Ensure Execution-Time Opacity in Timed Automata(Article)- Authors:
- É. André; E. Lefaucheux; D. Lime; D. Marinho; J. Sun
- Date:
- 2023
- Publication:
- Electronic Proceedings in Theoretical Computer Science
- Volume:
- 392
- Pages:
- 1–26
- Publisher:
- Open Publishing Association
- ISSN:
- 2075-2180
Abstract
Timing information leakage occurs whenever an attacker successfully deduces confidential internal information by observing some timed information such as events with timestamps. Timed automata are an extension of finite-state automata with a set of clocks evolving linearly and that can be tested or reset, making this formalism able to reason on systems involving concurrency and timing constraints. In this paper, we summarize a recent line of works using timed automata as the input formalism, in which we assume that the attacker has access (only) to the system execution time. First, we address the following execution-time opacity problem: given a timed system modeled by a timed automaton, given a secret location and a final location, synthesize the execution times from the initial location to the final location for which one cannot deduce whether the secret location was visited. This means that for any such execution time, the system is opaque: either the final location is not reachable, or it is reachable with that execution time for both a run visiting and a run not visiting the secret location. We also address the full execution-time opacity problem, asking whether the system is opaque for all execution times; we also study a weak counterpart. Second, we add timing parameters, which are a way to configure a system: we identify a subclass of parametric timed automata with some decidability results. In addition, we devise a semi-algorithm for synthesizing timing parameter valuations guaranteeing that the resulting system is opaque. Third, we report on problems when the secret has itself an expiration date, thus defining expiring execution-time opacity problems. We finally show that our method can also apply to program analysis with configurable internal timings.
[ArceriDZ23]
Speeding Up Static Analysis with the Split Operator(Conference paper)- Authors:
- V. Arceri; G. Dolcetti; E. Zaffanella
- Editors:
- P. Ferrara; L. Hadarean
- Date:
- 2023
- Publication:
- Proceedings of the 12th ACM SIGPLAN International Workshop on the State of the Art in Program Analysis
- Pages:
- 14–19
- Publisher:
- ACM Press, New York, USA
- Location:
- Orlando FL USA
Abstract
In the context of static analysis based on Abstract Interpretation, we propose a new abstract operator modeling the split of control flow paths: The goal of the operator is to enable a more efficient analysis when using abstract domains that are computationally expensive, having no effect on precision. Focusing on the case of conditional branches guarded by numeric linear constraints, we provide a preliminary experimental evaluation showing that, by using the split operator, we can achieve significant efficiency improvements for a static analysis based on the domain of convex polyhedra. We also briefly discuss the applicability of this new operator to different, possibly non-numeric abstract domains.
[BrainH23]
Widening for Systems of Two Variables per Inequality(Conference paper)- Authors:
- M. Brain; J. M. Howe
- Editors:
- E. Ábrahám; T. Sturm
- Date:
- 2023
- Publication:
- Proceedings of the 8th SC-Square Workshop Co-Located with the 48th International Symposium on Symbolic and Algebraic Computation, SC-Square@ISSAC 2023, Tromsø, Norway, July 28, 2023
- Series:
- CEUR Workshop Proceedings
- Volume:
- 3455
- Pages:
- 11–28
- Publisher:
- CEUR-WS.org
Abstract
The abstract interpretation approach to program verification involves symbolically calculating fixpoints over lattices. Integral to these fixpoint calculations is an operation called widening, which discards information in order to move up the lattice so as to ensure termination, as well as potentially aiding efficiency. Abstract interpretation often uses lattices of numeric constraints where the number of variables allowed in a constraint is restricted, called weakly relational domains. This paper is concerned with the application of widening with weakly relational domains. One particular point of interest is the problematic interaction between widening and the maintenance of a closed form for weakly relational domains. The solution to this problem uses entailment, which essentially involves satisfiability checking for numeric constraints.
[CastilloLLPPS23]
An Effective Solution to Convex 1-Body N-Representability(Article)- Authors:
- F. Castillo; J.-P. Labbé; J. Liebert; A. Padrol; E. Philippe; C. Schilling
- Date:
- 2023
- Publication:
- Annales Henri Poincaré
- Volume:
- 24
- Issue:
- 7
- Pages:
- 2241–2321
- Publisher:
- Springer
- ISSN:
- 1424-0637
Abstract
From a geometric point of view, Pauli's exclusion principle defines a hypersimplex. This convex polytope describes the compatibility of -fermion and -fermion density matrices, therefore it coincides with the convex hull of the pure -representable -fermion density matrices. Consequently, the description of ground state physics through -fermion density matrices may not necessitate the intricate pure state generalized Pauli constraints. In this article, we study the generalization of the -body -representability problem to ensemble states with fixed spectrum , in order to describe finite-temperature states and distinctive mixtures of excited states. By employing ideas from convex analysis and combinatorics, we present a comprehensive solution to the corresponding convex relaxation, thus circumventing the complexity of generalized Pauli constraints. In particular, we adapt and further develop tools such as symmetric polytopes, sweep polytopes, and Gale order. For both fermions and bosons, generalized exclusion principles are discovered, which we determine for any number of particles and dimension of the -particle Hilbert space. These exclusion principles are expressed as linear inequalities satisfying hierarchies determined by the non-zero entries of . The two families of polytopes resulting from these inequalities are part of the new class of so-called lineup polytopes.
[ChangiziSS23TR]
PLC Implementation of a Novel Sub-Optimal Explicit MPC Based on Fuzzy Reshaped Active Regions(Technical report)- Authors:
- N. Changizi; K. Salahshoor; N. Sheiiei
- Date:
- 2023-11
- Report number:
- 4648190
- Institution:
- SSRN
- Publication type:
- Preprint
Abstract
The Explicit Model Predictive Controller (EMPC) is aimed at implementing Model Predictive Control (MPC) in the industry by increasing the speed of the optimization problem solving to determine the control signal. This controller enables the MPC optimization algorithms to be solved once offline over the operating condition of the system. Moreover, it forms a lookup table between the dynamic state of the system and the control signal. So, the control signal is calculated in a form of simple function of system states instead of solving optimization algorithms recursively. The main problem with the industrial implementation of EMPC is the amount of memory space required for programming the Programmable Logic Controllers (PLC) due to the large number of polyhedrons and their expressive relationships. The present paper seeks to reduce the number of polyhedrons and regularize their shapes via a fuzzy clustering algorithm in order to decrease the number of expressive relationships of the polyhedrons. As such, it can minimize the required memory usage and computational burden. The final result is in the form of a significantly smaller lookup table between the state variables and the control signal, which is then implemented in a PLC. In the end, the results of the proposed method and its PLC implementation are demonstrated for a simulated plant.
[ChenFYW23]
Research Progress on Abstract Interpretation and Its Application(Article)- Authors:
- L. Chen; G. Fan; B. Yin; J. Wang
- Date:
- 2023
- Publication:
- Journal of Computer Research and Development
- Volume:
- 60
- Issue:
- 2
- Pages:
- 227–247
- ISSN:
- 1000-1239
In Chinese, with English abstract
Abstract
Abstract interpretation is a theory of abstraction and approximation of the mathematical structures used in the formal description of complex systems and the inference or verification of their properties. Since being proposed in 1970 s, abstract interpretation has been widely applied to many fields, including semantic models, program analysis and verification, verification of hybrid systems, program transformation, analysis of systems biology models, etc. In recent years, abstract interpretation has made great progress in program analysis, neural network verification, completeness reasoning, improvement of abstract domains, etc. Based on this, we systematically review the research progress of abstract interpretation and its applications. Firstly, we outline the basic concepts of abstract interpretation theory, and review the recent research progress of abstract interpretation theory and abstract domains; then, we review the recent research progress in abstract interpretation-based program analysis, verification and robust training of neural networks, analysis of deep learning programs; after that, we also review the progress of some other applications of abstract interpretation, including trustworthiness assurance of smart contract, information security, and quantum computing; At last, potential future directions in the field of abstract interpretation are pointed out.
[EiflerG23]
A Computational Status Update for Exact Rational Mixed Integer Programming(Article)- Authors:
- L. Eifler; A. Gleixner
- Date:
- 2023
- Publication:
- Mathematical Programming
- Volume:
- 197
- Issue:
- 2
- Pages:
- 793–812
- Publisher:
- Springer
- ISSN:
- 0025-5610
Abstract
The last milestone achievement for the roundoff-error-free solution of general mixed integer programs over the rational numbers was a hybrid-precision branch-and-bound algorithm published by Cook, Koch, Steffy, and Wolter in 2013. We describe a substantial revision and extension of this framework that integrates symbolic presolving, features an exact repair step for solutions from primal heuristics, employs a faster rational LP solver based on LP iterative refinement, and is able to produce independently verifiable certificates of optimality. We study the significantly improved performance and give insights into the computational behavior of the new algorithmic components. On the MIPLIB 2017 benchmark set, we observe an average speedup of 10.7x over the original framework and 2.9 times as many instances solved within a time limit of two hours.
[HabeebDDLP23]
Verification of Camera-Based Autonomous Systems(Article)- Authors:
- P. Habeeb; N. Deka; D. D'Souza; K. Lodaya; P. Prabhakar
- Date:
- 2023-10
- Publication:
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Volume:
- 42
- Issue:
- 10
- Pages:
- 3450–3463
- Publisher:
- IEEE Press
- ISSN:
- 0278-0070
Abstract
We consider the problem of verifying the safety of the trajectories of a camera-based autonomous vehicle in a given 3-D-scene. We give a procedure to verify that all trajectories starting from a given initial region reach a specified target region safely without colliding with obstacles on the way. We also give a prioritization-based falsification procedure that collects unsafe trajectories. Both our procedures are based on the key notion of image-invariant regions, which are regions within which the captured images are identical. We evaluate our methods on a model of an autonomous road-following drone in a variety of 3-D-scenes; our experimental results demonstrate the feasibility and benefits of our approach for both safety analysis and falsification.
[HertrichBDSS23]
Towards Lower Bounds on the Depth of ReLU Neural Networks(Article)- Authors:
- C. Hertrich; A. Basu; M. Di Summa; M. Skutella
- Date:
- 2023
- Publication:
- SIAM Journal on Discrete Mathematics
- Volume:
- 37
- Issue:
- 2
- Pages:
- 997–1029
- Publisher:
- Society for Industrial & Applied Mathematics (SIAM)
- ISSN:
- 0895-4801
Abstract
We contribute to a better understanding of the class of functions that can be represented by a neural network with ReLU activations and a given architecture. Using techniques from mixed-integer optimization, polyhedral theory, and tropical geometry, we provide a mathematical counterbalance to the universal approximation theorems which suggest that a single hidden layer is sufficient for learning any function. In particular, we investigate whether the class of exactly representable functions strictly increases by adding more layers (with no restrictions on size). As a by-product of our investigations, we settle an old conjecture about piecewise linear functions by Wang and Sun (2005) in the affirmative. We also present upper bounds on the sizes of neural networks required to represent functions with logarithmic depth.
[Jana23]
Sensitive Information Leakage Analysis of Database Code by Abstract Interpretation(Article)- Authors:
- A. Jana
- Date:
- 2023
- Publication:
- International Journal of Security and Networks
- Volume:
- 18
- Issue:
- 2
- Pages:
- 91–105
- Publisher:
- Inderscience Publishers
- ISSN:
- 1747-8405
Abstract
An information system stores outside data in the backend database to process them efficiently and protects sensitive data from illegitimate flow or unauthorised users. However, most information systems are made in such a way that the sensitive information stored in a database may be leaked explicitly or implicitly during data processing along with the control structure of the program to the output channels. Therefore, sensitive data leakage is one of the crucial security threat. In this paper, the main objective is to detect the illegitimate flow of confidential information in an information system. We propose a framework to detect sensitive information leakage through the data-flow paths of an information system. In particular, to compute the precise set of data-flow paths, we use the non-relational abstract property of the interval domain and the relational abstract property of the polyhedra domain that enables the framework to produce efficient security analysis results.
[Lemerre23]
Reverse Template Processing Using Abstract Interpretation(Conference paper)- Authors:
- M. Lemerre
- Editors:
- M. V. Hermenegildo; J. F. Morales
- Date:
- 2023
- Publication:
- Static Analysis: Proceedings of the 30th International Symposium (SAS 2023)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 14284
- Pages:
- 403–433
- Publisher:
- Springer, Cham
- Location:
- Cascais, Portugal
- ISBN:
- 978-3-031-44244-5 (Print) 978-3-031-44245-2 (Online)
Abstract
Template languages transform tree-structured data into text. We study the reverse problem, transforming the template into a parser that returns all the tree-structured data that can produce a given text. Programs written in template languages are generally not injective (they have multiple preimages), not affine (some input variables can appear at several locations in the output), and erasing (they provide only a partial view of the source), which makes the problem challenging. We propose to solve this problem using concepts from abstract interpretation, like the denotational style of abstract semantics, soundness, exactness, or reduction, to reason about the precision and the recovery of all the preimages. This work shows that Abstract Interpretation is a very useful theory when reasoning about the reversal of non-injective programs.
[Mambakam23th]
Formalismes temporisés paramétriques pour la spécification et la surveillance(PhD thesis)- Authors:
- A. Mambakam
- Date:
- 2023-07
- Location:
- Grenoble, France
- School:
- Université Grenoble Alpes
Abstract
Cyber-physical systems (CPS) consist of computer systems which control physical processes. Examples of this include medical devices, autonomous cars, and robots. Due to the complexity and heterogeneity of their components, it is not always possible to derive mathematical models for such systems and data-driven design approaches are thus a crucial alternative. This thesis is built upon extensions of two specification formalisms, Signal Temporal Logic (STL) and Timed Regular Expressions (TRE), which are expressive to describe temporal aspects of CPS behaviours and additionally suitable for monitoring and validation purposes. STL is a temporal logic that is adapted to specify properties of real-valued signals. We extend the logic with operators for counting events. These operators, for example, can be used to count Electrocardiogram (ECG) pulses. Parametric specifications (like parametric STL) over signals when assigned parameters can be viewed as producing predictors that indicate where a temporal pattern occurs. We term as Increasing Parametric Pattern Predictors (IPPP) specifications that become easy to satisfy as the parameter values increase. Given data labelled by experts, we propose a method to learn predictors by finding parameters of IPPP to match the labelled data as accurately as possible. We introduce a measure called epsilon-count to quantify prediction accuracy. For IPPP, decreasing both false positives and false negatives involves optimising opposing targets. We devise an algorithm that identifies parameters while respecting these opposing constraints. Pareto domination and binary search are the two main ideas behind efficient implementation of this algorithm. TRE extend regular expressions with timing constraints defined over duration. Monitoring using TRE specifications is termed as Timed Pattern Matching (TPM). This involves finding in the input behaviour, all time intervals where the specification is matched. Parametric Timed Pattern Matching (PTPM) can be defined over parametric versions of TRE (PTRE) in which we compute along with time intervals also the parameter values that allow the match. The semantics of PTRE slightly differ for real-valued signals and sequences of time-stamped events. We show that for these two types of semantics we get two kinds of polytopes which we term parametric zones and parametric intervals. Operations over parametric zones can be optimised by exploiting their separation in time similar to the plane-sweep algorithms used for TPM. Operations over parametric intervals can also benefit greatly from sorting and subsequent binary-search procedures. We also show how parametric identification can be performed on top of PTPM to compute all parameter values that makes the specification matches patterns labelled by experts. For both parametric temporal formulae and expressions, along with synthetic examples for reader's understanding, we also apply our methods to analysis of ECGs and marine traffic data.
[MambakamABD23]
Pattern Matching and Parameter Identification for Parametric Timed Regular Expressions(Conference paper)- Authors:
- A. Mambakam; E. Asarin; N. Basset; T. Dang
- Date:
- 2023
- Publication:
- Proceedings of the 26th ACM International Conference on Hybrid Systems: Computation and Control
- Pages:
- 14:1–14:13
- Publisher:
- ACM Press, New York, USA
- Location:
- San Antonio TX USA
Abstract
Timed formalisms such as Timed Automata (TA), Signal Temporal Logic (STL) and Timed Regular expressions (TRE) have been previously applied as behaviour specifications for monitoring or runtime verification, in particular, under the form of pattern-matching, i.e. computing the set of all the segments of a given system run that satisfy the specification. In this work, timed regular expressions with parameters (for timing delays and for signal values) are considered. We define several classes of parametric expressions (based on Boolean or real-valued signals and discrete events), and tackle the problem of computing a parametric match-set, i.e. the parameter values and time segments of data that give a match for a given expression. We propose efficient data structures for representing match-sets (combining zones and polytopes), and devise pattern-matching algorithms. All these different types and algorithms are combined into a single implementation under a tool named parameTRE. We illustrate the approach on several examples, from electrocardiograms to driving patterns.
[MuskeS23]
Survey of Approaches for Postprocessing of Static Analysis Alarms(Article)- Authors:
- T. Muske; A. Serebrenik
- Date:
- 2023
- Publication:
- ACM Computing Surveys
- Volume:
- 55
- Issue:
- 3
- Pages:
- 48:1–48:39
- Publisher:
- ACM Press, New York, USA
- ISSN:
- 0360-0300
- DOI:
- 10.1145/3494521
Abstract
Static analysis tools have showcased their importance and usefulness in automated detection of defects. However, the tools are known to generate a large number of alarms which are warning messages to the user. The large number of alarms and cost incurred by their manual inspection have been identified as two major reasons for underuse of the tools in practice. To address these concerns plentitude of studies propose postprocessing of alarms: processing the alarms after they are generated. These studies differ greatly in their approaches to postprocess alarms. A comprehensive overview of the postprocessing approaches is, however, missing. In this article, we review 130 primary studies that propose postprocessing of alarms. The studies are collected by combining keywords-based database search and snowballing. We categorize approaches proposed by the collected studies into six main categories: clustering, ranking, pruning, automated elimination of false positives, combination of static and dynamic analyses, and simplification of manual inspection. We provide overview of the categories and sub-categories identified for them, their merits and shortcomings, and different techniques used to implement the approaches. Furthermore, we provide (1) guidelines for selection of the postprocessing techniques by the users/designers of static analysis tools; and (2) directions that can be explored by the researchers.
[NegriniFAC23]
LiSA: A Generic Framework for Multilanguage Static Analysis(Book chapter)- Authors:
- L. Negrini; P. Ferrara; V. Arceri; A. Cortesi
- Editors:
- V. Arceri; A. Cortesi; P. Ferrara; M. Olliaro
- Date:
- 2023
- Publication:
- Challenges of Software Verification
- Series:
- Intelligent Systems Reference Library
- Volume:
- 238
- Pages:
- 19–42
- Publisher:
- Springer, Singapore
- ISBN:
- 978-981-19-9600-9 (Print) 978-981-19-9601-6 (Online)
Abstract
Modern software engineering revolves around distributed applications. From IoT networks to client-server infrastructures, the application code is increasingly being divided into separate sub programs interacting with each other. As they are completely independent from each other, each such program is likely to be developed in a separate programming language, choosing the best fit for the task to at hand. From a static program analysis perspective, taking on a mixture of languages is challenging. This paper defines a generic framework where modular multilanguage static analyses can be defined through the abstract interpretation theory. The framework has been implemented in LiSA (Library for Static Analysis), an open-source Java library that provides the complete infrastructure necessary for developing static analyzers. LiSA strives to be modular, ensuring that all components taking part in the analysis are both easy to develop and highly interchangeable. LiSA also ensures that components are parametric to all language specific features: semantics, execution model and memory model are not directly encoded within the components themselves. A proof-of-concept instantiation is provided, demonstrating LiSA's capability to analyze multiple languages in a single analysis through the discovery of an IoT vulnerability spanning C++ and Java code.
[ParkDR23]
Synthesizing Specifications(Article)- Authors:
- K. Park; L. D'Antoni; T. Reps
- Date:
- 2023
- Publication:
- Proceedings of the ACM on Programming Languages
- Volume:
- 7
- Issue:
- OOPSLA2
- Pages:
- 1787–1816
- Publisher:
- ACM Press, New York, USA
- ISSN:
- 2475-1421
- DOI:
- 10.1145/3622861
Abstract
Every program should be accompanied by a specification that describes important aspects of the code's behavior, but writing good specifications is often harder than writing the code itself. This paper addresses the problem of synthesizing specifications automatically, guided by user-supplied inputs of two kinds: i) a query posed about a set of function definitions, and ii) a domain-specific language L in which the extracted property is to be expressed (we call properties in the language L-properties). Each of the property is a best L-property for the query: there is no other L-property that is strictly more precise. Furthermore, the set of synthesized L-properties is exhaustive: no more L-properties can be added to it to make the conjunction more precise. We implemented our method in a tool, Spyro. The ability to modify both the query and L provides a Spyro user with ways to customize the kind of specification to be synthesized. We use this ability to show that Spyro can be used in a variety of applications, such as mining program specifications, performing abstract-domain operations, and synthesizing algebraic properties of program modules.
[SahaGLBB23]
Obtaining Information Leakage Bounds via Approximate Model Counting(Article)- Authors:
- S. Saha; S. Ghentiyala; S. Lu; L. Bang; T. Bultan
- Date:
- 2023
- Publication:
- Proceedings of the ACM on Programming Languages
- Volume:
- 7
- Issue:
- PLDI
- Pages:
- 1488–1509
- Publisher:
- ACM Press, New York, USA
- ISSN:
- 2475-1421
- DOI:
- 10.1145/3591281
Abstract
Information leaks are a significant problem in modern software systems. In recent years, information theoretic concepts, such as Shannon entropy, have been applied to quantifying information leaks in programs. One recent approach is to use symbolic execution together with model counting constraints solvers in order to quantify information leakage. There are at least two reasons for unsoundness in quantifying information leakage using this approach: 1) Symbolic execution may not be able to explore all execution paths, 2) Model counting constraints solvers may not be able to provide an exact count. We present a sound symbolic quantitative information flow analysis that bounds the information leakage both for the cases where the program behavior is not fully explored and the model counting constraint solver is unable to provide a precise model count but provides an upper and a lower bound. We implemented our approach as an extension to KLEE for computing sound bounds for information leakage in C programs.
[SchwarzS23]
Octagons Revisited: Elegant Proofs and Simplified Algorithms(Conference paper)- Authors:
- M. Schwarz; H. Seidl
- Editors:
- M. V. Hermenegildo; J. F. Morales
- Date:
- 2023
- Publication:
- Static Analysis: Proceedings of the 30th International Symposium (SAS 2023)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 14284
- Pages:
- 485–507
- Publisher:
- Springer, Cham
- Location:
- Cascais, Portugal
- ISBN:
- 978-3-031-44244-5 (Print) 978-3-031-44245-2 (Online)
Abstract
Weakly relational domains have enjoyed tremendous success in the area of program analysis, since they offer a decent compromise between precision and efficiency. Octagons, in particular, have widely been studied to obtain efficient algorithms which, however, come with intricate correctness arguments. Here, we provide simplified cubic time algorithms for computing the closure of Octagon abstract relations both over the rationals and the integers which avoid introducing auxiliary variables. They are based on a more general formulation by means of 2-projective domains which allows for an elegant short correctness proof. The notion of 2-projectivity also lends itself to efficient algorithms for incremental normalization. For the Octagon domain, we also provide an improved construction for linear programming based best abstract transformers for affine assignments.
[SubramaniW23]
Integer Feasibility and Refutations in UTVPI Constraints Using Bit-Scaling(Article)- Authors:
- K. Subramani; P. Wojciechowski
- Date:
- 2023-02
- Publication:
- Algorithmica
- Volume:
- 85
- Issue:
- 2
- Pages:
- 610–637
- Publisher:
- Springer
- ISSN:
- 0178-4617
Abstract
This paper is concerned with the design and analysis of a bit-scaling based algorithm for the problem of checking integer feasibility in a system of unit two variable per inequality (UTVPI) constraints (IF). The insights developed during algorithm design result in new techniques for extracting refutations of integer feasibility in such systems. Recall that a UTVPI constraint is a linear constraint of the form: , where and . These constraints arise in a number of application domains including but not limited to program verification (array bounds checking and abstract interpretation), operations research (packing and covering), and logic programming. Over the years, several algorithms have been proposed for the IF problem. Most of these algorithms are based on two inference rules, viz. the transitive rule and the tightening rule. None of these algorithms are bit-scaling. In other words, the running times of these algorithms are parameterized only by the number of variables and the number of constraints in the UTVPI constraint system (UCS) and not by the sizes of input constants. We introduce a novel algorithm for the IF problem, which is based on a collection of new insights. These insights are used to design a new bit-scaling algorithm for IF that runs in time, where denotes the number of variables, denotes the number of constraints, and denotes the absolute value of the most negative constant defining the UCS. An interesting consequence of our research is the development of techniques for extracting refutations of integer infeasibility in UCSs that are linearly feasible. If the UCS is linearly feasible, then our algorithm creates a 2CNF formula. The UCS has an integer refutation (i.e., does not have a lattice point) if and only if the created 2CNF formula has a resolution refutation (i.e., is unsatisfiable).
[WagaAH23]
Parametric Timed Pattern Matching(Article)- Authors:
- M. Waga; É. André; I. Hasuo
- Date:
- 2023
- Publication:
- ACM Transactions on Software Engineering and Methodology
- Volume:
- 32
- Issue:
- 1
- Pages:
- 10:1–10:35
- Publisher:
- ACM Press, New York, USA
- ISSN:
- 1049-331X
- DOI:
- 10.1145/3517194
Abstract
Given a log and a specification, timed pattern matching aims at exhibiting for which start and end dates a specification holds on that log. For example, “a given action is always followed by another action before a given deadline”. This problem has strong connections with monitoring real-time systems. We address here timed pattern matching in the presence of an uncertain specification, i.e., that may contain timing parameters (e.g., the deadline can be uncertain or unknown). We want to know for which start and end dates, and for what values of the timing parameters, a property holds. For instance, we look for the minimum or maximum deadline (together with the corresponding start and end dates) for which the property holds. We propose two frameworks for parametric timed pattern matching. The first one is based on parametric timed model checking. In contrast to most parametric timed problems, the solution is effectively computable. The second one is a dedicated method; not only we largely improve the efficiency compared to the first method, but we further propose optimizations with skipping. Our experiment results suggest that our algorithms, especially the second one, are efficient and practically relevant.
[WangL23]
Termination Analysis of Single Path Loop Programs Based on Iterative Trajectory Division(Article)- Authors:
- Y. Wang; Y. Li
- Date:
- 2023-09
- Publication:
- Computer Science
- Volume:
- 50
- Issue:
- 9
- Pages:
- 108–116
- ISSN:
- 1002-137X
In Chinese, with English abstract
Abstract
The ranking function has been extensively studied as an important method of program termination analysis. In this paper, we focus on the termination of single-path loops. Firstly, the concept of two-way iterative loops is proposed, and the single-path loops are divided into bidirectional iterative loops and non-bidirectional iterative loops. Secondly, for the bidirectional iterative loop program, a division method and concept of trivial ranking function are proposed, and it is proved that if a bidirectional iterative loop exists a trivial rank function, it is terminated. As for the non-bidirectional iterative loop, we use incremental function as the division method, i.e., the original program space is divided into smaller spaces by using incremental function, and the termination of the original program is proved by computing the ranking function on the smaller space. Finally, the problem of computing the trivial ranking function comes down to the SVM classification problem, and we verifies candidate ranking functions using the tools Z3 or bottema.
[ZaffanellaA23]
“Fixing” the Specification of Widenings(Book chapter)- Authors:
- E. Zaffanella; V. Arceri
- Editors:
- V. Arceri; A. Cortesi; P. Ferrara; M. Olliaro
- Date:
- 2023
- Publication:
- Challenges of Software Verification
- Series:
- Intelligent Systems Reference Library
- Volume:
- 238
- Pages:
- 57–76
- Publisher:
- Springer, Singapore
- ISBN:
- 978-981-19-9600-9 (Print) 978-981-19-9601-6 (Online)
Abstract
The development of parametric analysis tools based on Abstract Interpretation relies on a clean separation between a generic fixpoint approximation engine and its main parameter, the abstract domain: a safe integration requires that the engine uses each domain operator according to its specification. Widening operators are special, among other reasons, in that they lack a single, universally adopted specification. In this paper, we review the specification and usage of widenings in several open-source implementations of abstract domains and analysis tools. While doing this, we witness a mismatch that potentially affects the correctness of the analysis, thereby suggesting that the specification of widenings should be “fixed”. We also provide some evidence that a fixed widening specification matching the classical one allows for precision and efficiency improvements.