radare2 icon indicating copy to clipboard operation
radare2 copied to clipboard

ob inconsistencies

Open radare opened this issue 6 years ago • 10 comments

  • [ ] Rename ob to oi as reported in https://github.com/radareorg/radare2/issues/19975
  • [ ] Add obaa: command to open a bin for all the opened files 'o'
  • [ ] ob file -> should open a file, and obf must die
  • [ ] obp bd -> should do what ob bd does now
  • [ ] ob. -> the same as oba $$
  • [ ] kill obb
  • [ ] ob to display the name of the plugin
  • [ ] rename objid to binfd in ob?

radare avatar Oct 29 '18 21:10 radare

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

radare avatar Oct 29 '18 21:10 radare

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

Maijin avatar Oct 30 '18 09:10 Maijin

I think it is better to remove io whatsoever.

XVilka avatar Oct 30 '18 13:10 XVilka

I agree on removing io too

Maijin avatar Oct 30 '18 14:10 Maijin

why

On 30 Oct 2018, at 14:41, Anton Kochkov [email protected] 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.

radare avatar Oct 30 '18 17:10 radare

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

c-urly avatar Mar 08 '20 05:03 c-urly

@c-urly none

Maijin avatar Mar 08 '20 10:03 Maijin

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

trufae avatar Apr 25 '21 09:04 trufae

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

alex-bender avatar Apr 26 '22 14:04 alex-bender

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

trufae avatar Feb 12 '24 19:02 trufae