Files
unicorn/bindings/zig
2025-02-10 22:11:12 +08:00
..
2023-08-04 11:24:00 -03:00
2025-02-10 22:11:12 +08:00

Unicorn-engine-Zig

Zig bindings for the Unicorn emulator with utility functions.

Unicorn is a lightweight multi-platform, multi-architecture CPU emulator framework based on QEMU.

How to use

Using the Zig Build System, you can include the following into your local build.zig.zon

.{
    .dependencies = .{
        .unicorn = .{
            .url = "https://github.com/unicorn-engine/unicorn/archive/<ref SHA>.tar.gz",
            .hash = "<hash>",
        }
    },
}

Note that currently the only module exported publicly is unicorn-sys