Product Design, Manufacturing & Innovation Resources
Home » Online Tools » Compiler Explorer Assembly Viewer & Editor

Compiler Explorer Assembly Viewer & Editor

Compiler Explorer compiles source code in many languages, including C, C++, Rust and Go, and shows the generated assembly next to the source with color linked lines. You choose the compiler, its version and the flags, and the output updates as you type.

Beyond assembly it can display LLVM IR, optimization remarks, control flow graphs and preprocessor output, execute the program, and compare two compilers in a diff view. Libraries can be added, and a short link shares the complete session. The unique point is access to a very large set of compiler versions side by side, which nobody installs locally.

Embedded and performance engineers check what a compiler does with a loop, an inlined function or an optimization flag before committing to a design. Scientific programmers compare how different compilers treat a numerical kernel. Product developers use shared links to document a compiler bug or a behavior difference.

Disciplines: Software engineering, Embedded systems, Compiler design, Performance engineering, Computer science.
Free alternative to Visual Studio Disassembly, Binary Ninja.
Compiler Explorer Assembly Viewer compared with Visual Studio Disassembly and Binary Ninja
Compiler ExplorerVisual Studio DisassemblyBinary Ninja
Purpose and workflow: Compiles source code live with a chosen compiler, version and flags, and shows the generated assembly next to the source. Output updates as you type, and two compilers can be compared in a diff view.Purpose and workflow: Shows the assembly instructions the compiler generated for the program being debugged. For managed code (C# and Visual Basic) these are the native instructions produced by the JIT compiler, not the MSIL.Purpose and workflow: Analyses existing binaries with a disassembler, decompiler and debugger. The work starts from a compiled file, not from source code.
Input: Source code in many languages. The public instance supports over 70 languages, according to NVIDIA.Input: The project being debugged. The window is only available when address-level debugging is enabled, and not for script or SQL debugging.Input: Binary files in PE, Mach-O and ELF formats and some minor formats, as well as arbitrary file formats.
Output and analysis: Assembly, LLVM IR, optimization remarks, control flow graphs and preprocessor output. For CUDA it also shows PTX and can run code on NVIDIA GPUs.Output and analysis: Optional display of instruction addresses, source lines, code bytes and symbol names, used alongside the Registers window. Basic knowledge of assembly is needed.Output and analysis: Decompilation to C or to the BNIL intermediate languages, a triage view with an entropy graph, and patching tools. Disassembly covers x86, x86_64, ARMv7, ARMv8, PowerPC, MIPS, RISC-V, MSP430 and TriCore, among others.
Openness and integration: Open source on GitHub, and anyone can run a local instance or host their own. Short links share the code, compiler settings and output.Openness and integration: Part of the Visual Studio debugger.Openness and integration: Scripting API with bindings for C++, Python and Rust. The free edition has no API or plugin access, and headless use needs Commercial or Ultimate licences.
Licence and platform: Web-based, with a public instance at godbolt.org.Licence and platform: Runs on Windows, macOS and Linux. The free edition is for non-commercial use or evaluation and decompiles only x86, x86_64, ARMv7 and ARMv8. A free browser version exists but requires uploading binaries to Vector 35.

Privacy: we have no feedback of potential problem with this tool and author. But like many online services, you are here providing them with your own data. Depending of the criticity of your data, this is your responsibility to assess author's reputation and potential misusage, and to check and accept their terms and conditions, or not.

More Coding tools

Suggest your best online tool:

Do you know a better, a complementary or a replacement website to the one listed above ?

> Suggest it here <

10th year anniversary

Full size images and downloads are only available, 100% free, for registered members.

> Login <