Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to View Methods inside .so library file

    Hi All,

    I have library named
    I need to get all the method names from the library with the return type.
    By using -nm linux command i could get the method names but not the return type of the method.
    Is there any other mrthod to get the method names.

    Thanks ,

  2. #2
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Seattle, WA, USA
    As far as I know, there is not. At the level of a library file, everything is in Assembly, which can only return numbers from functions, and such a number may be treated as a number or as a pointer to memory.

    If the library was compiled with debugging symbols (the -g flag to gcc), you may be able to use gdb or a decompiler of some sort to deconstruct it, but these are non-standard.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts