2023-09-22 18:01:26 +00:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
## [Unreleased]
|
|
|
|
|
2023-11-11 16:19:56 +00:00
|
|
|
### Added
|
|
|
|
|
2023-11-12 13:33:23 +00:00
|
|
|
- Add `flag_r5900DisasmAsData` member to the `Instruction` class.
|
|
|
|
- This flag allows to fine-tune R5900 instruction set that are affected by
|
|
|
|
the global `gnuMode` option.
|
|
|
|
- Currently these instructions are: `trunc.w.s`, `cvt.w.s`, `vclipw` and
|
|
|
|
`vsqrt`.
|
2023-11-11 16:19:56 +00:00
|
|
|
- `TrinaryValue.TRUE` forces the instruction to be disassembled as data.
|
2023-11-11 16:55:06 +00:00
|
|
|
- `TrinaryValue.FALSE` bypasses the global checks for disassembling a word
|
2023-11-11 16:19:56 +00:00
|
|
|
as data. A word will still be disassembled as data if it can't be decoded.
|
2023-11-11 16:55:06 +00:00
|
|
|
- `TrinaryValue.NONE` leaves this decision to the global settings.
|
|
|
|
- Add `flag_r5900UseDollar` member to the `Instruction` class.
|
|
|
|
- `TrinaryValue.TRUE` forces the use of dollar signs ($) on R5900's VU
|
|
|
|
instructions.
|
|
|
|
- `TrinaryValue.FALSE` forces disassembling to not use of dollar signs ($) on
|
|
|
|
R5900's VU instructions.
|
|
|
|
- `TrinaryValue.NONE` leaves this decision to the global settings.
|
2023-11-11 16:19:56 +00:00
|
|
|
|
2023-09-24 13:37:43 +00:00
|
|
|
## [1.7.10] - 2023-09-24
|
2023-09-24 13:35:58 +00:00
|
|
|
|
2023-09-22 18:54:19 +00:00
|
|
|
### Added
|
|
|
|
|
2023-09-22 22:23:34 +00:00
|
|
|
- Add Python binding for `rabbitizer.__version_info__`
|
|
|
|
- Add Python binding for `rabbitizer.__version__`
|
|
|
|
- Add Python binding for `rabbitizer.__author__`
|
2023-09-24 13:35:58 +00:00
|
|
|
- Add `CHANGELOG.md`
|
|
|
|
- Add markdown linter to CI
|
2023-09-22 18:49:43 +00:00
|
|
|
|
2023-09-22 20:01:14 +00:00
|
|
|
### Fixed
|
|
|
|
|
2023-09-22 21:03:27 +00:00
|
|
|
- Fix passing `None` to third argument of `RegistersTracker.processLui` on the
|
|
|
|
Python bindings
|
|
|
|
- Fix passing `None` to first argument of `RegistersTracker` on the Python bindings
|
2023-09-22 20:01:14 +00:00
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
## [1.7.9] - 2023-09-18
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Changed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Don't attempt disassembling R5900's `vclipw` / `vsqrt` in gnu mode (#44)
|
2023-09-22 18:01:26 +00:00
|
|
|
- Thanks @ethteck
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.7.8] - 2023-09-13
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Changed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- Consider `syscall` as an instruction that isn't emited by compilers
|
2023-09-22 17:34:38 +00:00
|
|
|
- Add `$` to special PS2 regs (#41)
|
2023-09-22 18:01:26 +00:00
|
|
|
- Thanks @ethteck
|
2023-09-22 17:34:38 +00:00
|
|
|
- The `treatJAsUnconditionalBranch` option is no longer deprecated
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fix size calculation required for the buffer of the disassembled instruction
|
|
|
|
for a few edge cases
|
|
|
|
- Properly implement r5900's `vcallms` operands
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
## [1.7.7] - 2023-08-27
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Changed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Reimplement hash function for Enum type.
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fix type hints for Enum type missing the hash function.
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
## [1.7.6] - 2023-08-22
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Fix syscall having two arguments instead of just one
|
|
|
|
|
|
|
|
## [1.7.5] - 2023-08-08
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Catch more errors and raise Python exceptions on them in the instruction
|
|
|
|
disassembly binding
|
|
|
|
|
|
|
|
### Fixed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:01:26 +00:00
|
|
|
- Fix bug where the buffer size for a decoded instruction would be computed
|
|
|
|
wrongly if the passed `extraLJust` parameter plus the global `opcodeLJust`
|
|
|
|
option resulted in a negative value.
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.7.4] - 2023-06-13
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- Provide macros to allow using gte instructions in both assembly and C. Those
|
|
|
|
are provided under the [`docs/r3000gte`](./docs/r3000gte/) folder of the repository
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
2023-09-22 18:01:26 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- Fix R5900 vf registers not using the `$vf` prefix in numeric register mode.
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.7.3] - 2023-06-10
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- Fix Rust release
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.7.2] - 2023-05-04
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Add `InstrIdType`
|
2023-09-22 18:49:43 +00:00
|
|
|
- Add `clippy` rust linter and fix the new warnings
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Move all the tables and templates into the `tables/` folder
|
|
|
|
- Format and cleanup rust code
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.7.1] - 2023-05-02
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Changed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- General cleanups in the codebase. Not actual features or fixes were made
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.7.0] - 2023-04-30
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Support for R3000 GTE instructions (a.k.a. the PS1 specific instructions)
|
2023-09-22 18:01:26 +00:00
|
|
|
- PR #31
|
2023-09-22 17:34:38 +00:00
|
|
|
- Add CI for checking the repo is always formatted
|
|
|
|
- Add CI for checking the tables have been regenerated
|
2023-09-22 18:49:43 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
- Only run the CI that builds the python bindings for every machine on new releases.
|
|
|
|
- This action was by far the slowest, so this should speed up PRs
|
2023-09-22 18:49:43 +00:00
|
|
|
- Other Github Actions cleanups
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.6.2] - 2023-04-27
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:01:26 +00:00
|
|
|
- Fix `getInstrIndexAsVram` taking the upper 8 bits instead of 4 bits for the
|
|
|
|
vram calculation
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.6.1] - 2023-04-18
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Expose `fs`, `ft` and `fd` registers to Python bindings.
|
2023-09-22 18:01:26 +00:00
|
|
|
- Add enums for `RegCop1O32`, `RegCop1N32` and `RegCop1N64` registers for
|
|
|
|
Python bindings
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fix `Instruction`'s `vram` parameter not initialized if it was not passed to
|
|
|
|
the constructor on the Python binding.
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
## [1.6.0] - 2023-04-17
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Adds `gnuMode` to the configuration.
|
2023-09-22 18:01:26 +00:00
|
|
|
- Toggles various tweaks to allow building and matching with GNU `as`, which
|
|
|
|
original compiler will not like.
|
2023-09-22 17:34:38 +00:00
|
|
|
- Enabled by default.
|
2023-09-22 18:01:26 +00:00
|
|
|
- Turning this mode off makes the `div $0,` pseudo instruction to not be used
|
2023-09-22 18:49:43 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2023-09-22 18:01:26 +00:00
|
|
|
- Removed special treatment for R5900's `trunc.w.s`.
|
2023-09-22 17:34:38 +00:00
|
|
|
- `cvt.w.s` and `trunc.w.s` will be decoded as-is when `gnuMode` is turned off.
|
2023-09-22 18:01:26 +00:00
|
|
|
- If `gnuMode` is turned on this instruction those two instructions are
|
|
|
|
decoded as `.word`s
|
|
|
|
- R5900's special operands `I`, `Q`, `R` and `ACC` will not longer be decoded
|
|
|
|
with a `$` prefix
|
2023-09-22 17:34:38 +00:00
|
|
|
- All autogenerated files are added the `linguist-generated` attribute.
|
|
|
|
|
|
|
|
## [1.5.11] - 2023-04-02
|
|
|
|
|
|
|
|
- Fake version bump to convince CI to build binaries for Python 3.11
|
|
|
|
- Updates some Github Actions to newer versions
|
|
|
|
|
|
|
|
## [1.5.10] - 2023-02-23
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Add a unit test to ensure every bindings use the same version number
|
2023-09-22 18:49:43 +00:00
|
|
|
- This is enforced in CI
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.5.9] - 2023-02-23
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Implement `mfc2`, `mtc2`, `cfc2` and `ctc2`
|
|
|
|
- Document C api usage
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Expand list of instructions not emitted by C compilers
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fix "emitted" typo
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
## [1.5.8] - 2022-12-20
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- New `modifiesF*` and `readsF*`properties in the InstructionDescriptor
|
2023-09-22 18:49:43 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
- Column limit for C files has been changed to 120
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fix source distribution of Python package
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
## [1.5.7] - 2022-12-20
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Fix a Rust binding not taking `&`
|
|
|
|
|
|
|
|
## [1.5.6] - 2022-12-19
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Introduce `RegisterDescriptor`
|
2023-09-22 18:49:43 +00:00
|
|
|
- `outputsToGprZero` method
|
|
|
|
|
|
|
|
### Removed
|
|
|
|
|
2023-09-22 18:01:26 +00:00
|
|
|
- `jalr_rd` has been removed. Its old conditional behavior is now handled with
|
|
|
|
the new `cpu_maybe_rd_rs` operand
|
2023-09-22 18:49:43 +00:00
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fix some typos in Rust bindings
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.5.5] - 2022-12-19
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Changed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- Change the global option `treatJAsUnconditionalBranch`'s default to `true`
|
2023-09-22 17:34:38 +00:00
|
|
|
- Cleanup Rust bindings to reduce useless indirections
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Actually package the C files in the Rust crate
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
## [1.5.4] - 2022-12-18
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- Why Are We Still Here? Just To Suffer[?](https://knowyourmeme.com/memes/why-are-we-still-here-just-to-suffer)
|
|
|
|
- Try to fix Rust bindings packaging
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.5.3] - 2022-12-18
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- Trying to fix crate publishing, again again
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.5.2] - 2022-12-18
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- Try to fix automatic Rust crate publishing again
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.5.1] - 2022-12-18
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- Attempt to fix Rust crate publishing
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.5.0] - 2022-12-18
|
|
|
|
|
|
|
|
1.5.0: Rust bindings
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Adds Rust bindings
|
2023-09-22 18:01:26 +00:00
|
|
|
- The table-macro-hell has been changed a little to include pre-processed
|
|
|
|
versions of all the tables in the repository. This change should be more
|
|
|
|
friendly to IDEs
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.4.0] - 2022-12-16
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:01:26 +00:00
|
|
|
- New methods to know if an instruction reads the value of a GPR: `.readsRs`,
|
|
|
|
`.readsRd` and `.readsRt`
|
2023-09-22 18:49:43 +00:00
|
|
|
- Descriptor logic errors are now checked in CI
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- A lot of descriptor information where corrected
|
|
|
|
|
|
|
|
### Deprecated
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
- Deprecate `isJrRa()`, prefer new `isReturn()` method
|
|
|
|
- Deprecate `isJrNotRa()`, prefer new `isJumptableJump()` method
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Removed
|
2023-09-22 18:01:26 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- 3 non-existent RSP instructions where removed (`rsp_cache`, `rsp_lwc1` and
|
|
|
|
`rsp_swc1`)
|
2023-09-22 17:34:38 +00:00
|
|
|
- Remove `setup.cfg` and move all the info to `pyproject.toml`
|
|
|
|
|
|
|
|
## [1.3.3] - 2022-11-30
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Fix RSP's jalr being marked as invalid
|
|
|
|
- Thanks to @Mr-Wiseguy for noticing
|
|
|
|
|
|
|
|
## [1.3.2] - 2022-11-30
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Changed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Check for `_INVALID` unique ids in `isValid`
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fixed RSP using CPU cop0 .inc file instead of RSP cop0 and cop2 files (#13)
|
|
|
|
- Thanks to @Mr-Wiseguy
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
## [1.3.1] - 2022-10-16
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Changed
|
2023-09-22 17:34:38 +00:00
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- Removes signedness from `AccessType`
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
## [1.3.0] - 2022-10-15
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Adds C++ bindings
|
|
|
|
- New functions/methods:
|
2023-09-22 18:01:26 +00:00
|
|
|
- `Instruction#getBranchOffsetGeneric()`: Like
|
|
|
|
`Instruction#getGenericBranchOffset()`, but does not require the
|
|
|
|
`currentVram` parameter
|
2023-09-22 17:34:38 +00:00
|
|
|
- `Instruction#getBranchVramGeneric()`
|
|
|
|
- `Instruction#getDestinationGpr()`
|
|
|
|
- `Instruction#hasOperandAlias()`
|
|
|
|
- `Instruction#isJumpWithAddress()`
|
|
|
|
- `Instruction#readsHI()`
|
|
|
|
- `Instruction#readsLO()`
|
|
|
|
- `Instruction#modifiesHI()`
|
|
|
|
- `Instruction#modifiesLO()`
|
|
|
|
- `Instruction#getAccessType()`
|
|
|
|
- `InstrCategory#fromStr()`
|
|
|
|
- New enums:
|
2023-09-22 18:01:26 +00:00
|
|
|
- `OperandType`
|
2023-09-22 17:34:38 +00:00
|
|
|
- `AccessType`
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Deprecated
|
|
|
|
|
|
|
|
- Deprecated functions/methods:
|
|
|
|
- `Instruction#getImmediate()`: Use `Instruction#getProcessedImmediate()` instead
|
|
|
|
- `Instruction#getGenericBranchOffset()`: Use
|
|
|
|
`Instruction#getBranchOffsetGeneric()` instead
|
|
|
|
- `Instruction#mapInstrToType()`: Use `Instruction#getAccessType()` instead
|
|
|
|
- `Instruction#isUnknownType()`
|
|
|
|
- `Instruction#isJType()`: Use `Instruction#isJumpWithAddress()` instead
|
|
|
|
- `Instruction#isIType()`: Use
|
|
|
|
`Instruction#hasOperandAlias(OperandType.cpu_immediate)` instead
|
|
|
|
- `Instruction#isRType()`
|
|
|
|
- `Instruction#isRegimmType()`
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fix missing operands on some trap instructions
|
|
|
|
- Fix buffer size calculation for disassembly
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
## [1.2.2] - 2022-10-09
|
|
|
|
|
|
|
|
1.2.2: `bal` and proper `\\` escape
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Add `bal` support
|
2023-09-22 18:49:43 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2023-09-22 18:01:26 +00:00
|
|
|
- Use special notation for branches which should produce matching instructions
|
|
|
|
even when no `immOverride` was passed
|
2023-09-22 18:49:43 +00:00
|
|
|
- Escape `\` -> `\\` on `RabbitizerUtils_escapeString`
|
2023-09-22 17:34:38 +00:00
|
|
|
- Add `extern "C"` in every header
|
|
|
|
|
|
|
|
## [1.2.1] - 2022-09-26
|
|
|
|
|
|
|
|
1.2.1: Static library building in the Makefile
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Makefile now creates a `librabbitizer.a` file by default.
|
|
|
|
- Makefile can also build a `librabbitizer.so` with `make dynamic`
|
|
|
|
- New `include/rabbitizer.h` header which includes every other header
|
|
|
|
- Added a version header
|
|
|
|
|
|
|
|
## [1.2.0] - 2022-09-17
|
|
|
|
|
|
|
|
1.2.0: `%got` compatibility
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- New methods in `RegistersTracker` to support tracking `%got` accesses
|
2023-09-22 18:01:26 +00:00
|
|
|
- `processGpLoad`, which works similar to `processLui`
|
2023-09-22 17:34:38 +00:00
|
|
|
- `preprocessLoAndGetInfo`, which replaces the now deprecated `getLuiOffsetForLo`
|
2023-09-22 18:49:43 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2023-09-22 18:01:26 +00:00
|
|
|
- Move operand types to the table format. Operands were also renamed to a more
|
|
|
|
concise name.
|
2023-09-22 18:49:43 +00:00
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
- Fix the wrong returned value on `Utils.From2Complement` when `bits` equals 32.
|
|
|
|
|
|
|
|
## [1.1.0] - 2022-08-27
|
|
|
|
|
|
|
|
1.1.0: RSP and R5900 support
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- Add proper instruction decoding for N64's RSP
|
|
|
|
- Add support for decoding the R5900 processor (PS2's Emotion Engine processor)
|
2023-09-22 18:49:43 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
- Cleanup internal instruction tables format
|
|
|
|
|
|
|
|
## [1.0.1] - 2022-07-12
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
- New function `Utils.escapeString`: Escapes escape characters.
|
2023-09-22 18:49:43 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Allow taking `None` in `Abi.fromStr`: returns `o32` in that case.
|
2023-09-22 17:34:38 +00:00
|
|
|
- Many cleanups and formats
|
|
|
|
|
|
|
|
## [1.0.0] - 2022-07-07
|
|
|
|
|
|
|
|
### Uncategorized
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
### Added
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
- New classes:
|
2023-09-22 18:01:26 +00:00
|
|
|
- `RegistersTracker`: Intended to facilitate tracking the state of the general
|
|
|
|
purpose registers.
|
2023-09-22 17:34:38 +00:00
|
|
|
- New enums:
|
2023-09-22 18:01:26 +00:00
|
|
|
- `RegGprO32` and `RegGprN32`
|
2023-09-22 17:34:38 +00:00
|
|
|
- New configurations:
|
2023-09-22 18:01:26 +00:00
|
|
|
- `misc_omit0XOnSmallImm`: If `True` then the leading `0x` of immediates in
|
|
|
|
the [-9, 9] range is omitted. Defaults to `False`.
|
|
|
|
- `misc_upperCaseImm`: If `True` then immediates are outputted in uppercase.
|
|
|
|
Defaults to `True`.
|
2023-09-22 18:49:43 +00:00
|
|
|
- Many code cleanups
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2023-09-22 17:34:38 +00:00
|
|
|
- `Instruction` changes:
|
|
|
|
- Constructor can accept `vram` and `category` parameters.
|
|
|
|
- `isHiPair` renamed to `canBeHi`.
|
|
|
|
- `isLoPair` renamed to `canBeLo`.
|
2023-09-22 18:01:26 +00:00
|
|
|
- Added `doesLoad`, `doesStore`, `maybeIsMove`, `isPseudo` and
|
|
|
|
`architectureVersion` to `InstrDescriptor`.
|
|
|
|
- Python API: `Instruction#rs`, `Instruction#rt` and ``Instruction#rd` now
|
|
|
|
return an enum gpr type and will raise an exception if the instruction does
|
|
|
|
not reference the corresponding register.
|
2023-09-22 17:34:38 +00:00
|
|
|
- New methods: `getOpcodeName`, `getProcessedImmediate`, `hasDelaySlot` and `isValid`.
|
|
|
|
- Added `__reduce__` method to allow pickling the object.
|
|
|
|
|
|
|
|
## [0.1.0] - 2022-06-10
|
|
|
|
|
2023-09-22 18:49:43 +00:00
|
|
|
- First version
|
2023-09-22 17:34:38 +00:00
|
|
|
|
|
|
|
[unreleased]: https://github.com/Decompollaborate/rabbitizer/compare/master...develop
|
2023-09-24 13:41:42 +00:00
|
|
|
[1.7.10]: https://github.com/Decompollaborate/rabbitizer/compare/1.7.9...1.7.10
|
2023-09-22 17:34:38 +00:00
|
|
|
[1.7.9]: https://github.com/Decompollaborate/rabbitizer/compare/1.7.8...1.7.9
|
|
|
|
[1.7.8]: https://github.com/Decompollaborate/rabbitizer/compare/1.7.7...1.7.8
|
|
|
|
[1.7.7]: https://github.com/Decompollaborate/rabbitizer/compare/1.7.6...1.7.7
|
|
|
|
[1.7.6]: https://github.com/Decompollaborate/rabbitizer/compare/1.7.5...1.7.6
|
|
|
|
[1.7.5]: https://github.com/Decompollaborate/rabbitizer/compare/1.7.4...1.7.5
|
|
|
|
[1.7.4]: https://github.com/Decompollaborate/rabbitizer/compare/1.7.3...1.7.4
|
|
|
|
[1.7.3]: https://github.com/Decompollaborate/rabbitizer/compare/1.7.2...1.7.3
|
|
|
|
[1.7.2]: https://github.com/Decompollaborate/rabbitizer/compare/1.7.1...1.7.2
|
|
|
|
[1.7.1]: https://github.com/Decompollaborate/rabbitizer/compare/1.7.0...1.7.1
|
|
|
|
[1.7.0]: https://github.com/Decompollaborate/rabbitizer/compare/1.6.2...1.7.0
|
|
|
|
[1.6.2]: https://github.com/Decompollaborate/rabbitizer/compare/1.6.1...1.6.2
|
|
|
|
[1.6.1]: https://github.com/Decompollaborate/rabbitizer/compare/1.6.0...1.6.1
|
|
|
|
[1.6.0]: https://github.com/Decompollaborate/rabbitizer/compare/1.5.11...1.6.0
|
|
|
|
[1.5.11]: https://github.com/Decompollaborate/rabbitizer/compare/1.5.10...1.5.11
|
|
|
|
[1.5.10]: https://github.com/Decompollaborate/rabbitizer/compare/1.5.9...1.5.10
|
|
|
|
[1.5.9]: https://github.com/Decompollaborate/rabbitizer/compare/1.5.8...1.5.9
|
|
|
|
[1.5.8]: https://github.com/Decompollaborate/rabbitizer/compare/1.5.7...1.5.8
|
|
|
|
[1.5.7]: https://github.com/Decompollaborate/rabbitizer/compare/1.5.6...1.5.7
|
|
|
|
[1.5.6]: https://github.com/Decompollaborate/rabbitizer/compare/1.5.5...1.5.6
|
|
|
|
[1.5.5]: https://github.com/Decompollaborate/rabbitizer/compare/1.5.4...1.5.5
|
|
|
|
[1.5.4]: https://github.com/Decompollaborate/rabbitizer/compare/1.5.3...1.5.4
|
|
|
|
[1.5.3]: https://github.com/Decompollaborate/rabbitizer/compare/1.5.2...1.5.3
|
|
|
|
[1.5.2]: https://github.com/Decompollaborate/rabbitizer/compare/1.5.1...1.5.2
|
|
|
|
[1.5.1]: https://github.com/Decompollaborate/rabbitizer/compare/1.5.0...1.5.1
|
|
|
|
[1.5.0]: https://github.com/Decompollaborate/rabbitizer/compare/1.4.0...1.5.0
|
|
|
|
[1.4.0]: https://github.com/Decompollaborate/rabbitizer/compare/1.3.3...1.4.0
|
|
|
|
[1.3.3]: https://github.com/Decompollaborate/rabbitizer/compare/1.3.2...1.3.3
|
|
|
|
[1.3.2]: https://github.com/Decompollaborate/rabbitizer/compare/1.3.1...1.3.2
|
|
|
|
[1.3.1]: https://github.com/Decompollaborate/rabbitizer/compare/1.3.0...1.3.1
|
|
|
|
[1.3.0]: https://github.com/Decompollaborate/rabbitizer/compare/1.2.2...1.3.0
|
|
|
|
[1.2.2]: https://github.com/Decompollaborate/rabbitizer/compare/1.2.1...1.2.2
|
|
|
|
[1.2.1]: https://github.com/Decompollaborate/rabbitizer/compare/1.2.0...1.2.1
|
|
|
|
[1.2.0]: https://github.com/Decompollaborate/rabbitizer/compare/1.1.0...1.2.0
|
|
|
|
[1.1.0]: https://github.com/Decompollaborate/rabbitizer/compare/1.0.1...1.1.0
|
|
|
|
[1.0.1]: https://github.com/Decompollaborate/rabbitizer/compare/1.0.0...1.0.1
|
|
|
|
[1.0.0]: https://github.com/Decompollaborate/rabbitizer/compare/0.1.0...1.0.0
|
|
|
|
[0.1.0]: https://github.com/Decompollaborate/rabbitizer/releases/tag/0.1.0
|