radareorg / radare2

UNIX-like reverse engineering framework and command-line toolset
https://www.radare.org/
GNU Lesser General Public License v3.0
20.76k stars 3.01k forks source link

Relative addresses in disassembly views #13458

Open XVilka opened 5 years ago

XVilka commented 5 years ago

Is your feature request related to a problem? Please describe.

For now both radare2 and cutter show every line with an "absolute" address. Sometimes it is unnecessary, but at the same time it would be nice to see the address of the function.

Describe the solution you'd like I am often using Vim/NeoVim with a switch between absolute line numbering and relative one. And recently saw similar concept in Verso (Electron GUI for Panopticon).

Describe alternatives you've considered

It might be useful also to disable addresses at all, keeping only at the basic block beginning or function beginning.

Additional context image image

Related issue in Cutter: https://github.com/radareorg/cutter/issues/1353

radare commented 5 years ago

Asm.reloff

On 22 Mar 2019, at 06:38, Anton Kochkov notifications@github.com wrote:

Is your feature request related to a problem? Please describe.

For now both radare2 and cutter show every line with an "absolute" address. Sometimes it is unnecessary, but at the same time it would be nice to see the address of the function.

Describe the solution you'd like I am often using Vim/NeoVim with a switch between absolute line numbering and relative one. And recently saw similar concept in Verso (Electron GUI for Panopticon).

Describe alternatives you've considered

It might be useful also to disable addresses at all, keeping only at the basic block beginning or function beginning.

Additional context

Related issue in Cutter: radareorg/cutter#1353

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

XVilka commented 5 years ago

Ah, ok, then remove name part from name+0x14. I think it is unnecessary.

radare commented 5 years ago

All yours.

On 22 Mar 2019, at 09:03, Anton Kochkov notifications@github.com wrote:

Ah, ok, then remove name part from name+0x14. I think it is unnecessary.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.