# Zydis

> Lightweight C11 x86/x86-64 disassembler and code-generation library. Its decoder reports each instruction's operands, accessed CPU and FPU flags, ISA set and extension and branch type; the formatter prints Intel, MASM or AT&T syntax, and the encoder assembles instructions from encoder requests, which can also be derived from decoded instructions. ZydisDisasm and ZydisInfo command-line tools are included, and the official Rust and Python 3 bindings live in separate repositories.

- Type: Tool
- Targets: Binary
- Category: Binary analysis libraries
- Relationship: Foundation tool
- Sources reviewed: 2026-10-19
- Added to the catalog: 2026-10-19
- Original resource: <https://github.com/zyantific/zydis>
- Primary source: <https://github.com/zyantific/zydis/blob/a95bb71013436547f689fc0b380f48edf663066e/README.md>
- Catalog page: <https://awesomerea.org/resources/zydis/>
- Record JSON: <https://awesomerea.org/resources/zydis/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/zydis/index.md)

## Requirements & limits

- Latest release at review: v4.1.1, published 2025-02-16 with no attached files; v4.1.0 (2024-02-04) carries the zydis-amalgamated single-header and single-source archives the README describes. The README says master holds the next, unreleased version without API stability guarantees; the reviewed master commit (2026-07-27) declares 5.0.0 and is 121 commits ahead of and 59 behind the v4.1.1 tag.
- Build with CMake 3.10+ (the README lists Windows, macOS, Linux and the BSDs), the Meson 1.3+ build file, the maintained Visual Studio 2022 project, or the amalgamated files with any C11 compiler. A recursive clone fetches the Zycore support library from its zycore-c submodule unless a system copy is forced. The README lists Arch, Debian, Ubuntu, Homebrew, NixOS and vcpkg packages, and CMake options can disable the decoder, encoder, formatter, AVX-512 or KNC support or force minimal decoding mode.
- The caller supplies code bytes and selects a 16-, 32- or 64-bit machine mode; ZydisDisasm reads a raw byte file. No executable-format loader is documented, so locating code in PE, ELF or firmware images needs another tool.
- MIT license; Zycore is a separate MIT-licensed zyantific repository. The README's statements about performance, dependency-free and allocation-free operation, thread safety, testing on Windows, macOS, FreeBSD, Linux and UEFI, and use in x64dbg, Firefox and WebKit.

## Primary sources

1. <https://github.com/zyantific/zydis/blob/a95bb71013436547f689fc0b380f48edf663066e/README.md>
2. <https://github.com/zyantific/zydis/blob/a95bb71013436547f689fc0b380f48edf663066e/README.md#L73-L135>
3. <https://github.com/zyantific/zydis/blob/a95bb71013436547f689fc0b380f48edf663066e/README.md#L159-L175>
4. <https://github.com/zyantific/zydis/blob/a95bb71013436547f689fc0b380f48edf663066e/CMakeLists.txt#L1-L80>
5. <https://github.com/zyantific/zydis/blob/a95bb71013436547f689fc0b380f48edf663066e/meson.build>
6. <https://github.com/zyantific/zydis/blob/a95bb71013436547f689fc0b380f48edf663066e/include/Zydis/DecoderTypes.h>
7. <https://github.com/zyantific/zydis/blob/a95bb71013436547f689fc0b380f48edf663066e/include/Zydis/Encoder.h>
8. <https://github.com/zyantific/zydis/blob/a95bb71013436547f689fc0b380f48edf663066e/include/Zydis/Formatter.h>
9. <https://github.com/zyantific/zydis/blob/a95bb71013436547f689fc0b380f48edf663066e/tools/ZydisDisasm.c>
10. <https://github.com/zyantific/zydis/blob/a95bb71013436547f689fc0b380f48edf663066e/.gitmodules>
11. <https://github.com/zyantific/zydis/blob/a95bb71013436547f689fc0b380f48edf663066e/LICENSE>
12. <https://github.com/zyantific/zydis/releases/tag/v4.1.1>
13. <https://github.com/zyantific/zydis/releases/tag/v4.1.0>
14. <https://github.com/zyantific/zydis/compare/v4.1.1...a95bb71013436547f689fc0b380f48edf663066e>

## More in Native binaries

- [QBDI](https://awesomerea.org/resources/qbdi/index.md) · Tool
- [binsider](https://awesomerea.org/resources/binsider/index.md) · Tool
- [iced](https://awesomerea.org/resources/iced/index.md) · Tool
- [hrtng](https://awesomerea.org/resources/hrtng/index.md) · Tool
- [BinCAT](https://awesomerea.org/resources/bincat/index.md) · Tool
- [GEF (GDB Enhanced Features)](https://awesomerea.org/resources/gef/index.md) · Tool

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
