[oracle@jumper oracle]$ cd $ORACLE_HOME/rdbms/lib
[oracle@jumper lib]$ make f ins_rdbmsmk $ORACLE_HOME/rdbms/lib/bbed
Linking BBED utility (bbed)
rm f /opt/oracle/product//rdbms/lib/bbed
gcc o /opt/oracle/product//rdbms/lib/bbed L/opt/oracle/product//rdbms/lib/ L/opt/oracle/product//lib/ L/opt/oracle/product//lib/stubs/ /opt/oracle/product//lib/smaino /opt/oracle/product//rdbms/lib/ssbbdedo /opt/oracle/product//rdbms/lib/sbbdpto `cat /opt/oracle/product//lib/ldflags` lnsslb lncrypt lnsgr lnzjs ln lnl /opt/oracle/product//rdbms/lib/defopto ldbtools lclntsh `cat /opt/oracle/product//lib/ldflags` lnsslb lncrypt lnsgr lnzjs ln lnl lnro `cat /opt/oracle/product//lib/ldflags` lnsslb lncrypt lnsgr lnzjs ln lnl lclient lvsn lwtc lcommon lgeneric lwtc lmm lnls lcore lnls lcore lnls lxml lcore lunls lnls `cat /opt/oracle/product//lib/ldflags` lnsslb lncrypt lnsgr lnzjs ln lnl lnro `cat /opt/oracle/product//lib/ldflags` lnsslb lncrypt lnsgr lnzjs ln lnl lclient lvsn lwtc lcommon lgeneric ltrace lnls lcore lnls lcore lnls lxml lcore lunls lnls lclient lvsn lwtc lcommon lgeneric lnls lcore lnls lcore lnls lxml lcore lunls lnls `cat /opt/oracle/product//lib/sysliblist` Wlrpath/opt/oracle/product//lib:/lib:/usr/lib lm `cat /opt/oracle/product//lib/sysliblist` ldl lm
[oracle@jumper lib]$ /bbed
Password:
BBED: Release Limited Production on Sat Dec ::
Copyright (c) Oracle Corporation All rights reserved
************* !!! For Oracle Internal Use only !!! ***************
BBED> help
HELP [ <bbed command> | ALL ]
BBED> help all;
SET DBA [ dba | file# block# ]
SET FILENAME filename
SET FILE file#
SET BLOCK [+/]block#
SET OFFSET [ [+/]byte offset | symbol | *symbol ]
SET BLOCKSIZE bytes
SET LIST[FILE] filename
SET WIDTH character_count
SET COUNT bytes_to_display
SET IBASE [ HEX | OCT | DEC ]
SET OBASE [ HEX | OCT | DEC ]
SET MODE [ BROWSE | EDIT ]
SET SPOOL [ Y | N ]
SHOW [ <SET parameter> | ALL ]
INFO
MAP[/v] [ DBA | FILENAME | FILE | BLOCK ]
DUMP[/v] [ DBA | FILENAME | FILE | BLOCK | OFFSET | COUNT ]
PRINT[/x|d|u|o|c] [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]
EXAMINE[/Nuf] [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]
</Nuf>:
N a number which specifies a repeat count
u a letter which specifies a unit size:
b b ub (byte)
h b ub (halfword)
w b ub(word)
r Oracle table/index row
f a letter which specifies a display format:
x hexadecimal
d decimal
u unsigned decimal
o octal
c character (native)
n Oracle number
t Oracle date
i Oracle rowid
FIND[/x|d|u|o|c] numeric/character string [ TOP | CURR ]
COPY [ DBA | FILE | FILENAME | BLOCK ] TO [ DBA | FILE | FILENAME | BLOCK ]
MODIFY[/x|d|u|o|c] numeric/character string
[ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]
ASSIGN[/x|d|u|o] <target spec>=<source spec>
<target spec> : [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]
<source spec> : [ value | <target spec options> ]
SUM [ DBA | FILE | FILENAME | BLOCK ] [ APPLY ]
PUSH [ DBA | FILE | FILENAME | BLOCK | OFFSET ]
POP [ALL]
REVERT [ DBA | FILE | FILENAME | BLOCK ]
UNDO
HELP [ <bbed command> | ALL ]
VERIFY [ DBA | FILE | FILENAME | BLOCK ]
CORRUPT [ DBA | FILE | FILENAME | BLOCK ]
BBED>