Microsoft C++ ABI
The binary rules MSVC follows for class layout, symbol names, virtual calls and exceptions — the one major C++ ABI not derived from the Itanium spec.
Names are decorated with a leading question mark, so void foo(int) becomes ?foo@@YAXH@Z. On 32-bit x86, this is passed in ecx under thiscall; member pointers range from 4 to 16 bytes depending on how the class inherits; and exceptions are built on Windows structured exception handling rather than Itanium-style tables. The format was never formally documented. It had to be reconstructed.
Until Visual Studio 2015, Microsoft broke the ABI with every major release, so libraries shipped one build per compiler. Since then 2015, 2017, 2019 and 2022 have been binary compatible. Clang implemented the ABI by studying what MSVC actually emitted, and clang-cl let Chromium switch compilers on Windows in 2018 without losing compatibility with the system libraries.