A New Method for Program Inversion

被引:0
|
作者
Hou, Cong [1 ]
Vulov, George [1 ]
Quinlan, Daniel [2 ]
Jefferson, David [2 ]
Fujimoto, Richard [1 ]
Vuduc, Richard [1 ]
机构
[1] Georgia Inst Technol, Atlanta, GA 30332 USA
[2] Lawrence Livermore Natl Lab, Livermore, CA 94551 USA
来源
关键词
Program inversion; SSA; SSA graph; reverse computation; state saving; ROSE; REVERSE EXECUTION; DEPENDENCE GRAPH; INVERTER;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Program inversion has been successfully applied to several areas such as optimistic parallel discrete event simulation (OPDES) and reverse debugging. This paper introduces a new program inversion algorithm for imperative languages, and focuses on handling arbitrary control flows and basic operations. By building a value search graph that represents recoverability relationships between variable values, we turn the problem of recovering previous values into a graph search one. Forward and reverse code is generated according to the search results. We have implemented our algorithm as part of a compiler framework named Backstroke, a C++ source-to-source translator based on ROSE compiler. Backstroke targets optimistic simulation codes and automatically generates a reverse function to recover values modified by a target function. Experimental results show that our method is effective and produces better performance than previously proposed methods.
引用
收藏
页码:81 / 100
页数:20
相关论文
共 50 条
  • [42] A new method to judge the phase inversion point of crude emulsion
    Pu, Wanfen
    He, Meiming
    Yang, Xuerui
    JOURNAL OF DISPERSION SCIENCE AND TECHNOLOGY, 2022, 43 (10) : 1453 - 1461
  • [43] A NEW METHOD FOR COMPUTING THE WEIGHTED GENERALIZED INVERSION OF PARTITIONED MATRICES
    DANG, SS
    JOURNAL OF COMPUTATIONAL MATHEMATICS, 1989, 7 (04) : 324 - 326
  • [44] Study on the new determined method of profile inversion of polymer flooding
    Shu Shengjian
    He Jingang
    Yang Jing
    Wang Weinan
    Li Jian
    Dong Xiulong
    ADVANCES IN CIVIL AND STRUCTURAL ENGINEERING III, PTS 1-4, 2014, 501-504 : 2085 - 2088
  • [45] A New Method for the Inversion of Infinite Generalized Block Toeplitz Matrix
    Wu, Huazhang
    Bi, Yawei
    Hua, Zhaocheng
    ADVANCES IN MATRIX THEORY AND ITS APPLICATIONS, VOL II: PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON MATRIX THEORY AND ITS APPLICATIONS, 2008, : 359 - 362
  • [46] NEW METHOD FOR PERMITTIVITY AND CONDUCTIVITY INVERSION OF DISCRETE LAYERED EARTH
    HASHISH, EA
    ZAHRAN, MM
    FAHMY, MNI
    IEE PROCEEDINGS-A-SCIENCE MEASUREMENT AND TECHNOLOGY, 1990, 137 (06): : 346 - 348
  • [47] A New Indoor Localization Method Based on Inversion Propagation Model
    Xie, Lei
    Wang, Yuhao
    Xue, Xia
    2010 6TH INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS NETWORKING AND MOBILE COMPUTING (WICOM), 2010,
  • [48] A new inversion method of LWD electromagnetic propagation resistivity logging
    Shi, X.
    Li, Z.
    Cai, Z.
    Cejing Jishu/Well Logging Technology, 2001, 25 (04): : 266 - 269
  • [49] Evaluation of induced polarization measurements using a new inversion method
    Tamás Fancsik
    Endre Turai
    Norbert Péter Szabó
    Judit Somogyiné Molnár
    Tünde Edit Dobróka
    Mihály Dobróka
    Acta Geodaetica et Geophysica, 2021, 56 : 623 - 643
  • [50] A new inversion-free method for a rational matrix equation
    Monsalve, Marlliny
    Raydan, Marcos
    LINEAR ALGEBRA AND ITS APPLICATIONS, 2010, 433 (01) : 64 - 71