1

Is there a way to customize the coloring of IDA's decompiled code?

IDA -> Options -> Colors -> Syntax doesn't seem to affect the coloring of decompilation.

1 Answer 1

1

First, you have three options under Edit -> Plugins -> Hex-Rays Decompiler -> Options, see the first three entries under the following image:

enter image description here

Beyond that, the colors in the pseudocode are governed by Options -> Color -> Disassembly. For example, in the following figure, notice that I have under_debugger highlighted under the cursor:

enter image description here

If I use the Change color button in the top right to change the color of the imported names in the disassembly listing, it will change the colors in the decompilation too. Here I've changed the color of imported names from magenta to a darker blue:

enter image description here

1
  • Is there something that correlates all of the coloring options from disasm to decomp? I'd love to understand the rhyme or reason as to why keywords coloring also changes numeric constants in decompilation code.
    – j__
    Mar 15, 2022 at 4:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.