Invariant Generation through Strategy Iteration in Succinctly Represented Control Flow Graphs

被引:8
|
作者
Gawlitza, Thomas Martin [1 ]
Monniaux, David [2 ]
机构
[1] Univ Sydney, Sch Informat Technol, Sydney, NSW 2006, Australia
[2] CNRS, VERIMAG Lab, Ctr Equat, F-35610 Gieres, France
关键词
static program analysis; abstract interpretation; fixpoint equation systems; strategy improvement algorithms; SMT solving; STATIC ANALYSIS; WIDENING OPERATORS; ALGORITHM; ANALYZER;
D O I
10.2168/LMCS-8(3:29)2012
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider the problem of computing numerical invariants of programs, for instance bounds on the values of numerical program variables. More specifically, we study the problem of performing static analysis by abstract interpretation using template linear constraint domains. Such invariants can be obtained by Kleene iterations that are, in order to guarantee termination, accelerated by widening operators. In many cases, however, applying this form of extrapolation leads to invariants that are weaker than the strongest inductive invariant that can be expressed within the abstract domain in use. Another well-known source of imprecision of traditional abstract interpretation techniques stems from their use of join operators at merge nodes in the control low graph. The mentioned weaknesses may prevent these methods from proving safety properties. The technique we develop in this article addresses both of these issues: contrary to Kleene iterations accelerated by widening operators, it is guaranteed to yield the strongest inductive invariant that can be expressed within the template linear constraint domain in use. It also eschews join operators by distinguishing all paths of loop-free code segments. Formally speaking, our technique computes the least fixpoint within a given template linear constraint domain of a transition relation that is succinctly expressed as an existentially quantified linear real arithmetic formula. In contrast to previously published techniques that rely on quantifier elimination, our algorithm is proved to have optimal complexity: we prove that the decision problem associated with our fixpoint problem is Pi(p)(2)-complete. Our procedure mimics a Pi(p)(2) search.
引用
收藏
页数:35
相关论文
共 28 条
  • [1] Automatic control flow generation for OpenVX graphs
    Popp, Merten
    van Son, Stef
    Moreira, Orlando
    [J]. 2017 EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD), 2017, : 198 - 204
  • [2] Classifying Malware Represented as Control Flow Graphs using Deep Graph Convolutional Neural Network
    Yan, Jiaqi
    Yan, Guanhua
    Jin, Dong
    [J]. 2019 49TH ANNUAL IEEE/IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS (DSN 2019), 2019, : 52 - 63
  • [3] Learning Control of Linear Iteration Varying Systems with Varying References through Robust Invariant Update Laws
    Altin, Berk
    Barton, Kira
    [J]. 2015 AMERICAN CONTROL CONFERENCE (ACC), 2015, : 4880 - 4885
  • [4] Dynamic template generation for resource sharing in control and data flow graphs
    Zaretsky, DC
    Mittal, G
    Dick, RP
    Banerjee, P
    [J]. 19TH INTERNATIONAL CONFERENCE ON VLSI DESIGN, PROCEEDINGS, 2005, : 465 - 468
  • [5] Cosine Similarity through Control Flow Graphs For Secure Software Engineering
    Desku, Astrit
    Raufi, Bujar
    Luma, Artan
    Selimi, Besnik
    [J]. 2021 7TH INTERNATIONAL CONFERENCE ON ENGINEERING AND EMERGING TECHNOLOGIES (ICEET 2021), 2021, : 264 - 267
  • [6] Comparing Control Flow Graphs of Binary Programs through Match Propagation
    Lim, Hyun-il
    [J]. 2014 IEEE 38TH ANNUAL INTERNATIONAL COMPUTERS, SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), 2014, : 598 - 599
  • [7] Generation of control and data flow graphs from scheduled and pipelined assembly code
    Zaretsky, David C.
    Mittal, Gaurav
    Dick, Robert
    Banerjee, Prith
    [J]. LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING, 2006, 4339 : 76 - +
  • [8] Automatic process-oriented asynchronous control unit generation from control data flow graphs
    Kim, E
    Lee, JG
    Lee, DI
    [J]. IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2001, E84A (08): : 2014 - 2028
  • [9] A novel strategy for control of microbial biofilms through generation of biocide at the biofilm-surface interface
    Wood, P
    Jones, M
    Bhakoo, M
    Gilbert, P
    [J]. APPLIED AND ENVIRONMENTAL MICROBIOLOGY, 1996, 62 (07) : 2598 - 2602
  • [10] Fault Ride-Through Control Strategy of Solid State Transformer with PV Power Generation
    Tu, Chunming
    Ge, Qin
    Xiao, Fan
    Chen, Jiangxing
    Fang, Ni
    [J]. Diangong Jishu Xuebao/Transactions of China Electrotechnical Society, 2020, 35 (16): : 3498 - 3508