Crates.io | spirq-dis |
lib.rs | spirq-dis |
version | 0.1.4 |
source | src |
created_at | 2023-12-25 15:06:09.174058 |
updated_at | 2024-03-14 01:27:17.45451 |
description | SPIR-V disassembler |
homepage | https://github.com/PENGUINLIONG/spirq-rs |
repository | https://github.com/PENGUINLIONG/spirq-rs |
max_upload_size | |
id | 1080293 |
size | 15,183 |
SPIR-Q Disassembler (spirq-dis
) is a SPIR-V disassembler written in pure Rust. It is a drop-in replacement of the official disassembler spirv-dis
with the same commandline arguments.
You can install spirq-dis
from cargo with:
cargo install spirq-dis
To disassemble SPIR-V binary, you can either pass the SPIR-V file path by argument or pipe the content in.
spirq-dis [INPUT].spv -o [OUTPUT].spvasm
# - or -
cat [INPUT].spv | spirq-dis -o [OUTPUT].spvasm
spirq-dis
is a CLI tool for end users. You can also integrate the disassembler to your application from the library crate spirq-spvasm
.
This project is licensed under either of
at your option.