Skip to content

Definable macros for repetative tasks #7423

Open
@Wall-AF

Description

@Wall-AF

Is your feature request related to a problem? Please describe.
I'm always frustrated when there are several variables that need renaming, in a consistant manner, as you go through deciphering functions. Requires lots of mouse and/or keyboard use.

Describe the solution you'd like
The ability to create definable macros that work across (popup) dialogs and have them execute upon keyboard shortcuts.

Describe alternatives you've considered
Lots of repetative typing.

Additional context
Implementation of #6111 would help, but not totally alleviate the issue.

Example
Lots of my functions start or contain code like

      uVar3 = (undefined2)((ulong)this >> 0x10);
      pDVar2 = (DgnChoiceListBox *)this;

In this simple example, whilst segmentation and near/far pointers/addresses aren't handled brilliantly, it makes later interpretation much easier to change it into

      seg = (undefined2)((ulong)this >> 0x10);
      pThis = (DgnChoiceListBox *)this;

Metadata

Metadata

Assignees

Labels

Status: InternalThis is being tracked internally by the Ghidra teamType: EnhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions