2014 · 372 citations · 24 references
ComputingComputer EngineeringComputer ScienceCompilersMalware AnalysisProgramming LanguagesCompiler ConstructionControl-flow AnalysisData-flow AnalysisEquivalence CheckingSoftware TestingCompiler Optimization ValidationProgram Transformation
We introduce equivalence modulo inputs (EMI), a simple, widely applicable methodology for validating optimizing compilers. Our key insight is to exploit the close interplay between (1) dynamically executing a program on some test inputs and (2) statically compiling the program to work on all possible inputs. Indeed, the test inputs induce a natural collection of the original program's EMI variants, which can help differentially test any compiler and specifically target the difficult-to-find miscompilations.
24
Finding and understanding bugs in C compilers
Xuejun Yang, Yang Chen, Eric Eide et al. · 2011 · 733 citations
Formal certification of a compiler back-end or
Xavier Leroy · 2006 · 652 citations
Finding and understanding bugs in C compilers
Xuejun Yang, Yang Chen, Eric Eide et al. · ACM SIGPLAN Notices · 2011 · 586 citations
Translation validation for an optimizing compiler
George C. Necula · 2000 · 487 citations
A Formally Verified Compiler Back-end
Xavier Leroy · Journal of Automated Reasoning · 2009 · 487 citations · Full text