Compiler validation via equivalence modulo inputs
The DOI matches its Crossref record; 28 of the 28 references it cites were found in a registry or an index.
Abstract
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.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“This paper demonstrates that modern titanic LLMs can be leveraged to directly perform both generation-based and mutation-based fuzzing studied for decades, while being fully automated, generalizable, and applicable to domains challenging for traditional approaches (such as DL systems).”
From Large Language Models Are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Models (2023) · cites this paper as [39]
In the citing paper
“Moreover, to our knowledge, we are the first to apply infilling models (e.g., InCoder) to directly perform mutation-based fuzzing [39,50] to generate more diverse input programs in an evolutionary fuzzing loop.”
From Large Language Models Are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Models (2023) · cites this paper as [39]
Citations
Cites
Finding and understanding bugs in C compilers
Yang, X., Chen, Y., Eide, E., & Regehr, J. (2011) · Proceedings of the 32nd ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1993498.1993532 · Cited by 1,248 · cited 3×
“Others, however, can cause compilers to silently miscompile a program and produce wrong code, subverting the programmer’s intent.”
BackgroundInfluentialFormal certification of a compiler back-end or: programming a compiler with a proof assistant
Leroy, X. (2006) · Conference record of the 33rd ACM SIGPLAN-SIGACT symposium on Principles of programming languages · doi:10.1145/1111037.1111042 · Cited by 661 · cited 3×
“Compiler Testing The most directly related is compiler testing, which remains the dominant technique for validating production compilers in practice.”
BackgroundMethodInfluentialFinding and understanding bugs in C compilers
Yang, X., Chen, Y., Eide, E., & Regehr, J. (2011) · ACM SIGPLAN Notices · doi:10.1145/1993316.1993532 · Cited by 586
A Formally Verified Compiler Back-end
Leroy, X. (2009) · Journal of Automated Reasoning · doi:10.1007/s10817-009-9155-4 · Cited by 503
Pnueli, A., Siegel, M., & Singerman, E. (1998) · Lecture Notes in Computer Science · doi:10.1007/bfb0054170 · Cited by 499 · cited 1×
“C; H.3.4 [Programming Languages]: Processors—compilers General Terms Algorithms, Languages, Reliability, Verification Keywords Compiler testing, miscompilation, equivalent program variants, automated testing”
InfluentialTranslation validation for an optimizing compiler
Necula, G. C. (2000) · Proceedings of the ACM SIGPLAN 2000 conference on Programming language design and implementation · doi:10.1145/349299.349314 · Cited by 488 · cited 1×
“C; H.3.4 [Programming Languages]: Processors—compilers General Terms Algorithms, Languages, Reliability, Verification Keywords Compiler testing, miscompilation, equivalent program variants, automated testing”
Influential(1998) · Cited by 469
Test-case reduction for C compiler bugs
Regehr, J., Chen, Y., Cuoq, P., Eide, E., Ellison, C., & Yang, X. (2012) · Proceedings of the 33rd ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2254064.2254104 · Cited by 310
Holler, C., Herzig, K., & Zeller, A. (2012) · Cited by 275
Superoptimizer: a look at the smallest program
Massalin, H. (1987) · ACM SIGPLAN Notices · doi:10.1145/36205.36194 · Cited by 221
Research works printed but not linked: 2
- 10.5555/2362793.2362831 · doi:10.5555/2362793.2362831
- 10.5555/646482.691453 · doi:10.5555/646482.691453
Cited by
Items 201–300 of 426
Jiang, M., Xu, T., Zhou, Y., Hu, Y., Zhong, M., Wu, L., Luo, X., & Ren, K. (2022) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3503222.3507736 · Cited by 17
“introduced equivalence modulo inputs (EMI) [47] and many other differential testing tools are built based on EMI to validate the compiler implementations [48, 60].”
MethodWasm-Mutate: Fast and effective binary diversification for WebAssembly
Cabrera-Arteaga, J., Fitzgerald, N., Monperrus, M., & Baudry, B. (2024) · Computers & Security · doi:10.1016/j.cose.2024.103731 · Cited by 14
“Functional equivalence refers to the notion that two programs are considered equivalent if, for the same input of the same domain they produce the same output[32].”
BackgroundFinding and Understanding Defects in Static Analyzers by Constructing Automated Oracles
He, W., Di, P., Ming, M., Zhang, C., Su, T., Li, S., & Sui, Y. (2024) · Proceedings of the ACM on software engineering. · doi:10.1145/3660781 · Cited by 25
“Vu Le et al. [19] propose an approach for validating optimizing compilers by exploiting the close interplay between dynamically executing a program on some test inputs and statically compiling the program to work on all possible inputs.”
BackgroundMetamorphic testing: a simple method for alleviating the test oracle problem
Chen, T. Y. (2015) · Automation of Software Test · doi:10.5555/2819261.2819278 · Cited by 14
Systematic Generation of Non-equivalent Expressions for Relational Algebra
Wang, K., Sullivan, A., Koukoutos, M., Marinov, D., & Sarfraz Khurshid, D. (2018) · Lecture notes in computer science · doi:10.1007/978-3-319-91271-4_8 · Cited by 14
“Modulo pruning [24] removes equivalent expressions based on their values for the user-given valuations of the input test suite.”
MethodAutomatic Test Case Reduction for OpenCL
Pflanzer, M., Donaldson, A. F., & Lascu, A. (2016) · International Workshop on OpenCL · doi:10.1145/2909437.2909439 · Cited by 14
“In our testing campaign, we applied two distinct techniques: random differential testing (RDT), a fuzzing method popularised by the Csmith tool [15], and equivalence modulo inputs testing [7] (EMI), an instance of metamorphic testing [2].”
MethodModular Verification of Procedure Equivalence in the Presence of Memory Allocation
Wood, T., Drossopolou, S., Lahiri, S. K., & Eisenbach, S. (2017) · Lecture notes in computer science · doi:10.1007/978-3-662-54434-1_35 · Cited by 14
Gauntlet: Finding Bugs in Compilers for Programmable Packet ProcessingPreprint
Ruffy, F., Wang, T., & Sivaraman, A. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2006.01074 · Cited by 14
“, generating random programs that avoid undefined and unspecified behavior [41,74], providing seman-”
BackgroundMethodInfluentialLessons from Formally Verified Deployed Software Systems
Huang, L., Ebersold, S., Kogtenkov, A., Meyer, B., & Liu, Y. (2026) · ACM Computing Surveys · doi:10.1145/3785652 · Cited by 14
“The final assembling and linking steps involve standard non-verified tools.”
PPR: Pairwise Program Reduction
Zhang, M., Xu, Z., Tian, Y., Jiang, Y., & Sun, C. P. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3616275 · Cited by 13
“Among all compiler testing techniques, one major, widely used type of techniques is mutation-based testing [2, 10, 18, 22–24, 32, 36, 40], which generates new test programs (referred to as variants ) by applying random mutations to existing programs (referred to as seeds ), in hopes of provoking…”
Using metamorphic relations to verify and enhance Artcode classification
Xu, L., Towey, D., French, A. P., Benford, S., Zhou, Z. Q., & Chen, T. Y. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.111060 · Cited by 15
Enhancing supervised classifications with metamorphic relations
Xu, L., Towey, D., French, A. P., Benford, S., Zhou, Z. Q., & Chen, T. Y. (2018) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1145/3193977.3193978 · Cited by 16
“As an augmented reality artefact, Artcodes can adorn everyday objects with decorative patterns that enhance their beauty while triggering digital interactions when scanned — interested readers are referred to Benford et al. [3] for more details of Artcodes applications.”
BackgroundEfficient binary-level coverage analysis
Khadra, M. A. B., Stoffel, D., & Kunz, W. (2020) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3368089.3409694 · Cited by 13
UBFuzz: Finding Bugs in Sanitizer Implementations
Li, S., & Su, Z. (2024) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3617232.3624874 · Cited by 17
“There are three main reasons: (1) Csmith is adopted by a lot of compiler testing work [12, 37, 39] and has become the de facto default program generator in testing C compilers; (2) Csmith can generate complex programs with rich features ( e.g. , pointer and integer operations), thus offering UBfuzz…”
BackgroundInfluentialSelf-citationDifferential Optimization Testing of Gremlin-Based Graph Database Systems
Zheng, Y., Dou, W., Tang, L., Cui, Z., Song, J., Cheng, Z., Wang, W., Wei, J., Zhong, H., & Tao, H. (2024) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst60714.2024.00012 · Cited by 12
“Some works (e.g., [61], [63]) test compiler optimizers by generating equivalent programs.”
BackgroundUnderstanding and Reusing Test Suites Across Database Systems
Zhong, S., & Rigger, M. (2024) · Proceedings of the ACM on Management of Data · doi:10.1145/3698829 · Cited by 12
“Le et al. [22] found bugs in LLVM by using test cases from GCC. Zhong et al. [50] used the test suite of each DBMS as the seed corpus for their mutation-based fuzzing approach, which found many bugs in DBMSs.”
MethodXu, Z., Guo, S., Li, X., Wang, Z., & Jiang, H. (2024) · ACM Transactions on Design Automation of Electronic Systems · doi:10.1145/3705730 · Cited by 12
“In C compiler testing, there are mainly three methods, namely Orion [27], Athena [28], and Hermes [37].”
Finding Deviated Behaviors of the Compressed DNN Models for Image Classifications
Tian, Y., Zhang, W., Wen, M., Cheung, S.-C., Sun, C. P., Ma, S., & Jiang, Y. (2023) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3583564 · Cited by 16
“[34] introduced EMI, which applies differential testing on compilers using semantically equivalent programs.”
MethodTermination-checking for LLVM peephole optimizations
Menendez, D., & Nagarakatte, S. (2016) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/2884781.2884809 · Cited by 12
“Unsurprisingly, peephole optimizations are a common source of compiler bugs [19, 26, 38].”
BackgroundMethodStack-Driven Program Generation of WebAssembly
Perényi, Á., & Midtgaard, J. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-64437-6_11 · Cited by 13
“[16] introduced equivalence modulo inputs (EMI) as an alternative compiler testing approach to differential testing.”
MethodAn SMT Encoding of LLVM’s Memory Model for Bounded Translation Validation
Lee, J., Kim, D., Hur, C.-K., & Lopes, N. P. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-81688-9_35 · Cited by 18
“There has also been work on automatic verification of classes of optimizations, such as peephole optimizations [25, 31], semi-automated proofs [48], translation validation [20, 35, 42, 44], and fuzzing [23,46].”
BackgroundTaking Back Control in an Intermediate Representation for GPU Computing
Klimis, V., Clark, J., Baker, A., Neto, D., Wickerson, J., & Donaldson, A. F. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3571253 · Cited by 11
“Differential and metamorphic compiler-testing techniques have been successful in a range of domains over the last decade or so (see e.g. [Le et al. 2014; Yang et al. 2011] and a recent survey [Chen et al. 2020]).”
New ideas: automated engineering of metamorphic testing environments for domain-specific languages
Cañizares, P. C., Gómez‐Abajo, P., Núñez, A., Guerra, E., & de Lara, J. (2021) · ACM SIGPLAN International Conference on Software Language Engineering (SLE) · doi:10.1145/3486608.3486904 · Cited by 12
“It has been used in very different domains, such as web services [33], machine learning [41], compilers [24] and cloud systems [8, 28].”
MethodInterpreter-guided differential JIT compiler unit testing
Polito, G., Ducasse, S., & Tesone, P. (2022) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3519939.3523457 · Cited by 16
“Remarkable existing work cover random test generation solutions such as CSmith [32], grammar-based solutions such as the work originated by Purdom [26] and mutation-based test generation such as equivalence-modulo-input (EMI) [17].”
Automated Testing and Improvement of Named Entity Recognition Systems
Yu, B., Hu, Y., Mang, Q., Hu, W., & He, P. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3616295 · Cited by 11
“As an effective approach to address the test case generation problems and test oracle problems, metamorphic testing is widely adopted to test a variety of systems, including: (1) traditional software, such as compilers [19, 23], and database systems [25], and (2) AI-based systems, such as machine translation [13, 14,…”
MethodMetamorphic testing: A new student engagement approach for a new software testing paradigm
Towey, D., Chen, T. Y., Kuo, F., Liu, H., & Zhou, Z. Q. (2016) · IEEE International Conference on Teaching, Assessment, and Learning for Engineering · doi:10.1109/tale.2016.7851797 · Cited by 14
“[44] had used a similar concept when examining C compilers: If the source code for two programs are equivalent for a particular input, then, after compilation, the corresponding executable programs should also be equivalent for the same input.”
BackgroundMethodDreaming up Metamorphic Relations: Experiences from Three Fuzzer Tools
Lascu, A., Windsor, M., Donaldson, A. F., Grosser, T., & Wickerson, J. (2021) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1109/met52542.2021.00017 · Cited by 14
“As the tests are self-contained with fixed inputs, this set-up resembles equivalence modulo inputs testing [12].”
MethodInfluentialToward tool support for interactive synthesis
Barman, S., Bodík, R., Chandra, S., Torlak, E., Bhattacharya, A., & Culler, D. (2015) · ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward!) · doi:10.1145/2814228.2814235 · Cited by 14
“An easy way to deobfuscate toyk is to create a sketch [34] of a simpler implementation and then use program synthesis to complete the sketch automatically.”
MethodDarthShader: Fuzzing WebGPU Shader Translators & Compilers
Bernhard, L., Schiller, N., Schloegel, M., Bars, N., & Holz, T. (2024) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3658644.3690209 · Cited by 10
Kitten: A Simple Yet Effective Baseline for Evaluating LLM-Based Compiler Testing Techniques
Xie, Y., Xu, Z., Tian, Y., Zhou, M. Q., Zhou, X., & Sun, C. P. (2025) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3713081.3731731 · Cited by 10
Meta-Fair: AI-assisted fairness testing of large language models
Romero-Arjona, M., Parejo, J. A., Alonso, J. C. G., Sánchez, A. B., Arrieta, A., & Segura, S. (2026) · Information and Software Technology · doi:10.1016/j.infsof.2026.108075 · Cited by 11
T-Rec: Fine-Grained Language-Agnostic Program Reduction Guided by Lexical Syntax
Xu, Z., Tian, Y., Zhang, M., Zhang, J., Liu, P., Jiang, Y., & Sun, C. P. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3690631 · Cited by 15
“…reduction is useful and practical for testing and debugging language implementations, most compiler fuzzing work integrates program reduction techniques to process the found bug-triggering programs [Chen et al. 2013; Chong et al. 2015; Le et al. 2014; Livinskii et al. 2020; Sun et al. 2016].”
Metamorphic Testing of Android Graphics Drivers
Donaldson, A. F. (2019) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1109/met.2019.00008 · Cited by 10
“Inspired by work on equivalence modulo inputs testing for C compilers [6], in turn extended to test OpenCL compilers [7], GraphicsFuzz automatically finds cases where a shader compiler has generated wrong code by: (1) starting with an original, high-value shader (e.”
MethodNamjoshi, K. S., & Tabajara, L. M. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-39322-9_1 · Cited by 10
Using mutants to help developers distinguish and debug (compiler) faults
Holmes, J., & Groce, A. (2020) · Software Testing Verification and Reliability · doi:10.1002/stvr.1727 · Cited by 10
“Applying a novel fuzzing technique [1, 3, 6] may dump dozens of new faults on a project at once, and high-priority faults may be hidden by stubborn low-priority faults.”
Verified peephole optimizations for CompCert
Mullen, E., Zuniga, D., Tatlock, Z., & Grossman, D. (2016) · ACM SIGPLAN Notices · doi:10.1145/2980983.2908109 · Cited by 11
Grammar-based testing for little languages: an experience report with student compilers
van Heerden, P., Raselimo, M., Sagonas, K., & Fischer, B. (2020) · ACM SIGPLAN International Conference on Software Language Engineering (SLE) · doi:10.1145/3426425.3426946 · Cited by 10
“More recent works propose methods specifically aiming to find test programs which result in difficult-to-find mis-compilations [21], or that generate test programs which are more likely to be bug-revealing and diverse [4].”
MethodiDEV: exploring and exploiting semantic deviations in ARM instruction processing
Qin, S., Zhang, C., Chen, K., & Li, Z. (2021) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3460319.3464842 · Cited by 12
“In addition to test emulator and disassembly tools we mentioned before, differential testing is also widely used on the testing of various types of software, including C compilers [28, 44, 49], JVMs implementations [10, 11], program analyzers [26], SSL/TLS certification validation [6, 39, 43, 47].”
MethodIndustrial Deployment of Compiler Fuzzing Techniques for Two GPU Shading Languages
Donaldson, A. F., Clayton, B., Harrison, R., Mohsin, H., Neto, D., Teliman, V., & Watson, H. (2023) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst57152.2023.00042 · Cited by 13
“These tools build on ideas from equivalence modulo inputs testing [34], generating families of equivalent programs via semantics-preserving transformations.”
MethodDeng, C., & Namjoshi, K. S. (2017) · Lecture notes in computer science · doi:10.1007/978-3-319-66706-5_5 · Cited by 11
“[20,11] and related work) and from the viewpoint of formally guaranteeing correct compilation (cf.”
BackgroundC4: the C compiler concurrency checker
Windsor, M., Donaldson, A. F., & Wickerson, J. (2021) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3460319.3469079 · Cited by 11
“In the spirit of EMI testing [16], we design these mutations so as not to introduce new states over the variables in the original test-case, and so the postcondition generated by step 2 remains valid.”
MethodOn the Investigation of Essential Diversities for Deep Learning Testing Criteria
Zhang, Z., & Xie, X. (2019) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs.2019.00056 · Cited by 11
“In practice, MT has successfully detected real bugs in GCC and LLVM compiler [36], NASA system [37], web APIs of YouTube and Spotify [38] and Adobe [39].”
MethodDebugger Toolchain Validation via Cross-Level Debugging
Yang, Y., Sun, M., Wu, J., Li, Q., & Zhou, Y. (2025) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3669940.3707271 · Cited by 9
D3: Differential Testing of Distributed Deep Learning With Model Generation
Wang, J., Pham, H. V., Li, Q., Tan, L., Guo, Y., Aziz, A., & Meijer, E. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3461657 · Cited by 16
“Differential testing for compilers Differential testing has been used for testing compilers [79], [80], [81], [82].”
Pilsner: a compositionally verified compiler for a higher-order imperative language
Neis, G., Hur, C.-K., Kaiser, J.-O., McLaughlin, C., Dreyer, D. R., & Vafeiadis, V. (2015) · ACM SIGPLAN Notices · doi:10.1145/2858949.2784764 · Cited by 9
Metamorphic Testing of Fake News Detection Software
Ma, Y., Towey, D., Chen, T. Y., & Zhou, Z. Q. (2021) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac51774.2021.00224 · Cited by 9
“They noted that more than 100 bugs were found in the GNU Compiler Collection (GCC) and Low Level Virtual Machine (LLVM) [24].”
BackgroundA design and verification methodology for secure isolated regions
Sinha, R., Costa, M., Lal, A., Lopes, N. P., Rajamani, S. K., Seshia, S. A., & Vaswani, K. (2016) · ACM SIGPLAN Notices · doi:10.1145/2980983.2908113 · Cited by 11
A Machine Learning Approach for Developing Test Oracles for Testing Scientific Software
Ding, J., & Zhang, D. (2016) · Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering · doi:10.18293/seke2016-137 · Cited by 11
“It has been applied to several domains such as bioinformatics systems, machine learning systems, and online service systems [10] [11][20].”
MethodModular, Correct Compilation with Automatic Soundness Proofs
Steinhöfel, D., & Hähnle, R. (2018) · Lecture notes in computer science · doi:10.1007/978-3-030-03418-4_25 · Cited by 13
“Still, commonly used compilers, like any complex software product, do contain bugs [12]; and for safety-critical settings, one might just not want to take the chance.”
BackgroundA type-directed algorithm to generate random well-typed Java 8 programs
Feitosa, S. D. S., Ribeiro, R. G., & Bois, A. R. D. (2020) · Science of Computer Programming · doi:10.1016/j.scico.2020.102494 · Cited by 9
Program Ingredients Abstraction and Instantiation for Synthesis-based JVM Testing
Zhao, Y., Wang, Z., Chen, J., Fu, R., Lu, Y., Gao, T., & Ye, H. (2024) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3658644.3690366 · Cited by 8
“EMI-based techniques [40] construct equivalent test programs under a given set of inputs of the seed programs by designing a series of equivalent mutation rules.”
IRFuzzer: Specialized Fuzzing for LLVM Backend Code Generation
Rong, Y., Yu, Z., Weng, Z., Neuendorffer, S., & Chen, H. (2025) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse55347.2025.00130 · Cited by 12
“To reduce latent bugs, various techniques have been used to automate the verification of compilers, such as partial model checking [2], fuzzing [3–5], and differential testing [6, 7].”
Machine Translation Testing via Syntactic Tree Pruning
Zhang, Q., Zhai, J., Fang, C., Liu, J., Sun, W., Hu, H., & Wang, Q. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3640329 · Cited by 11
Application of metamorphic testing monitored by test adequacy in a Monte Carlo simulation program
Ding, J., & Hu, X. (2016) · Software Quality Journal · doi:10.1007/s11219-016-9337-3 · Cited by 9
“Monte Carlo methods, due to their nature of balancing between algorithm accuracy and computing complexity, have been widely used to simulate light transportation in either homogeneous or heterogeneous turbid media (Kanewala et al. 2015; Le et al. 2014; Pezzè et al. 2007; Shan and Zhu 2009).”
BackgroundMethodInfluentialA template-based approach to describing metamorphic relations
Segura, S., Durán, A., Troya, J., & Ruiz–Cortés, A. (2017) · doi:10.5555/3103620.3103626 · Cited by 8
Agentic Code Optimization via Compiler-LLM CooperationPreprint
Mikek, B., Vashchilenko, D., Lu, B., & Xu, P. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2604.04238 · Cited by 9
“Decades of research on verification [26, 29] and testing [25] have made modern compilers robust and driven down rates of miscompilation to negligible levels for most applications.”
Characterizing and Detecting Program Representation Faults of Static Analysis Frameworks
Zhang, H., Pei, Y., Liang, S., Xing, Z., & Tan, S. H. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3680398 · Cited by 13
Toward Understanding FPGA Synthesis Tool Bugs
Zhang, Y., Jiang, H., Guo, S., Li, X., Liu, H., & Shi, C. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3718737 · Cited by 7
“Leveraging oracle-free techniques for testing functionalities: Certain oracle-free testing techniques, like differential testing [28, 36, 50], Equivalence Modulo Inputs [25, 32] and metamorphic testing [20], could potentially serve as solutions to the test oracle challenge.”
A survey of coverage-guided greybox fuzzing with deep neural models
Qiu, J., Jiang, Y., Miao, Y., Luo, W., Pan, L., & Zheng, X. (2025) · Information and Software Technology · doi:10.1016/j.infsof.2025.107797 · Cited by 8
Validating JIT Compilers via Compilation Space Exploration
Li, C., Jiang, Y., Xu, C., & Su, Z. (2025) · ACM Transactions on Computer Systems · doi:10.1145/3715102 · Cited by 7
“Another popular technique is EMI (Equivalence Modulo Input), a practical, effective idea that validates compilers by a seed program and its EMI variants and has found thousands of bugs in GCC and LLVM [27].”
Self-citationProperty-based Test for Part-of-Speech Tagging Tool
Jin, S., Chen, S., & Xie, X. (2021) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase51524.2021.9678807 · Cited by 8
“Le et al. [15] proposed the equivalence modulo input (EMI) technique with MT to effectively reveal the compiler defects.”
BackgroundMethodIntramorphic Testing: A New Approach to the Test Oracle Problem
Rigger, M., & Su, Z. (2022) · ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward!) · doi:10.1145/3563835.3567662 · Cited by 12
“Metamorphic testing is a high-level concept and finding effective MRs is often challenging; MRs for testing various systems such as compilers [15], database engines [22, 23], SMT solvers [30], Android apps [27], as well as object detection systems [28] have been proposed in the literature.”
BackgroundSelf-citationFaster bug detection for software product lines with incomplete feature models
Souto, S., Gopinath, D., d’Amorim, M., Marinov, D., Sarfraz Khurshid, D., & Batory, D. S. (2015) · International Software Product Line Conference (SPLC) · doi:10.1145/2791060.2791093 · Cited by 7
“These bad cases ranked lower, at positions 23 and 38 respectively.”
BackgroundTowards effective metamorphic testing by algorithm stability for linear classification programs
Yang, Y., Li, Z., Wang, H., Xu, C., & Ma, X. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.111012 · Cited by 7
Debugging Debug Information With Neural Networks
Artuso, F., Luna, G. A. D., & Querzoni, L. (2022) · IEEE Access · doi:10.1109/access.2022.3176617 · Cited by 8
“Compiler testing techniques [16] are mainly based on fuzzing: compilers are fed with random programs either generated from scratch [17], [18] or obtained by mutating existing ones [19], [20].”
BackgroundAutomated engineering of domain-specific metamorphic testing environments
Gómez‐Abajo, P., Cañizares, P. C., Núñez, A., Guerra, E., & de Lara, J. (2023) · Information and Software Technology · doi:10.1016/j.infsof.2023.107164 · Cited by 7
Looking for an MR? try METWiki today
Xie, X., Li, J., Wang, C., & Chen, T. Y. (2016) · IEEE/ACM International Workshop on Metamorphic Testing (MET) · doi:10.1145/2896971.2896976 · Cited by 7
“In the past decades, MT has been widely adopted in diverse domains, such as machine learning platform [15, 16], bioinformatics applications [3,9,10], compilers [8,13], SAT solvers [11], task schedulers [17], lexical analyzers [17] and etc.”
BackgroundBoosting Compiler Testing via Eliminating Test Programs with Long-Execution-Time
Wu, J., Yang, Y., & Zhou, Y. (2023) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner56733.2023.00061 · Cited by 6
“In addition to those, Equivalence Modulo Inputs (EMI) [10] generates a set of equivalent test programs to address the test oracle problem in compiler testing.”
MethodResultRandomised Testing of the Compiler for a Verification-Aware Programming Language
Donaldson, A. F., Sheth, D., Tristan, J.-B., & Usher, A. (2024) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst60714.2024.00044 · Cited by 6
“…creating equivalent versions of existing programs by applying mutations that do not affect the expected output of a program for a given input [21], [42]; and this idea has been extended to the more general notion of applying semantics-preserving transformations to an existing program to…”
BackgroundCF-GKAT: Efficient Validation of Control-Flow Transformations
Zhang, C., Kappé, T., Narváez, D. E., & Naus, N. (2025) · Proceedings of the ACM on Programming Languages · doi:10.1145/3704857 · Cited by 6
Testing file system implementations on layered models
Chen, D., Jiang, Y., Xu, C., Ma, X., & Lü, J. (2020) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3377811.3380350 · Cited by 6
A Practical, Principled Measure of Fuzzer Appeal: A Preliminary Study
Gavrilov, M., Dewey, K. T., Groce, A., Zamanzadeh, D. J., & Hardekopf, B. (2020) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs51102.2020.00071 · Cited by 9
“Yang et al. [2], Le et al. [35], and Dewey et al. [24] use bug count.”
BackgroundMethodInfluentialRemgen: Remanufacturing a Random Program Generator for Compiler Testing
Tu, H., Jiang, H., Li, X., Ren, Z., Zhou, Z., & Jiang, L. (2022) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre55969.2022.00057 · Cited by 6
“Only a few constructed test programs can trigger bugs [2], [6], [15], [17].”
BackgroundMethodInfluentialHigh-Throughput, Formal-Methods-Assisted Fuzzing for LLVM
Fan, Y., & Regehr, J. D. (2024) · Proceedings of the CGO/Proceedings of the ... CGO · doi:10.1109/cgo57630.2024.10444854 · Cited by 6
“Unlike a metamorphic testing technique such as EMI [7], which is required to preserve some or all of the original code’s semantics, alive-mutate does not need to be semantics-preserving.”
MethodSIRO: Empowering Version Compatibility in Intermediate Representations via Program Synthesis
Zhang, B., Chen, W., Yao, P., Wang, C., Tang, W., & Zhang, C. (2024) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3620666.3651366 · Cited by 9
Identifying the Failure-Revealing Test Cases in Metamorphic Testing: A Statistical Approach
Zheng, Z., Ren, D., Liu, H., Chen, T. Y., & Li, T. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3695990 · Cited by 8
SMT2Test: From SMT Formulas to Effective Test Cases
Zhang, C., & Su, Z. (2024) · Proceedings of the ACM on Programming Languages · doi:10.1145/3689719 · Cited by 7
Self-citationNOTICE: A Framework for Non-Functional Testing of Compilers
Boussaa, M., Barais, O., Baudry, B., & Sunyé, G. (2016) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs.2016.45 · Cited by 6
“For functional testing of compilers, software testers generally use to run a set of test suites on different optimized software versions and compare the functional outcome that can be either pass (correct behavior) or fail (incorrect behavior, crashes, or bugs) [1]–[3].”
MethodVerification of Microservices Using Metamorphic Testing
Luo, G., Zheng, X., Liu, H., Xu, R., Nagumothu, D., Janapareddi, R., Er, Z., & Liu, X. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-38991-8_10 · Cited by 6
“Metamorphic testing has been successfully applied to detect various faults in a variety of application domains, including bioinformatics [9], compilers [25] and web services [38,39].”
BackgroundType-Centric Kotlin Compiler Fuzzing: Preserving Test Program Correctness by Preserving Types
Stepanov, D., Akhin, M., & Беляев, М. А. (2021) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst49551.2021.00044 · Cited by 6
“A large number of mutation-based compiler fuzzers are based on the idea of equivalence modulo inputs (EMI) [26], a variant of metamorphic testing, which checks that behaviourpreserving program mutations are respected by the compiler, i.”
BackgroundInfluentialTesting Your (Static Analysis) Truths
Casso, I., Morales, J. F., López-García, P., & Hermenegildo, M. V. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-68446-4_14 · Cited by 8
“Testing efforts for program analyzers include e.g., static analyzers [13,28,49,52], symbolic execution engines [27], refactoring engines [14], compilers [29,30,32,43,47,50], SMT solvers [3], among others.”
MethodConfiguring test generators using bug reports: a case study of GCC compiler and Csmith
Rabin, M. R. I., & Alipour, M. A. (2021) · ACM Symposium on Applied Computing · doi:10.1145/3412841.3442047 · Cited by 6
“Several approaches for testing compilers have been proposed; for example, code mutation [15], random test generation [7], metamorphic testing [8, 17, 18, 26], learning-based testing [9], and swarm testing [14], to name few.”
BackgroundUnderstanding and improving cyber-physical system models and development tools
Chowdhury, S. A. (2018) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3183440.3183455 · Cited by 6
“rich model generation to effective bug discovery [4, 6].”
BackgroundMethodGenerating Random Well-Typed Featherweight Java Programs Using QuickCheck
Feitosa, S. D. S., Ribeiro, R. G., & Bois, A. R. D. (2019) · Electronic Notes in Theoretical Computer Science · doi:10.1016/j.entcs.2019.04.002 · Cited by 6
“[16] developed a methodology that uses differential testing for C compilers.”
MethodLanguage-Agnostic Generation of Compilable Test Programs
Kreutzer, P., Kraus, S., & Philippsen, M. (2020) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst46399.2020.00015 · Cited by 10
“Equivalence Modulo Inputs ( EMI ) [3] takes a test program and an input I .”
MethodAlive-Infer: data-driven precondition inference for peephole optimizations in LLVM
Menendez, D., & Nagarakatte, S. (2017) · ACM SIGPLAN Notices · doi:10.1145/3140587.3062372 · Cited by 6
AsFuzzer: Differential Testing of Assemblers with Error-Driven Grammar Inference
Kim, H., Kim, S., Lee, J., & Kil, S. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3680345 · Cited by 6
“Compiler testing has been an active research area for decades [11– 13, 37, 38, 41–43, 49, 52, 55, 56, 59, 60].”
MethodEffFix: Efficient and Effective Repair of Pointer Manipulating Programs
Zhang, Y., Costea, A., Shariffdeen, R., McCall, D., & Roychoudhury, A. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3705310 · Cited by 7
Finding Logic Bugs in Graph-processing Systems via Graph-cutting
Mang, Q., Ba, J., He, P., & Rigger, M. (2025) · Proceedings of the ACM on Management of Data · doi:10.1145/3725300 · Cited by 8
Translation Validation for LLVM’s AArch64 Backend
Berger, R., Briles, M., Boushehrinejadmoradi, N., Coughlin, N., Lam, K., Lopes, N. P., Mada, S., Tirpankar, T., & Regehr, J. D. (2025) · Proceedings of the ACM on Programming Languages · doi:10.1145/3763147 · Cited by 5
“In contrast, most prior compiler bug-finding work uses differential testing—executing two compilers’ outputs, and comparing their effects—as an oracle [6, 12, 26].”
Ratte: Fuzzing for Miscompilations in Multi-Level Compilers Using Composable Semantics
Yu, P., Wu, N., & Donaldson, A. F. (2025) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3676641.3716270 · Cited by 7
Compiler Optimization Testing Based on Optimization-Guided Equivalence Transformations
Wu, J., Zheng, J., Yang, Z., & Yu, Z. (2025) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3696630.3728528 · Cited by 8
“In the literature, testing [7, 8, 12, 15, 16, 27, 33, 35, 37], translation validation [20–22, 25, 26, 31], and formal verification [6, 13, 14, 39] are the three main categories of methods to improve the accuracy of the compiler.”
High‐coverage metamorphic testing of concurrency support in C compilers
Windsor, M., Donaldson, A. F., & Wickerson, J. (2022) · Software Testing Verification and Reliability · doi:10.1002/stvr.1812 · Cited by 6
“In the spirit of EMI testing [21], we design these mutations so as not to introduce new states over the variables in the original test case, and so the postcondition generated by step ➋ remains valid.”
MethodTowards Understanding Tool-chain Bugs in the LLVM Compiler Infrastructure
Xie, X., Yang, H., He, Q., & Chen, L. (2021) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner50967.2021.00010 · Cited by 5
“They first derived equivalent modulo inputs (EMI) concept and implemented a series of tools to realize EMI for GCC and LLVM, including: Orion that reported 147 bugs [15], Athena that found 72 bugs [16], and Hermes that reported 168 bugs [17].”
MethodAutomatically finding bugs in commercial cyber-physical system development tool chains
Chowdhury, S. A. (2018) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3183440.3190330 · Cited by 5
“We also discuss the first equivalent modulo input (EMI) -testing for CPS tool chain which has been proven recently as an effective compiler testing scheme [14].”
MethodLearning a Static Analyzer from DataPreprint
Bielik, P., Raychev, V., & Vechev, M. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1611.01752 · Cited by 5
“We address this challenge by prioritizing the search to first check certain programs based on ideas inspired by state-of-the-art testing techniques [11,21].”
BackgroundMethodRetromorphic Testing: A New Approach to the Test Oracle ProblemPreprint
Yu, B., Mang, Q., Guo, Q., & He, P. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2310.06433 · Cited by 5
“Metamorphic testing is also used for testing various systems such as compilers [14, 15], database engines [13, 19, 20], SMT solvers [34], Android apps [28, 29], quantum computing platforms [1, 17], and AI systems [30, 32, 33, 36, 37].”
MethodCapture the Flags: Family-Based Evaluation of Agentic LLMs via Semantics-Preserving TransformationsPreprint
Honarvar, S., Gorzynski, A., Lee-Jones, J., Coppock, H., Rei, M., Ryan, J., & Donaldson, A. F. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2602.05523 · Cited by 6
“The transformations probe LLM robustness across a spectrum, fromcoarseobfuscationtomoresophisticatedsemantics-preserving rewritesinspiredbycompiler-testingtechniques[11,23].”
Distinguishability-Guided Test Program Generation for WebAssembly Runtime Performance Testing
Jiang, S., Zeng, R., Zhou, Y., & Lyu, M. R.-T. (2025) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner64311.2025.00078 · Cited by 4
“Typical mutation-based approaches include equivalence modulo inputs (EMI) [64], Athena [65], and Hermes [66], which produce program variants by mutating code snippets in existing programs.”
Practical formal techniques and tools for developing LLVM’s peephole optimizations
Menendez, D. (2018) · doi:10.7282/t3ff3wk4 · Cited by 4
Metadata
- Authors
- Le, V., Afshari, M., & Su, Z.
- Affiliations
- University of California, Davis (US)
- ORCID
- Venue
- Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation
- Publisher
- ACM
- Published
- 2014-06-09
- Pages
- 216-226
- ISSN
- 1531-7102 (ISSN-L)
- OpenAlex
- W2170737051
- Cited by
- 388
- References
- 28
- Citations by year
- 2026: 25 · 2025: 28 · 2024: 39 · 2023: 33 · 2022: 25 · 2021: 38 · 2020: 46 · 2019: 31 · 2018: 33 · 2017: 25 · 2016: 38 · 2015: 25 · 2014: 2
- FWCI
- 19.85
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) (publishedVersion)
- Funders
- National Science Foundation (0917392, 1117603, 1319187, 1349528)
- Topics
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Software › Logic, programming, and type systems
- Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
- Keywords
- compiler validation, differential testing, optimizing compilers, test data generation, program variants, compiler correctness
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.