Goal: Automatically discover registers and allow the analyst to select them from a list instead of having to enter them manually.
Ghidra's ProgramContext has a list of all registers.
This list is way bigger than expected and contains a lot of irrelevant registers with no good way of filtering out the useful ones that an analyst would actually want to provide information for (see below).
Based on this, it is probably easier for the analyst to enter the register names manually.
If in the future filtering the list would be possible this issue might be reconsidered.
ProgramContext
has a list of all registers.Dump: