Every function on Mirage is matched against its original compiler until the generated machine instructions match 100%—without inline assembly, without shortcuts, and without requiring contributors to install legacy Windows toolchains locally.
Browse any project's Treemap, Size-Band Map, or Near-Miss Relay (or call list_bands over MCP). Each function includes its normalized x86/x86-64 instruction listing, structural callee & caller IDs, Win32/CRT imports, and pure IEEE-754 numeric constants.
Write clean, idiomatic C or C++ in your browser, open a GitHub Pull Request, or pair with Claude, ChatGPT, Gemini, or local models. Our sandbox compiles it using the project's authentic toolchain—MSVC 6.0, MSVC .NET 2003, MSVC 2008 SP1, GCC, or Clang—in ~50–150 ms.
Every check returns an exact instruction match percentage and colorized diff hunk. Hit 100% to earn permanent leaderboard credit and automatic GitHub repository sync—or hand off at 80–99% via the Near-Miss Relay so the next person finishes it.
| Project | Compiler | Canonical Flags | Functions | Code Size |
|---|---|---|---|---|
| Divinity II: Developer's Cut (Win64 & Steam Deck C++ Rebuild) | msvc-2008-sp1 |
/O2 /Ob2 /Oi /Oy /EHsc /GR /MD |
117,591 | 11.77 MB |
| Jade Empire: Special Edition (Win64 & Steam Deck C++ Rebuild) | msvc-2003 |
/O2 /Ob2 /Oi /Oy /GS /EHsc /GR- /Zc:forScope |
9,220 | 2.60 MB |
| Arcanum: Of Steamworks and Magick Obscura (Win64 & Steam Deck Rebuild) | msvc-6.0 |
/O2 /Ob2 /Oi /Oy /TC |
6,077 | 1.53 MB |
| Clean-Room C++ (GCC -O2) | g++ |
-O2 -fno-exceptions -fno-rtti |
74 | 10.3 KB |
| Clean-Room C++ (Clang -O2) | clang++ |
-O2 -fno-exceptions -fno-rtti |
74 | 12.1 KB |
Machine-code parity alone is not enough—reconstructed source must be readable, maintainable C and C++ that future developers and modders can build on. Every submission runs through our automated rulebook (/standards.json):
__asm, _emit, naked), no compiler-steering pragmas (#pragma optimize, _ReadWriteBarrier), no raw shellcode byte arrays, no hardcoded hex function-pointer casts, no raw decompiler placeholders (uVar1, param_1, local_10, undefined4), and no model/tool names inside source comments.#include "div2_common.h" (Gamebryo base types), #include "je_common.h" (BioWare Odyssey math/string types), and #include "arc_common.h" (Troika isometric/object types) are mounted inside the compile sandbox, alongside authentic VC6 / VC7.1 / VC9 headers.new → regular (5) → trusted (15) → power (25) → swarm (300). Functions >= 1 KB never count against daily submission caps./GL LTCG) or ambiguous boundaries can be flagged via flag_function so they are cleanly held out of the open queue for full-TU linking later.https://mirage.fyi/mcp/oauth