-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tool to display elf metadata from ledger sections #892
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This PR introduces a new command-line tool for displaying ELF metadata extracted from ledger binary sections.
- Added a CLI parser to process arguments and set the logging level.
- Implemented an ELF parsing function to log metadata.
- Established file accessibility checks before processing the ELF file.
Reviewed Changes
File | Description |
---|---|
tools/elf_info.py | New tool to display ELF metadata using LedgerBinaryApp |
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #892 +/- ##
=======================================
Coverage 60.02% 60.02%
=======================================
Files 12 12
Lines 1736 1736
=======================================
Hits 1042 1042
Misses 694 694
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
3071fbb
to
de421c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This pull request introduces a new command-line tool for displaying metadata from ELF files using Ledger sections.
- Adds a new Python utility (tools/elf_info.py) that parses ELF files and prints metadata using the logging framework.
- Implements command-line argument parsing with argparse to toggle logging verbosity.
Reviewed Changes
File | Description |
---|---|
tools/elf_info.py | New tool created to display ELF metadata from Ledger sections. |
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
de421c0
to
d35d406
Compare
Description
This tool will display the following: