Skip to content

Releases: Decompollaborate/mapfile_parser

2.7.1

25 Sep 16:55
26810c2
Compare
Choose a tag to compare

[2.7.1] - 2024-09-25

Added

  • Add --json flag to progress frontend.
    • Prints the output as json instead of using a human readable format.

Changed

  • Improve lifetime usage and avoid unnecessary clones on Rust side.

2.7.0

25 Sep 01:36
5f57c95
Compare
Choose a tag to compare

[2.7.0] - 2024-09-24

Added

  • MapFile.findSymbolByVram and MapFile.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.
  • Add --vram, --vrom and --name arguments to sym_info frontend.
    • Allow to tell to sym_info exactly how to treat the argument instead of
      trying to guess how to use it.
  • 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 and MapFile.findSymbolByVrom instead.

Fixed

  • Fix typo that prevented using jsonify.

2.6.0

26 Aug 19:26
85197c5
Compare
Choose a tag to compare

[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.
  • 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.

Changed

  • Minor cleanups.

2.5.1

09 Aug 17:35
Compare
Choose a tag to compare

[2.5.1] - 2024-08-09

Fixed

  • Fix Github Action file.

2.5.0

09 Aug 17:31
7535258
Compare
Choose a tag to compare

[2.5.0] - 2024-08-09

Added

  • Add Minimal Supported Rust Version (MSRV) to Cargo.toml.
  • Add MapFile::new_from_map_file function to simplify MapFile creation.
  • Add serde feature to the Rust crate.
    • Allows serializing and deserializing a MapFile object using serde.

Changed

  • Tweak symbol comparison logic a bit.
    • Symbol shifting (due to different sizes or extra/missing symbols) should
      not affect comparing non shifted files.
  • 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

25 Mar 21:33
c478ac1
Compare
Choose a tag to compare

[2.4.0] - 2024-03-25

Added

  • Add endian argument to doFirstDiff.
  • Add --endian option to first_diff script.

Removed

  • Dropped Python 3.7 support.
    • Python 3.8 is the minimum supported version now.

2.3.7

28 Feb 01:01
ded5b55
Compare
Choose a tag to compare

[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

24 Feb 02:09
1d3b5da
Compare
Choose a tag to compare

[2.3.6] - 2024-02-23

Fixed

  • Fix not recognizing sections that don't start with dots (.).

2.3.5

04 Feb 03:23
5acc728
Compare
Choose a tag to compare

[2.3.5] - 2024-02-04

Fixed

  • Fix MapFile.compareFilesAndSymbols reporting the wrong address as the
    expected address.

2.3.4

28 Jan 15:51
dc3fc49
Compare
Choose a tag to compare

[2.3.4] - 2024-01-26

Changed

  • Frontend scripts now give a better error if the mapfile does not exist.