Skip to content

Resolve module filenames to their base address when debugging #886

@Rurik

Description

@Rurik

This request is focused on saving breakpoints but has other benefits. Ultimately, treat copy/pasted breakpoint addresses such that they can be reused.

Thanks to a recent change, we are now able to copy the Breakpoint table view out of Binary Ninja. This is good for basic documentation but they cannot be reused without additional effort.

Current output:
filename.exe + 0x0111f

Current workflow:
While debugging:
Go to module list and find RVA of filename.exe
Replace filename.exe with RVA in external text editor
Go to that address, like "0x7ff770f60000 + 0x0111f", and set a new breakpoint.

Feature request:
Allow address resolution (go to) to support the filename of any loaded module. If "filename.exe" is entered, then find the base address of that file and use it for relative lookup. If filename.exe is not seen in module list, then fail gracefully as if a wrong value was entered (like it currently does)

Requested workflow:
Copy "filename.exe + 0x111f" from breakpoint table
Rerun application, which now has a new base address
Go to address "filename.exe + 0x111f" and set a breakpoint

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions