Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
AngheloAlf committed Nov 5, 2023
1 parent b2e11bd commit 647e4d1
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.3.0] - 2023-11-05

### Added

- Support for parsing clang lld's map fles.
- New functions:
- `MapFile.parseMapContents`/`MapFile::parse_map_contents`
- Parses the map contents passed as the argument, without requiring the map
Expand All @@ -23,6 +26,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Parses the map contents passed as the argument, without requiring the map
being on an actual file.
- This function only parses the clang ld.lld map format.
- New members:
- `Symbol.align`/`Symbol::align`, `File.align`/`File::align` and
`Segment.align`/`Segment::align`: The alignment the given type. This member
will be filled by the parser only if the mapfile provides this information.

### Changed

Expand Down Expand Up @@ -270,6 +277,7 @@ Full changes: <https://github.com/Decompollaborate/mapfile_parser/compare/702a73
- Initial release

[unreleased]: https://github.com/Decompollaborate/mapfile_parser/compare/master...develop
[2.3.0]: https://github.com/Decompollaborate/mapfile_parser/compare/2.2.1...2.3.0
[2.2.1]: https://github.com/Decompollaborate/mapfile_parser/compare/2.2.0...2.2.1
[2.2.0]: https://github.com/Decompollaborate/mapfile_parser/compare/2.1.5...2.2.0
[2.1.5]: https://github.com/Decompollaborate/mapfile_parser/compare/2.1.4...2.1.5
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "mapfile_parser"
version = "2.2.1"
version = "2.3.0"
edition = "2021"
authors = ["Anghelo Carvajal <[email protected]>"]
description = "Map file parser library focusing decompilation projects"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ If you use a `requirements.txt` file in your repository, then you can add
this library with the following line:

```txt
mapfile_parser>=2.2.0,<3.0.0
mapfile_parser>=2.3.0,<3.0.0
```

#### Development version
Expand Down Expand Up @@ -74,7 +74,7 @@ cargo add mapfile_parser
Or add the following line manually to your `Cargo.toml` file:

```toml
mapfile_parser = "2.2.1"
mapfile_parser = "2.3.0"
```

#### System-wide dependencies
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[project]
name = "mapfile_parser"
version = "2.2.1"
version = "2.3.0"
description = "Map file parser library focusing decompilation projects"
readme = "README.md"
requires-python = ">=3.7"
Expand Down
2 changes: 1 addition & 1 deletion src/mapfile_parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from __future__ import annotations

__version_info__ = (2, 2, 1)
__version_info__ = (2, 3, 0)
__version__ = ".".join(map(str, __version_info__))
__author__ = "Decompollaborate"

Expand Down
3 changes: 1 addition & 2 deletions src/rs/mapfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,9 @@ impl MapFile {
new_segment.align = Some(align);

temp_segment_list.push(new_segment);
} else if let Some(fill_entry_match) = regex_fill.captures(subline) {
} else if regex_fill.is_match(subline) {
// Make a dummy file to handle pads (. += XX)

//let expr = &fill_entry_match["expr"];
let mut filepath = std::path::PathBuf::new();
let mut section_type = "".to_owned();

Expand Down

0 comments on commit 647e4d1

Please sign in to comment.