Skip to content
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 a (switch|cli-arg) to enable Human Readable Output for FileSize MemSize Size #47

Closed
Azathothas opened this issue Sep 20, 2024 · 2 comments
Labels
effort: easy Should be fairly straightforward enhancement New feature or request good first issue Good for newcomers

Comments

@Azathothas
Copy link

Hello,
It would be immensely helpful if there was a switch or a cli option (-h | --human)
This would enable human readable output (KiB,MiB,GiB...) for the hex values of FileSize MemSize Size
Perhaps in the future, this could also be extended to display values other than size in Human readable format.

image
image

The intro/summary page already includes a Human readable format:
image

Note: I don't know much about elf/binary analysis, so I apologize if this request is dumb.
Essentially, I wanted to use binsider to give me a du|ncdu kind of output about the size of each section on an elf file.

@Azathothas Azathothas added the enhancement New feature or request label Sep 20, 2024
@orhun orhun removed their assignment Sep 20, 2024
@orhun orhun added the good first issue Good for newcomers label Sep 20, 2024
@orhun
Copy link
Owner

orhun commented Sep 20, 2024

Hello 👋🏼

Really good suggestion! I currently use the bytesize crate to show human readable output for the general tab. It should be fairly straightforward to use it for the other fields as well.

Would you be interested in contributing this feature? I would like to have it available in the upcoming release :)

@Azathothas
Copy link
Author

Unfortunately, I don't know any rust…
I will wait patiently until that feature is implemented, take your time, there's no rush. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: easy Should be fairly straightforward enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants