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 条
  • [1] A new whistler inversion method
    Lichtenberger, J.
    JOURNAL OF GEOPHYSICAL RESEARCH-SPACE PHYSICS, 2009, 114
  • [2] A new method of lithological inversion
    Zheng, Gongying
    Yang, Qiuling
    Zhang, Xueqiang
    NEAR-SURFACE GEOPHYSICS AND GEOHAZARDS - PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON ENVIRONMENTAL AND ENGINEERING GEOPHYSICS, VOLS 1 AND 2, 2010, : 146 - 150
  • [3] A New Improvement Method of Abel Inversion
    Ruan Huailin
    Wan Baonian
    Wu Zhenwei
    Hu Liqun
    Luo Jingqing
    International Journal of Infrared and Millimeter Waves, 2004, 25 (3): : 489 - 501
  • [4] A new improvement method of Abel inversion
    Ruan, HL
    Wan, BN
    Wu, ZW
    Hu, LQ
    Luo, JQ
    INTERNATIONAL JOURNAL OF INFRARED AND MILLIMETER WAVES, 2004, 25 (03): : 489 - 501
  • [5] New method for the inversion of integral equation
    Yang, Jifan
    Song, Shougen
    Zhongnan Gongye Daxue Xuebao/Journal of Central South University of Technology, 29 (05): : 416 - 417
  • [6] A method for automatic program inversion based on LR(0) parsing
    Glück, R
    Kawabe, M
    FUNDAMENTA INFORMATICAE, 2005, 66 (04) : 367 - 395
  • [7] Implementation of a fast matrix inversion method in the electrodynamic simulation program
    Burger, Lazlo B.
    Periodica Polytechnica, Electrical Engineering, 1997, 41 (01): : 41 - 52
  • [8] New inversion method of artificial neural network in transient electromagnetic inversion
    Li, Chuangshe
    Zhang, Yanpeng
    Li, Shi
    Zhang, Lixin
    Hsi-An Chiao Tung Ta Hsueh/Journal of Xi'an Jiaotong University, 2001, 35 (06): : 604 - 607
  • [9] New aspects of tectonic stress inversion with reference to the TENSOR program
    Delvaux, D
    Sperner, B
    NEW INSIGHTS INTO STRUCTURAL INTERPRETATION AND MODELLING, 2003, 212 : 75 - 100
  • [10] A New Clustering Method Based on the Inversion Formula
    Lukauskas, Mantas
    Ruzgas, Tomas
    MATHEMATICS, 2022, 10 (15)