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 条
  • [31] MODULAR APPROACH TO INSTRUMENTAL ANALYSIS
    DEMING, RL
    VANWILLIS, W
    JANOTA, HF
    JOURNAL OF CHEMICAL EDUCATION, 1982, 59 (03) : 203 - 203
  • [32] Robust Keypoint Detection against Affine Transformation Using Moment Invariants on Intrinsic Mode Function
    Motomatsu, Satoru
    Takenaka, Kosuke
    Kuroki, Yoshimitsu
    2015 INTERNATIONAL CONFERENCE ON INTELLIGENT INFORMATICS AND BIOMEDICAL SCIENCES (ICIIBMS), 2015, : 403 - 407
  • [33] Modular Static Analysis of String Manipulations in C Programs
    Journault, Matthieu
    Mine, Antoine
    Ouadjaout, Abdelraouf
    STATIC ANALYSIS (SAS 2018), 2018, 11002 : 243 - 262
  • [34] SCALA-AM: A Modular Static Analysis Framework
    Stievenart, Quentin
    Vandercammen, Maarten
    De Meuter, Wolfgang
    De Roover, Coen
    2016 IEEE 16TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2016, : 85 - 90
  • [35] Affine Invariant approach for disease detection on chili plant
    Araujo, Sufola Das Chagas Silva E.
    Malemathh, V. S.
    Sundaram, K. Meenakshi
    INTERNATIONAL CONFERENCE ON ELECTRICAL, COMPUTER AND ENERGY TECHNOLOGIES (ICECET 2021), 2021, : 865 - 870
  • [36] A novel data-driven approach on inferring loop invariants for C programs
    Lu, Hong
    Wang, Huitao
    Gui, Jiacheng
    Chen, Panfeng
    Huang, Hao
    JOURNAL OF COMPUTER LANGUAGES, 2022, 71
  • [37] Fiber loop ring down for static ice pressure detection
    Yang, Yi
    Yang, Lingzhen
    Zhang, Zongwei
    Yang, Jianjun
    Wang, Juanfen
    Zhang, Li
    Deng, Xiao
    Zhang, Zhaoxia
    OPTICAL FIBER TECHNOLOGY, 2017, 36 : 312 - 316
  • [38] Detection of Moving Object: A Modular Wavelet Approach
    Anuj, Latha
    Gopalakrishna, M. T.
    Hanumantharaju, M. C.
    PROCEEDINGS OF THE 3RD INTERNATIONAL CONFERENCE ON FRONTIERS OF INTELLIGENT COMPUTING: THEORY AND APPLICATIONS (FICTA) 2014, VOL 1, 2015, 327 : 831 - 838
  • [39] Modular Approach for Online Vertical Obstacle Detection
    Flanigen, Paul
    Atkins, Ella
    Sarter, Nadine
    JOURNAL OF AEROSPACE INFORMATION SYSTEMS, 2024, 21 (07): : 579 - 597
  • [40] A modular approach for development of miniature detection systems
    Bhansali, S
    Ahn, CH
    Henderson, HT
    NANO- AND MICROTECHNOLOGY: MATERIALS, PROCESSES, PACKAGING, AND SYSTEMS, 2002, 4936 : 119 - 125