A Modular Static Analysis Approach to Affine Loop Invariants Detection

被引:27
|
作者
Ancourt, Corinne [1 ]
Coelho, Fabien [1 ]
Irigoin, Francois [1 ]
机构
[1] MINES ParisTech, Maths & Syst, CRI, 35 Rue St Honor, F-77300 Fontainebleau, France
关键词
Abstract interpretation; fixed point computation; loop invariant;
D O I
10.1016/j.entcs.2010.09.002
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Modular static analyzers use procedure abstractions, a.k.a. summarizations, to ensure that their execution time increases linearly with the size of analyzed programs. A similar abstraction mechanism is also used within a procedure to perform a bottom-up analysis. For instance, a sequence of instructions is abstracted by combining the abstractions of its components, or a loop is abstracted using the abstraction of its loop body: fixed point iterations for a loop can be replaced by a direct computation of the transitive closure of the loop body abstraction. More specifically, our abstraction mechanism uses affine constraints, i.e. polyhedra, to specify pre- and postconditions as well as state transformers. We present an algorithm to compute the transitive closure of such a state transformer, and we illustrate its performance on various examples. Our algorithm is simple, based on discrete differentiation and integration: it is very different from the usual abstract interpretation fixed point computation based on widening. Experiments are carried out using previously published examples. We obtain the same results directly, without using any heuristic.
引用
收藏
页码:3 / 16
页数:14
相关论文
共 50 条
  • [21] Static Loop Analysis and Its Applications
    Xie, Xiaofei
    FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 1130 - 1132
  • [22] Loopster: Static Loop Termination Analysis
    Xie, Xiaofei
    Chen, Bihuan
    Zou, Liang
    Lin, Shang-Wei
    Liu, Yang
    Li, Xiaohong
    ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 84 - 94
  • [23] Fissile Type Analysis: Modular Checking of Almost Everywhere Invariants
    Coughlin, Devin
    Chang, Bor-Yuh Evan
    ACM SIGPLAN NOTICES, 2014, 49 (01) : 73 - 85
  • [24] VEHICLE DETECTION USING GABOR FILTERS AND AFFINE MOMENT INVARIANTS FROM IMAGE DATA
    Shioyama, Tadayoshi
    Uddin, Mohammad Shorif
    Kawai, Yoshihiro
    COMPUTER VISION AND GRAPHICS (ICCVG 2004), 2006, 32 : 197 - 202
  • [25] Robust detection of skewed symmetries by combining local and semi-local affine invariants
    Shen, DG
    Ip, HHS
    Teoh, EK
    PATTERN RECOGNITION, 2001, 34 (07) : 1417 - 1428
  • [26] A Novel Data-Driven Approach for Generating Verified Loop Invariants
    Lu, Hong
    Gui, Jiacheng
    Wang, Chengyi
    Huang, Hao
    2020 INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING (TASE 2020), 2020, : 9 - 16
  • [27] Static Detection of Loop-Invariant Data Structures
    Xu, Guoqing
    Yan, Dacong
    Rountev, Atanas
    ECOOP 2012 - OBJECT-ORIENTED PROGRAMMING, 2012, 7313 : 738 - 763
  • [28] Hierarchical static analysis of structured systems of affine recurrence equations
    deDinechin, F
    Robert, S
    INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS 1996, PROCEEDINGS, 1996, : 381 - 390
  • [29] Infinite Loop Spaces, Dyer-Lashof Algebra, Cohomology of the Infinite Symmetric Group and Modular Invariants
    Kechagias, Nondas E.
    ALGEBRAIC MODELING OF TOPOLOGICAL AND COMPUTATIONAL STRUCTURES AND APPLICATIONS, 2017, 219 : 205 - 234
  • [30] A Polylinker Approach to Reductive Loop Swaps in Modular Polyketide Synthases
    Kellenberger, Laurenz
    Galloway, Ian S.
    Sauter, Guido
    Boehm, Guenter
    Hanefeld, Ulf
    Cortes, Jesus
    Staunton, James
    Leadlay, Peter F.
    CHEMBIOCHEM, 2008, 9 (16) : 2740 - 2749