Abstract Domains of Affine Relations

被引:8
|
作者
Elder, Matt [1 ]
Lim, Junghee [2 ]
Sharma, Tushar [3 ]
Andersen, Tycho [4 ]
Reps, Thomas [5 ,6 ]
机构
[1] Quixey, Mountain View, CA 94041 USA
[2] GrammaTech Inc, Ithaca, NY 14850 USA
[3] Univ Wisconsin, Dept Comp Sci, Madison, WI 53706 USA
[4] Canon Grp Ltd, London SE1 0SU, England
[5] Univ Wisconsin, Dept Comp Sci, Madison, WI 53703 USA
[6] GrammaTech Inc, Madison, WI 53705 USA
基金
美国国家科学基金会;
关键词
Algorithms; Theory; Verification; Experimentation; Performance; Abstract domain; abstract interpretation; affine relation; static analysis; modular arithmetic; Howell form; symbolic abstraction; PRECISE INTERPROCEDURAL ANALYSIS; STATIC ANALYSIS; PROGRAMS; SYSTEM;
D O I
10.1145/2651361
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This article considers some known abstract domains for affine-relation analysis (ARA), along with several variants, and studies how they relate to each other. The various domains represent sets of points that satisfy Aline relations over variables that hold machine integers and are based on an extension of linear algebra to modules over a ring (in particular, arithmetic performed modulo 2(w), for some machine-integer width w). We show that the abstract domains of Muller-Olm/Seidl (MOS) and King,/Sondergaard (KS) are, in general, incomparable. However, we give sound interconversion methods. In other words, we give an algorithm to convert a KS element v(KS) to an overapproximating MOS element v(mos) that is, y(v(Ks)) subset of gamma(v(mos)) as well as an algorithm to convert an MOS element w(mos) to an overapproximating KS element w(KS)-that is, Y(w(mos)) subset of y(w(KS)) The article provides insight on the range of options that one has for performing ARA in a program analyzer: We describe how to perform a greedy, operator-by-operator abstraction method to obtain KS abstract transtbrmers. We also describe a more global approach to obtaining KS abstract transformers that considers the semantics of an entire instruction, basic block, or other loop-free program fragment. The latter method can yield best abstract transformers, and hence can be more precise than the former method. However, the latter method is more expensive. We also explain how to use the KS domain for interprocedural program analysis using a bit-precise concrete semantics, but without bit blasting. Categories and Subject Descriptors: D.2.4 [Software Engineering]: Software/Program Verification Assertion checkers; Formal methods; Validation; F.3.1 [Logics and Meanings of Programs]: Specifying and Verifying and Reasoning about Programs Invariants; Mechanical verification
引用
收藏
页码:1 / 73
页数:73
相关论文
共 50 条
  • [41] Color associations in abstract semantic domains
    Guilbeault, Douglas
    Nadler, Ethan O.
    Chu, Mark
    Lo Sardo, Donald Ruggiero
    Kar, Aabir Abubaker
    Desikan, Bhargav Srinivasa
    COGNITION, 2020, 201
  • [42] Abstract domains for universal and existential properties
    Heaton, A
    Hill, PM
    King, A
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2000, 1782 : 150 - 164
  • [43] Narrowing Operators on Template Abstract Domains
    Amato, Gianluca
    Di Maio, Simone Di Nardo
    Meo, Maria Chiara
    Scozzari, Francesca
    FM 2015: FORMAL METHODS, 2015, 9109 : 57 - 72
  • [44] Optimal domains for disjunctive abstract interpretation
    Giacobazzi, R
    Ranzato, F
    SCIENCE OF COMPUTER PROGRAMMING, 1998, 32 (1-3) : 177 - 210
  • [45] Construction of Abstract Domains for Heterogeneous Properties
    Rival, Xavier
    Toubhans, Antoine
    Chang, Bor-Yuh Evan
    LEVERAGING APPLICATIONS OF FORMAL METHODS, VERIFICATION AND VALIDATION: SPECIALIZED TECHNIQUES AND APPLICATIONS, PT II, 2014, 8803 : 489 - 492
  • [46] On support relations in abstract argumentation as abstractions of inferential relations
    Prakken, Henry
    21ST EUROPEAN CONFERENCE ON ARTIFICIAL INTELLIGENCE (ECAI 2014), 2014, 263 : 735 - 740
  • [47] Block-Wise Abstract Interpretation by Combining Abstract Domains with SMT
    Jiang, Jiahong
    Chen, Liqian
    Wu, Xueguang
    Wang, Ji
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, VMCAI 2017, 2017, 10145 : 310 - 329
  • [48] REGULAR ELEMENTS OF ABSTRACT AFFINE NEAR-RINGS
    YAKABE, I
    PROCEEDINGS OF THE JAPAN ACADEMY SERIES A-MATHEMATICAL SCIENCES, 1989, 65 (08) : 307 - 310
  • [49] AFFINE TORIC EQUIVALENCE RELATIONS ARE EFFECTIVE
    Raicu, Claudiu
    PROCEEDINGS OF THE AMERICAN MATHEMATICAL SOCIETY, 2010, 138 (11) : 3835 - 3847
  • [50] Transformations and Coupling Relations for Affine Connections
    Tao, James
    Zhang, Jun
    GEOMETRIC SCIENCE OF INFORMATION, GSI 2015, 2015, 9389 : 326 - 339