There are a few places where the decompiler displays a number as a hex literal when it's much clearer as a decimal literal. How do I change this?
1 Answer
5
- 5This works in the disassembler output window ("Listing") but there's no "Convert" entry for numbers in the decompiler output window ("Decompile").piotrek– piotrek2019-05-02 10:41:28 +00:00Commented May 2, 2019 at 10:41
- 1so true, I missed the "Decompile" word distinction in the questionSimeon Pilgrim– Simeon Pilgrim2019-05-02 21:06:53 +00:00Commented May 2, 2019 at 21:06
- interesting also change a number to a const/enum using Equate in the Listing window, it is not respected in the disassembly window. Sounds like a bug report should be opened.Simeon Pilgrim– Simeon Pilgrim2019-05-02 22:11:27 +00:00Commented May 2, 2019 at 22:11
- 1Just checked and there's one already open: github.com/NationalSecurityAgency/ghidra/issues/21piotrek– piotrek2019-05-03 07:42:52 +00:00Commented May 3, 2019 at 7:42
- This fixes the decompiler output nonetheless.0x777C– 0x777C2019-05-03 21:41:59 +00:00Commented May 3, 2019 at 21:41
