| Crates.io | rabbitizer |
| lib.rs | rabbitizer |
| version | 1.14.3 |
| created_at | 2022-12-18 20:16:32.904156+00 |
| updated_at | 2025-10-13 00:06:34.828641+00 |
| description | MIPS instruction decoder |
| homepage | |
| repository | https://github.com/Decompollaborate/rabbitizer |
| max_upload_size | |
| id | 740585 |
| size | 1,647,819 |
MIPS instruction decoder API.
rabbitizer
doesn't allocate in anything in the heap by itself.jalr instruction, allowing to disassemble
that instruction using an implicit or explicit rd register depending if
that register is $ra or not.SN64:
div/divu fix: tweaks a bit the produced div, divu and break instructions.In order to keep it simple and fast the following features will not be added:
The recommended way to install is using from the PyPi release, via pip:
python3 -m pip install -U rabbitizer
If you use a requirements.txt file in your repository, then you can add this
library with the following line:
rabbitizer>=1.14.3,<2.0.0
The development version is located at the 1.x branch.
Note that building the Python bindings from source require the Python development package. Under Ubuntu/Debian based distros it can be installed with:
apt install python3-dev
In case you want to mess with the latest development version without wanting to clone the repository, you could use the following command:
python3 -m pip uninstall rabbitizer
python3 -m pip install git+https://github.com/Decompollaborate/rabbitizer.git@1.x
NOTE: Installing the development version is not recommended. Proceed at your own risk.
See this package at https://pypi.org/project/rabbitizer/.
Add this crate to your project with Cargo:
cargo add rabbitizer
Or you can add it manually to your Cargo.toml:
rabbitizer = "1.14.3"
See this crate at https://crates.io/crates/rabbitizer.
MIPS CPU:
rfe): https://psx.arthus.net/docs/R3000.pdfN64's RSP (Reality Signal Processor):
R3000 GTE:
R4000 ALLEGREX:
R5900: