Favicon of blink

blink

Command-line debugger that emulates x86/x86_64 programs and visualizes memory changes with an intuitive terminal interface showing CPU state, registers, and execution flow.

Blinkenlights is a command-line debugger that brings back the clarity of vintage operator panels by visualizing how software manipulates memory in real-time. It emulates statically linked i8086 and x86_64-pc-linux-gnu programs across Linux, Mac, Windows, FreeBSD, NetBSD, and OpenBSD platforms.

Unlike traditional debuggers constrained by 80-column terminals, Blinkenlights leverages modern displays to show multiple information panels simultaneously, including detailed memory hexdumps and automatically inferred SSE register type signatures. This expanded view makes it dramatically easier to spot performance bottlenecks, register spillage, and algorithmic inefficiencies that would otherwise remain hidden.

The tool excels at revealing micro-optimization issues by emulating conventional CPU behavior rather than relying on speculative execution features. This means you see the true performance impact of your code before deploying it to production. Watch data pipelines unfold visually—from IDCT transformations through RGB conversions to final rendering—and immediately identify where vectorization opportunities are being missed.

Key capabilities include:

  • x86_64, i8086, x87, SSE, SSE3, SSSE3, ADX, BMI2, POPCNT, RDRAND, RDSEED, RDTSCP instruction support
  • 150+ Linux SYSCALL ABIs
  • JIT compilation on ARM64 and AMD64
  • Reverse debugging and function profiling
  • Multithreading support with signal handlers
  • Memory zooming and fast RWX memory
  • VT100/Xterm mouse mode with TTY/MDA/CGA graphics
  • Self-hosting capability—Blinkenlights can emulate itself

Adjust execution speed with keyboard controls and watch patterns emerge that reveal your program's true behavior.

Features

JSON outputScriptable

Media

Pros

4
  • Visualizes x86 program execution and memory changes.
  • Supports a wide range of x86 instruction sets and features.
  • Offers reverse debugging and function profiling capabilities.
  • Emulates various executable formats and graphics modes.

Cons

1
  • Interface designed for wide terminals, may not fit all setups.

Related tools

Share:

Quiet lately: No commits in 7 months — this project might not be actively maintained.

Auto-fetched .

Recent releases

Similar to blink

Favicon

 

  
 
Favicon

 

  
 
Favicon