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 条
  • [41] A static analysis approach for Android permission-based malware detection systems
    Arif, Juliza Mohamad
    Ab Razak, Mohd Faizal
    Awang, Suryanti
    Mat, Sharfah Ratibah Tuan
    Ismail, Nor Syahidatul Nadiah
    Firdaus, Ahmad
    PLOS ONE, 2021, 16 (09):
  • [42] Enhancing Static Analysis for Practical Bug Detection: An LLM-Integrated Approach
    Li, Haonan
    Hao, Yu
    Zhai, Yizhuo
    Qian, Zhiyun
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2024, 8 (OOPSLA):
  • [43] Open-loop Approach to Control a Modular Multilevel Frequency Converter
    Angquist, Lennart
    Haider, Arif
    Nee, Hans-Peter
    Jiang, Hongbo
    PROCEEDINGS OF THE 2011-14TH EUROPEAN CONFERENCE ON POWER ELECTRONICS AND APPLICATIONS (EPE 2011), 2011,
  • [44] DIGITAL LOOP CONTROLLER SERIES TAKE MODULAR APPROACH FOR WIDE APPLICABILITY
    COHEN, C
    ELECTRONICS-US, 1979, 52 (25): : 72 - +
  • [45] Reversible software for modular static average-case analysis
    Schellekens, M.
    Early, D.
    Popovici, E.
    FIRST INTERNATIONAL WORKSHOP ON SOFTWARE TECHNOLOGIES FOR FUTURE DEPENDABLE DISTRIBUTED SYSTEMS, PROCEEDINGS, 2009, : 6 - 10
  • [46] Thread-Modular Static Analysis for Relaxed Memory Models
    Kusano, Markus
    Wang, Chao
    ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 337 - 348
  • [47] Design and Static Equilibrium Analysis of a Modular Pipe Inspection Robot
    Cox, Adam
    Colaw, Christopher
    Richer, Edmond
    Galla, Matthew
    Hurmuzlu, Yildirim
    IEEE-ASME TRANSACTIONS ON MECHATRONICS, 2024, 29 (03) : 2196 - 2207
  • [48] Building a Modular Static Analysis Framework in Scala (Tool Paper)
    Stievenart, Quentin
    Nicolay, Jens
    De Meuter, Wolfgang
    De Roover, Coen
    SCALA'16: PROCEEDINGS OF THE 2016 7TH ACM SIGPLAN SYMPOSIUM ON SCALA, 2016, : 105 - 109
  • [49] A modular approach to linear uncertainty analysis
    Weathers, J. B.
    Luck, R.
    Weathers, J. W.
    ISA TRANSACTIONS, 2010, 49 (01) : 19 - 26
  • [50] A modular approach for automating video analysis
    Nadarajan, Gayathri
    Renouf, Arnaud
    COMPUTER ANALYSIS OF IMAGES AND PATTERNS, PROCEEDINGS, 2007, 4673 : 133 - 140