Ghidra: Allow renaming of labels in decompiler view

Created on 12 Apr 2020  路  2Comments  路  Source: NationalSecurityAgency/ghidra

Is your feature request related to a problem? Please describe.
Currently we can rename labels in the disassembly view, but not the decompiler view. This is a bit painful, and it's a standard feature in IDA that I'd love to see done here.

Describe the solution you'd like
Same as IDA: right click / rename (or press the shortcut key) while in decompiler view on top of a label should allow it to be renamed.

Most helpful comment

Check the label highlighted in the decompiler view in the attached screenshot. It can be renamed in the disassembly view, and then the decompiler view will change to reflect the new name.

However ideally it would mimic IDA behaviour - you could just change the name directly on the decompiler view.

highlighted_label

All 2 comments

You can rename a lot of things in decompiler view. What exactly are you trying to rename?

Check the label highlighted in the decompiler view in the attached screenshot. It can be renamed in the disassembly view, and then the decompiler view will change to reflect the new name.

However ideally it would mimic IDA behaviour - you could just change the name directly on the decompiler view.

highlighted_label

Was this page helpful?
0 / 5 - 0 ratings

Related issues

niedabao1 picture niedabao1  路  23Comments

Piruzzolo picture Piruzzolo  路  19Comments

mewmew picture mewmew  路  16Comments

progmboy picture progmboy  路  19Comments

woachk picture woachk  路  33Comments