Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.30.2 #176

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.30.2] - 2024-09-19

### Fixed

- Fix not generating branch labels under some circuntances.

## [1.30.1] - 2024-09-19

### Added
Expand Down Expand Up @@ -1682,6 +1688,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Version 1.0.0

[unreleased]: https://github.com/Decompollaborate/spimdisasm/compare/master...develop
[1.30.2]: https://github.com/Decompollaborate/spimdisasm/compare/1.30.1...1.30.2
[1.30.1]: https://github.com/Decompollaborate/spimdisasm/compare/1.30.0...1.30.1
[1.30.0]: https://github.com/Decompollaborate/spimdisasm/compare/1.29.0...1.30.0
[1.29.0]: https://github.com/Decompollaborate/spimdisasm/compare/1.28.1...1.29.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ If you use a `requirements.txt` file in your repository, then you can add
this library with the following line:

```txt
spimdisasm>=1.30.1,<2.0.0
spimdisasm>=1.30.2,<2.0.0
```

### Development version
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[project]
name = "spimdisasm"
# Version should be synced with spimdisasm/__init__.py
version = "1.30.1"
version = "1.30.2"
description = "MIPS disassembler"
readme = "README.md"
license = {file = "LICENSE"}
Expand Down
2 changes: 1 addition & 1 deletion spimdisasm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from __future__ import annotations

__version_info__: tuple[int, int, int] = (1, 30, 1)
__version_info__: tuple[int, int, int] = (1, 30, 2)
__version__ = ".".join(map(str, __version_info__))# + "-dev0"
__author__ = "Decompollaborate"

Expand Down
6 changes: 0 additions & 6 deletions spimdisasm/mips/symbols/MipsSymbolFunction.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,6 @@ def analyze(self) -> None:

# Branches
for instrOffset, targetBranchVram in self.instrAnalyzer.branchInstrOffsets.items():
if self.context.isAddressBanned(targetBranchVram):
continue

if common.GlobalConfig.INPUT_FILE_TYPE == common.InputFileType.ELF:
if self.getVromOffset(instrOffset) in self.context.globalRelocationOverrides:
# Avoid creating wrong symbols on elf files
Expand Down Expand Up @@ -527,9 +524,6 @@ def analyze(self) -> None:

# Jump tables
for targetVram in self.instrAnalyzer.referencedJumpTableOffsets.values():
if self.context.isAddressBanned(targetVram):
continue

jumpTable = self.addJumpTable(targetVram, isAutogenerated=True)
jumpTable.parentFunction = self.contextSym
self.contextSym.jumpTables.add(jumpTable.vram, jumpTable)
Expand Down
Loading