
bddisasm
bddisasm is a fast, lightweight, x86/x64 instruction decoder. The project also features a fast, basic, x86/x64 instruction emulator, designed specifically to detect shellcode-like behavior.
The Lens
By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.
Updated Nov 2026
bddisasm is Bitdefender's x86/x64 instruction decoder, the part of a security product that reads raw machine-code bytes and says what each instruction does. It's a dependency-free C library that allocates no memory, and Bitdefender runs it in user, kernel and hypervisor code on Windows and Linux. It also ships bdshemu, an emulator built to spot shellcode-like behavior. Apache 2.0, free.
Building it is a normal CMake job, or one vcpkg command. This is plumbing for people writing antivirus engines, sandboxes or binary instrumentation, not a disassembler you point at a file. The bundled disasmtool CLI is a demo the README says to keep out of production, and the emulator doesn't emulate API calls.
A serious decoder, maintained by a vendor that ships it. Solo: free, good for C research tooling. Small teams: free. Larger teams: free, and the Apache patent grant matters at that size. Compare it with Capstone (many architectures) and Zydis (x86 only, like this).
The catch: Python and Rust users are on their own. Bitdefender stopped maintaining the bindings in v3.1.0 and says issues in them won't be addressed, which includes two memory-disclosure CVEs published November 3 against pybddisasm 0.3.0 and earlier. Use the C library directly.
Free vs Self-Hosted vs Paid
fully freeFree: The decoder (bddisasm), the shellcode emulator (bdshemu) and the ISA generator, all Apache 2.0.
Self-hosted: N/A. A static library you link into your own C/C++ code; nothing to deploy.
Paid: None. Bitdefender sells security products built on it, but the library itself has no paid tier or support offering.
Completely free. Budget engineering time for your own Python or Rust wrapper, since the official bindings are unmaintained.
What to do by team size
- Solo
- free
- Small team
- free
- Medium team
- free
- Large team
- free, link the C library directly; don't ship the unmaintained pybddisasm bindings
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores
Trust Signals
License: Apache License 2.0
Use freely, including commercially. Patent grant included.
Commercial use: ✓ Yes
About
- Owner
- Bitdefender (Organization)
- Stars
- 1,091
- Forks
- 123
Explore Further
More tools in the directory
sogen
🪅 Windows & Linux userspace emulator
3.9k ★renode
Renode - Antmicro's open source simulation and virtual development framework for complex embedded systems
3.2k ★reverify
Anti-hallucination for AI agents that read binaries. The model proposes, deterministic tools decide: every claim is VERIFIED or REFUTED against the real bytes, with evidence, and grounded facts survive context resets. MCP server + CLI.
1.3k ★