Releases: Decompollaborate/mapfile_parser
Releases · Decompollaborate/mapfile_parser
2.7.1
2.7.0
[2.7.0] - 2024-09-24
Added
MapFile.findSymbolByVram
andMapFile.findSymbolByVrom
methods.- Allow to search a symbol given a given address. The address will be treated
as either a vram address or a vrom address respectively.
- Allow to search a symbol given a given address. The address will be treated
- Add
--vram
,--vrom
and--name
arguments tosym_info
frontend.- Allow to tell to
sym_info
exactly how to treat the argument instead of
trying to guess how to use it.
- Allow to tell to
sym_info
can now detect that an address may belong to a file even when the
symbol itself may not exist on the mapfile.- This can happen for local symbols, for example for rodata literals.
Deprecated
MapFile.findSymbolByVramOrVrom
.- Use
MapFile.findSymbolByVram
andMapFile.findSymbolByVrom
instead.
- Use
Fixed
- Fix typo that prevented using
jsonify
.
2.6.0
[2.6.0] - 2024-08-26
Added
- Add new parameters to
bss_check.printSymbolComparison
.printGoods
: Allows toggling printing the GOOD symbols.printingStyle
: The style to use to print the symbols, either"csv"
or
"listing"
.- TODO: port to Rust.
- New
MapFile.fixupNonMatchingSymbols
method.- Allows to fixup size calculation of symbols messed up by symbols with the
same name suffixed with.NON_MATCHING
.
- Allows to fixup size calculation of symbols messed up by symbols with the
- Add support for
.NON_MATCHING
suffix on symbols on progress calculation.- If a symbol exists and has a
.NON_MATCHING
-suffixed counterpart then
consider it not mateched yet.
- If a symbol exists and has a
Changed
- Minor cleanups.
2.5.1
[2.5.1] - 2024-08-09
Fixed
- Fix Github Action file.
2.5.0
[2.5.0] - 2024-08-09
Added
- Add Minimal Supported Rust Version (MSRV) to Cargo.toml.
- Add
MapFile::new_from_map_file
function to simplifyMapFile
creation. - Add
serde
feature to the Rust crate.- Allows serializing and deserializing a
MapFile
object using serde.
- Allows serializing and deserializing a
Changed
- Tweak symbol comparison logic a bit.
- Symbol shifting (due to different sizes or extra/missing symbols) should
not affect comparing non shifted files.
- Symbol shifting (due to different sizes or extra/missing symbols) should
Cargo.lock
file is now committed to the repo.- Change Rust functions to properly take references instead of consuming the
argument.
Fixed
- Fix
MapFile::find_lowest_differing_symbol
not returning a previous symbol
from a previous file if the symbol found is the first symbol from the file.
2.4.0
[2.4.0] - 2024-03-25
Added
- Add
endian
argument todoFirstDiff
. - Add
--endian
option tofirst_diff
script.
Removed
- Dropped Python 3.7 support.
- Python 3.8 is the minimum supported version now.
2.3.7
[2.3.7] - 2024-02-27
Fixed
- Fix not recognizing file entries which are splited in two lines because its
section name was too long to fit.
2.3.6
[2.3.6] - 2024-02-23
Fixed
- Fix not recognizing sections that don't start with dots (
.
).
2.3.5
[2.3.5] - 2024-02-04
Fixed
- Fix
MapFile.compareFilesAndSymbols
reporting the wrong address as the
expected address.
2.3.4
[2.3.4] - 2024-01-26
Changed
- Frontend scripts now give a better error if the mapfile does not exist.