diff --git a/CHANGELOG.md b/CHANGELOG.md index bc95c3c..a3e1abc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ 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.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.14.0] - 2025-12-03 + +### Added + +- Add `ledger.app_flags` section extraction from app.elf + + ## [0.13.0] - 2025-11-24 ### Fixed diff --git a/src/ledgered/binary.py b/src/ledgered/binary.py index 86780a8..053691f 100644 --- a/src/ledgered/binary.py +++ b/src/ledgered/binary.py @@ -26,6 +26,7 @@ class Sections(Jsonable): target_id: Optional[str] = None target_name: Optional[str] = None target_version: Optional[str] = None + app_flags: Optional[str] = None def __str__(self) -> str: return "\n".join(f"{key} {value}" for key, value in sorted(asdict(self).items())) diff --git a/tests/unit/test_binary.py b/tests/unit/test_binary.py index 37fbb73..1232747 100644 --- a/tests/unit/test_binary.py +++ b/tests/unit/test_binary.py @@ -23,6 +23,7 @@ def setUp(self): "target_id": "target_id", "target_name": "target_name", "target_version": "target_version", + "app_flags": "app_flags", } def test___init__empty(self): @@ -40,6 +41,7 @@ def test___init__empty(self): self.assertIsNone(sections.target_id) self.assertIsNone(sections.target_name) self.assertIsNone(sections.target_version) + self.assertIsNone(sections.app_flags) def test___str__(self): sections = B.Sections(**self.inputs)