Skip to content
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

Labels in jumps and disassembly. #98

Closed
GoogleCodeExporter opened this issue Mar 29, 2015 · 2 comments
Closed

Labels in jumps and disassembly. #98

GoogleCodeExporter opened this issue Mar 29, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

In jump instructions:
Instead of seeing JMP 0x00007FFA92...
I'd like to see JMP <somelabel> 0x00007FFA92...
Where <somelabel> is editable.

Within instruction stream:

Instead of seeing 
NOP
NOP
NOP

I'd like to see either

NOP
somelabel:
NOP
NOP

or

            NOP
somelabel:  NOP
            NOP

Changing somelabel in a JMP instruction should also change the name within the 
instruction steam.

This is not trivial, we don't know all the possible jump targets. We can do a 
lot based on the known instructions from analysis, but force-adding/removing 
labels is a probably a good idea.

Original issue reported on code.google.com by evan.teran on 3 Oct 2012 at 3:22

@GoogleCodeExporter
Copy link
Author

Original comment by evan.teran on 4 Apr 2014 at 3:44

  • Added labels: Type-Enhancement
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

edb now has basic label support in the GUI. You can right click on any 
instruction and give it a label. The UI will then refer to that address by the 
label in the disassembly.

Some notes:

1. labels take higher precedence than symbols since the user has chosen to name 
the address

2. labels only apply to code.

3. No two addresses may have the same label, but that's ok, because there are 
essentially NO restrictions on what you can label the address. Heck, you can 
probably shove some Unicode symbols in there ;-).

Eventually, labels should be saved and loaded with sessions, but not yet.

Original comment by evan.teran on 31 Dec 2014 at 4:04

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant