-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User-definable goto location names #987
Comments
Great suggestion! Now, for the devil in the details. Today, the label names in Reko have global scope; By allowing the user to arbitrarily change the label names, we're opening up to the potential of conflicts. Suppose I have two procedures It seems that MASM, the assembler I'm most familiar with, treats statement labels with colons after them as local to the procedure in which they are defined. This is good news for users, as they can now have the label To create such a label, we need a new context menu on labels with a |
A simple dialog the same as the "edit declaration" is all that is needed for a MVP. |
Right-clicking on a label now shows a new |
Add the functionality to rename goto locations names to something more human friendly.
The current names have formats like: "l0FDC_0286", "l0FDC_0289", "l0FDC_028C" which are perfectly servicable but it would be nice to be able to add user defined names so that the decompiled code reads better.
if(v65_861)
goto l0FDC_0529;
VS
if(v65_861)
goto CGA_draw;
The text was updated successfully, but these errors were encountered: