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 条
  • [21] EVALUATION OF A NEW METHOD FOR NUMERICAL LAPLACE TRANSFORMATION AND INVERSION
    WILCOX, DJ
    GIBSON, IS
    INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 1984, 20 (08) : 1521 - 1528
  • [22] A New inversion method of the initial state of Annulus in killing
    Liu, Pu
    Zhan, Yonglie
    Xiao, Quanlin
    Tang, Zhengqiang
    Li, Xuan
    Zuo, Luo
    SCIENCE PROGRESS, 2022, 105 (02)
  • [23] NEW MATRIX INVERSION ALGORITHMS BASED ON EXCHANGE METHOD
    CHEN, RMM
    IEEE TRANSACTIONS ON COMPUTERS, 1973, C 22 (10) : 885 - 890
  • [24] A NEW NUMERICAL-METHOD FOR ASYMMETRICAL ABEL INVERSION
    YASUTOMO, Y
    MIYATA, K
    HIMENO, SI
    ENOTO, T
    OZAWA, Y
    IEEE TRANSACTIONS ON PLASMA SCIENCE, 1981, 9 (01) : 18 - 21
  • [25] A NEW INVERSION METHOD OF TIME-LAPSE SEISMIC
    陈勇
    韩波
    NumericalMathematicsAJournalofChineseUniversities(EnglishSeries), 2005, (03) : 226 - 234
  • [26] A new method of variational Bayesian slip distribution inversion
    Sun, Longxiang
    Wang, Leyang
    Xu, Guangyu
    Wu, Qiwen
    JOURNAL OF GEODESY, 2023, 97 (01)
  • [28] A new method of variational Bayesian slip distribution inversion
    Longxiang Sun
    Leyang Wang
    Guangyu Xu
    Qiwen Wu
    Journal of Geodesy, 2023, 97
  • [29] NEW INVERSION METHOD IN ELECTROMAGNETIC WAVE-PROPAGATION
    EDENHOFER, P
    FRANKLIN, JN
    PAPAS, CH
    IEEE TRANSACTIONS ON ANTENNAS AND PROPAGATION, 1973, AP21 (02) : 260 - 263
  • [30] The New Method of Tsunami Source Reconstruction With r-Solution Inversion Method
    Voronina, T. A.
    Romanenko, A. A.
    PURE AND APPLIED GEOPHYSICS, 2016, 173 (12) : 4089 - 4099