Contents
Where does the pseudocode go in Hex Rays?
If the decompilation is successful, it opens a new window titled “Pseudocode” and places the generated C text in this window. The user can also select text and copy it to the clipboard with the Ctrl-C combination. If the current item is C statement keyword, an additional item may appear in the context menu:
Is there an interactive operation in the text version of Ida?
Note: interactive operation is not supported in the text version of IDA. This command decompiles the current function. If the decompilation is successful, it opens a new window titled “Pseudocode” and places the generated C text in this window. The user can also select text and copy it to the clipboard with the Ctrl-C combination.
How to decompile a function in Hex-Rays?
Let’s start with a very short and simple function: We decompile it with View, Open subviews, Pseudocode (hotkey F5 ): While the generated C code makes sense, it is not pretty. There are many cast operations cluttering the text.
How do I open a new pseudocode window?
Ctrl-Enter or Ctrl-double clicking on a function name will open a new pseudocode window for it. Pressing F5 while staying in a pseudocode window will refresh its contents. Please note that the decompiler never refreshes pseudocode by itself because it can take really long.
What are the advantages of the Hex-Rays Decompiler?
The Hex-Rays Decompiler brings binary software analysis within reach of millions of programmers. It converts native processor code into a readable C-like pseudocode text. Advantages of the Decompiler In comparison to low level assembly language, high level language representation in the Decompiler has several advantages:
What to do if there is no pseudocode window?
If there is no pseudocode window, a new window will be created. Pressing Tab while staying in the pseudocode window will switch to the disassembly window. The Tab key can be used to toggle pseudocode and disassembly views. See above the Open pseudocode command for more details.