radareorg / radare2

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

ob inconsistencies #11988

Open radare opened 6 years ago

radare commented 6 years ago
radare commented 6 years ago

Maybe we should make io command to be an alias for ob and kill what its doing right now

Maijin commented 6 years ago

The whole oa, ob, oc, of, on, o for opening files is very confusing

XVilka commented 6 years ago

I think it is better to remove io whatsoever.

Maijin commented 6 years ago

I agree on removing io too

radare commented 6 years ago

why

On 30 Oct 2018, at 14:41, Anton Kochkov notifications@github.com wrote:

I think it is better to remove io whatsoever.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/radare/radare2/issues/11988#issuecomment-434304553, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-lkulcn0x4dS5zhjz3xW68cRdqxh8ks5uqFb6gaJpZM4YAan9.

c-urly commented 4 years ago

How many of this task got over can anybody check the boxes above?

Maijin commented 4 years ago

@c-urly none

trufae commented 3 years ago

bringing back this discussion to the table. comments out there? anyone in the mood to do any of the changes enumerated there?

alex-bender commented 2 years ago
Usage: ob   # List open binary files backed by fd
| ob [bfid]              switch to open given objid
| ob                     list opened binary files and objid
| ob*                    list opened binary files and objid (r2 commands)
| ob *                   select all bins (use 'ob bfid' to pick one)
| ob-*                   delete all binfiles
| ob-[objid]             delete binfile by binobjid
| ob. ([addr])           show bfid at current address
| ob=                    show ascii art table having the list of open files
| obL                    same as iL or Li
| oba [addr] [baddr]     open file and load bin info at given address
| oba [addr] [filename]  open file and load bin info at given address
| oba [addr]             open bin info from the given address
| obf ([file])           load bininfo for current file (useful for r2 -n)
| obj                    list opened binary files and objid (JSON format)
| obn [name]             select binfile by name
| obo [fd]               switch to open binfile by fd number
| obr [baddr]            rebase current bin object

looks like ob bd does nothing now kill obb -- looks like it's done

trufae commented 9 months ago

moving to 6.x because enotime to do all the changes and the last release is delayed for more than 6 month