spq-dis

Crates.iospq-dis
lib.rsspq-dis
version0.1.4
sourcesrc
created_at2024-03-23 04:48:21.561016
updated_at2024-03-23 04:48:21.561016
descriptionSPIR-V disassembler
homepagehttps://github.com/PENGUINLIONG/spq-rs
repositoryhttps://github.com/PENGUINLIONG/spq-rs
max_upload_size
id1183269
size15,110
PENGUINLIONG (PENGUINLIONG)

documentation

https://docs.rs/spq-dis

README

spq Disassembler

Crate

spq Disassembler (spq-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.

Install

You can install spq-dis from cargo with:

cargo install spq-dis

Usage

To disassemble SPIR-V binary, you can either pass the SPIR-V file path by argument or pipe the content in.

spq-dis [INPUT].spv -o [OUTPUT].spvasm
# - or -
cat [INPUT].spv | spq-dis -o [OUTPUT].spvasm

spq-dis is a CLI tool for end users. You can also integrate the disassembler to your application from the library crate spq-spvasm.

License

This project is licensed under either of

at your option.

Commit count: 256

cargo fmt