| #
d8fdff38 |
| 19-Jun-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "map-summary" into integration
* changes: feat(memmap): add summary command to memory map script refactor(memmap)!: change behavioural flags to commands refactor(memma
Merge changes from topic "map-summary" into integration
* changes: feat(memmap): add summary command to memory map script refactor(memmap)!: change behavioural flags to commands refactor(memmap): fix typing-related issues refactor(memmap): create common image parser interface refactor(memmap): represent image symbols with key-value map refactor(memmap): factor memory regions into their own structure refactor(memmap): apply additional type hints refactor(memmap): check ELF object type rather than flag refactor(memmap): remove unused functionality fix(memmap): ensure terminal width is respected style(memmap): format with Ruff
show more ...
|
| #
6acd79ab |
| 17-Apr-2025 |
Chris Kay <chris.kay@arm.com> |
refactor(memmap): fix typing-related issues
This change introduces Pyright - a static type checker for Python - and resolves a large number of the errors that it reports. Some errors have not been r
refactor(memmap): fix typing-related issues
This change introduces Pyright - a static type checker for Python - and resolves a large number of the errors that it reports. Some errors have not been resolved as they require larger refactors, so these will be done in later patches.
Change-Id: I2ed9b1cc729bf44a1fa8e69882af34657cc30b38 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| #
bc74cfc7 |
| 15-Apr-2025 |
Chris Kay <chris.kay@arm.com> |
refactor(memmap): create common image parser interface
This is another non-functional change, which factors the memory footprint and symbol listing interfaces shared by the two image parsing backend
refactor(memmap): create common image parser interface
This is another non-functional change, which factors the memory footprint and symbol listing interfaces shared by the two image parsing backends into a common `Image` interface.
Change-Id: I625a8e5ca77e38155b6ed545a33a8ae4c2cf133a Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| #
b658ccd7 |
| 22-Apr-2025 |
Chris Kay <chris.kay@arm.com> |
refactor(memmap): represent image symbols with key-value map
The symbols defined by an image are currently returned as a list of tuple pairs, which is a fairly unintuitive way of representing what i
refactor(memmap): represent image symbols with key-value map
The symbols defined by an image are currently returned as a list of tuple pairs, which is a fairly unintuitive way of representing what is essentially a map.
This commit changes the return type to the appropriate map type, and moves the heavy-lifting required to turn it into a list of tuples into the printer, which is the only place where this representation is necessary.
Change-Id: I87d047608b390e1e0cdf93eb6af5aeb103b1d69e Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| #
5bce4e60 |
| 14-Apr-2025 |
Chris Kay <chris.kay@arm.com> |
refactor(memmap): factor memory regions into their own structure
This is a non-functional change to clean up how we represent memory regions in the memory map tool.
This introduces the `Region` dat
refactor(memmap): factor memory regions into their own structure
This is a non-functional change to clean up how we represent memory regions in the memory map tool.
This introduces the `Region` data-class, which does little more than store the region data exposed by the linker scripts, and provides some additional helper methods which re-produce what was already being done by both the ELF parser and the map file parser.
Change-Id: Idf45b71bd460f7312498b97b9e4743f4dc482411 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| #
205248e8 |
| 28-Apr-2025 |
Chris Kay <chris.kay@arm.com> |
refactor(memmap): apply additional type hints
This is a non-functional change which adds type hints wherever they might be helpful. Outside of human readability, this can also help static analysis t
refactor(memmap): apply additional type hints
This is a non-functional change which adds type hints wherever they might be helpful. Outside of human readability, this can also help static analysis tools and IDEs identify additional errors.
Change-Id: Ie63e7f1cdeb893ca7d8a703aff56361eaa4e8f1b Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| #
f59b6fb5 |
| 01-May-2025 |
Chris Kay <chris.kay@arm.com> |
refactor(memmap): check ELF object type rather than flag
This is a small functional change which removes the need to pass the type of the ELF object given to `memory.elfparser.tfa_mem_obj_factory` b
refactor(memmap): check ELF object type rather than flag
This is a small functional change which removes the need to pass the type of the ELF object given to `memory.elfparser.tfa_mem_obj_factory` by instead checking its type.
Change-Id: I653e71345e41bcbae87a3a7475d7a1dd69614b5d Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| #
015a8fd1 |
| 17-Apr-2025 |
Chris Kay <chris.kay@arm.com> |
refactor(memmap): remove unused functionality
The functionality removed by this patch is currently unused, and there are currently no plans to expose it to users.
Change-Id: I277fce51e0f34cd9608b4b
refactor(memmap): remove unused functionality
The functionality removed by this patch is currently unused, and there are currently no plans to expose it to users.
Change-Id: I277fce51e0f34cd9608b4bc1258c78af208897fa Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| #
1bed7707 |
| 01-Apr-2025 |
Chris Kay <chris.kay@arm.com> |
style(memmap): format with Ruff
This change adds the Python formatter and linter Ruff to the Poetry development dependencies for the memory map script, and formats the entire project using it.
Chan
style(memmap): format with Ruff
This change adds the Python formatter and linter Ruff to the Poetry development dependencies for the memory map script, and formats the entire project using it.
Change-Id: I7c5898bd8ee364e3b72476014ef6b4b11947ae18 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| #
a1094e32 |
| 03-Mar-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "refactor(memmap): migrate to Poetry" into integration
|
| #
ed0c801f |
| 28-Jan-2025 |
Chris Kay <chris.kay@arm.com> |
refactor(memmap): migrate to Poetry
This change refactors the memmap tool into a Poetry project, with its own dependencies. You can continue to run it manually with:
poetry run memory <args>
C
refactor(memmap): migrate to Poetry
This change refactors the memmap tool into a Poetry project, with its own dependencies. You can continue to run it manually with:
poetry run memory <args>
Change-Id: I346283df1b8bfad4babc1f5a3861dab94d4a006a Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|