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

Convert literal value in switch case #4438

Open
ghidra007 opened this issue Jul 13, 2022 Discussed in #4337 · 2 comments
Open

Convert literal value in switch case #4438

ghidra007 opened this issue Jul 13, 2022 Discussed in #4337 · 2 comments
Assignees
Labels
Status: Future This has future value but is not being worked on at this time

Comments

@ghidra007
Copy link
Contributor

Discussed in #4337

Originally posted by 0x6D616473616D June 12, 2022
I'm able to convert the literal value in condition from hex value to decimal by right clicking on the literal value and the context menu shows me the various number systems to which I can convert this literal, but when I click on the literal in the switch case, it does not show me such options. Is there any way I can convert it as in the case of condition?

@ghidra007
Copy link
Contributor Author

Currently cannot do this. Creating an issue for prioritization.

@ghidra007 ghidra007 added the Status: Triage Information is being gathered label Jul 13, 2022
@caheckman caheckman added Status: Prioritize This is currently being prioritized and removed Status: Triage Information is being gathered labels Jul 21, 2022
@caheckman caheckman added Status: Future This has future value but is not being worked on at this time and removed Status: Prioritize This is currently being prioritized labels Aug 4, 2022
@Mis012
Copy link

Mis012 commented Mar 11, 2023

Apart from this, a much more annoying conversion to have to do in your head is for example from a uint8_t (displayed as a character constant) to any sane representation of an integer, or even better an enum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Future This has future value but is not being worked on at this time
Projects
None yet
Development

No branches or pull requests

3 participants