findsym

Lcrash HOWTO
Prev | Chapter 4. Lcrash Command Reference | Next

# 4.7. findsym

#### Alias

fsym,symbol

#### Usage

    findsym
            symname | symaddr [symname | symaddr [...] ]
            -f string [...]
            [-w outfile]

#### Description

    Display relevant information for each requested symbol name and/or symbol
    address.

    OPTIONS:
     symname | symaddr [symname | symaddr [...] ]
           Search symbol information for given symbol names and addresses.
     -f string [...]
           Search symbol information for symbols which names start with given
           strings. Use this version if you don't know the full symbol name.

Example 4-6. findsym

    >> findsym 0xc0150000
        ADDR  OFFSET  TYPE         NAME
    ============================================================
    c0150000     144  GLOBAL_TEXT  ext2_truncate
    ============================================================
    1 symbol found

    >> findsym ext2_truncate
        ADDR  OFFSET  TYPE         NAME
    ============================================================
    c014ff70       0  GLOBAL_TEXT  ext2_truncate
    ============================================================
    1 symbol found

    >> findsym 0xc0300000 init_mm module_list 0xc02f0000 memcmp
        ADDR  OFFSET  TYPE         NAME
    ============================================================
    c0300000     480  GLOBAL_DATA  ip_masq_d_table
    c02a90a0       0  GLOBAL_DATA  init_mm
    c02ad128       0  GLOBAL_DATA  module_list
    c02f0000     800  LOCAL_DATA   ro_bits
    c0251878       0  GLOBAL_TEXT  memcmp
    ============================================================
    5 symbols found

Prev | Home | Next
dump | Up | help