ComputingComputer ScienceCompilersProgramming LanguagesSoftware EngineeringCode GenerationCompiler ConstructionData-flow AnalysisStatic Code AnalysisBinary Code DecompilationCode OptimizationSource MappingSource-binary Correspondence Analysis
The task of mapping between source programs and machine code, once the code has been optimized and transformed by a compiler is often difficult. Yet there are many instances, such as debugging optimized code or attributing performance analysis data to source lines, whrn it is useful or necessary to understand at the source level what is occurring in the binary. The standard approach has been for tools to attempt to map directly from the optimized binary to the original source. Such mappings are often fragile, and sometimes inaccurate or misleading. We suggest an alternative approach. Rather than mapping directly between the original source and the binary, we create a modified version of the source program, still recognizable, but updated to reflect some of the effects of optimizations, thus facilitating mapping from the binary. We have implemented a tool, Optview, to demonstrate and test these ideas.
11
Richard L. Sites, Anton Chernoff, Matthew B. Kirk et al. · Communications of the ACM · 1993 · 257 citations · Full text
Decompilation of binary programs
Cristina Cifuentes, K. John Gough · Software Practice and Experience · 1995 · 189 citations · Full text
A new model of program dependences for reverse engineering
Daniel Jackson, Eugene J. Rollins · 1994 · 126 citations · Full text
Arie van Deursen, Paul Klint, Frank Tip · Journal of Symbolic Computation · 1993 · 99 citations
A new approach to debugging optimized code
Gary Brooks, Gilbert J. Hansen, Steve Simmons · 1992 · 68 citations · Full text