Establishing a Refinement Relation between Binaries and Abstract Code

被引:2
作者
Verbeek, Freek [1 ]
Bockenek, Joshua [1 ]
Bharadwaj, Abhijith [1 ]
Ravindran, Binoy [1 ]
Roessle, Ian [2 ]
机构
[1] Virginia Tech, Blacksburg, VA 24061 USA
[2] Joint Artificial Intelligence Ctr, Washington, DC USA
来源
17TH ACM-IEEE INTERNATIONAL CONFERENCE ON FORMAL METHODS AND MODELS FOR SYSTEM DESIGN (MEMOCODE) | 2019年
关键词
x86-64; assembly; formal verification; refinement; abstraction; TRANSLATION VALIDATION; VERIFICATION; COMPILER;
D O I
10.1145/3359986.3361215
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper presents a method for establishing a refinement relation between a binary and a high-level abstract model. The abstract model is based on standard notions of control flow, such as if-then-else statements, while loops and variable scoping. Moreover, it contains high-level data structures such as lists and records. This makes the abstract model amenable for off-the-shelf verification techniques such as model checking or interactive theorem proving. The refinement relation translates, e.g., sets of memory locations to high-level datatypes, or pointer arithmetic to standard HOL functions such as list operations or record accessors. We show applicability of our approach by verifying functions from a binary containing the Network Security Services framework from Mozilla Firefox, running on the x86-64 architecture. Our methodology is interactive. We show that we are able to verify approximately 1000 lines of x86-64 machine code (corresponding to about 400 lines of source code) in one person month.
引用
收藏
页数:5
相关论文
共 49 条
  • [41] The relation between the secrecy rate of biometric template protection and biometric recognition performance
    Veldhuis, Raymond N. J.
    2015 INTERNATIONAL CONFERENCE ON BIOMETRICS (ICB), 2015, : 311 - 318
  • [42] Comparison of the role of metabotropic glutamate receptor subtype 1 in developmental refinement of neuronal connectivity between the cerebellum and the sensory thalamus
    Narushima, Madoka
    NEUROSCIENCE RESEARCH, 2018, 129 : 24 - 31
  • [43] A priori mesh quality estimation via direct relation between truncation error and mesh distortion
    Kallinderis, Y.
    Kontzialis, C.
    JOURNAL OF COMPUTATIONAL PHYSICS, 2009, 228 (03) : 881 - 902
  • [44] Approximating Pareto optimal compiler optimization sequences-a trade-off between WCET, ACET and code size
    Lokuciejewski, Paul
    Plazar, Sascha
    Falk, Heiko
    Marwedel, Peter
    Thiele, Lothar
    SOFTWARE-PRACTICE & EXPERIENCE, 2011, 41 (12) : 1437 - 1458
  • [45] Relation between crystallinity and chemical nature of surface on wettability: A study on pulsed laser deposited TiO2 thin films
    Shirolkar, Mandar M.
    Phase, Deodatta
    Sathe, Vasant
    Rodriguez-Carvajal, J.
    Choudhary, Ram Janay
    Kulkarni, Sulabha K.
    JOURNAL OF APPLIED PHYSICS, 2011, 109 (12)
  • [46] Interface relation between CeO2/TiC in hypereutectic Fe-Cr-C-Ti-CeO2 hardfacing alloy
    Liu, Huan
    Xing, Xiaolei
    Rao, Lixiang
    Shi, Zhijun
    Liu, Sha
    Zhou, Yefei
    Yang, Qingxiang
    MATERIALS CHEMISTRY AND PHYSICS, 2019, 222 : 181 - 192
  • [47] Analysis of the Interplay Between Thermo-solutal Convection and Equiaxed Grain Motion in Relation to Macrosegregation Formation in AA5182 Sheet Ingots
    Pakanati, Akash
    Tveito, Knut Omdal
    M'Hamdi, Mohammed
    Combeau, Herve
    Zaloznik, Miha
    LIGHT METALS 2019, 2019, : 1007 - 1013
  • [48] Dislocation versus grain boundary strengthening in SPD processed metals: Non-causal relation between grain size and strength of deformed polycrystals
    Starink, M. J.
    MATERIALS SCIENCE AND ENGINEERING A-STRUCTURAL MATERIALS PROPERTIES MICROSTRUCTURE AND PROCESSING, 2017, 705 : 42 - 45
  • [49] The study of position of antilingula, midwaist of mandibular ramus and midpoint between coronoid process and gonion in relation to lingula of 92 Thai dried mandibles as potential surgical landmarks for vertical ramus osteotomy
    Apinhasmit, Wandee
    Chompoopong, Supin
    Jansisyanont, Pornchai
    Supachutikul, Kwan
    Rattanathamsakul, Natthapon
    Ruangves, Suthacha
    Sangvichien, Sanjai
    SURGICAL AND RADIOLOGIC ANATOMY, 2011, 33 (04) : 337 - 343