4.25. symtab

Usage

symtab 
        [-l [-f] [symtable]]
        [-r symtable]
        [-a symtable modulename]
        [-a symtable offset size]
        [-a symtable t_off d_off rd_off b_off t_len d_len rd_len b_len]
        [-w outfile]
    

Description

Add/remove/list symbol table information.

OPTIONS:
 -l [symtable]
       List information of (all) symbol table(s).
 -l -f [symtable]
       Show full list of symbols of (all) symbol table(s).
 -a symtable modulename
       Add new symbol table belonging to module modulename.
 -a symtable t_off d_off rd_off b_off t_len d_len rd_len b_len
       Add new symbol table using given segment offsets and lengths
       (off=offset, len=length, t=text, d=data, rd=rodata, b=bss).
 -a symtable offset size
       Add new symbol table using given offset and size.
       Regard size as size of object file corresponding to symtable.
 -r symtable
       Remove symbol table.
 -a __ksymtab__
 -r __ksymtab__
 -l [-f] __ksymtab__
       Add, remove or list table of exported kernel symbols.

You can use only one of the above command lines at the same time.
    

Example 4-17. symtab

For a comprehensive example please refer to Section 5.1.