Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 32831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T13:49:30+00:00 2026-05-10T13:49:30+00:00

How do I list the symbols being exported from a .so file? If possible,

  • 0

How do I list the symbols being exported from a .so file? If possible, I’d also like to know their source (e.g. if they are pulled in from a static library).

I’m using gcc 4.0.2, if that makes a difference.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T13:49:31+00:00Added an answer on May 10, 2026 at 1:49 pm

    The standard tool for listing symbols is nm, you can use it simply like this:

    nm -gD yourLib.so 

    If you want to see symbols of a C++ library, add the ‘-C’ option which demangle the symbols (it’s far more readable demangled).

    nm -gDC yourLib.so 

    If your .so file is in elf format, you have two options:

    Either objdump (-C is also useful for demangling C++):

    $ objdump -TC libz.so  libz.so:     file format elf64-x86-64  DYNAMIC SYMBOL TABLE: 0000000000002010 l    d  .init  0000000000000000              .init 0000000000000000      DF *UND*  0000000000000000  GLIBC_2.2.5 free 0000000000000000      DF *UND*  0000000000000000  GLIBC_2.2.5 __errno_location 0000000000000000  w   D  *UND*  0000000000000000              _ITM_deregisterTMCloneTable 

    Or use readelf:

    $ readelf -Ws libz.so Symbol table '.dynsym' contains 112 entries:    Num:    Value          Size Type    Bind   Vis      Ndx Name      0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND      1: 0000000000002010     0 SECTION LOCAL  DEFAULT   10      2: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND free@GLIBC_2.2.5 (14)      3: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND __errno_location@GLIBC_2.2.5 (14)      4: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_deregisterTMCloneTable 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like to list the symbols a program loads from a specific library. You
So I am trying to add a list of ticker symbols from a CSV
I want to check the list of symbol exported by the Linux kernel. So
List the SHORTEST POSSIBLE CODE (counting number of instructions) for making x, y, and
I'm trying to get an auto generated list of symbols in my latex project.
I want to create an application that is able to list all symbols of
Does anyone know of a way to get an entire list of search results
Why is it not possible to do this: public static void Init<TEntity>(params TEntity[] repositories)
The nm the utility to list symbols in a binary doesn't include in its
Notice in Xcode's symbols list (the NSPopUpButton directly above the editor, to the right

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.