LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-27-2004, 05:21 AM   #1
tieulent
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
extract prototypes from a shared library


Hi all,

I would like to know how can I analyze a shared library (*.so).
I would like to extract the list of routines which are provided by a "non-standard" library and the prototypes of these routines.

Thank you for your help
 
Old 08-27-2004, 10:15 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
I think what you want to be looking at here is “nm”. For instructions:
Code:
man 1 nm
I don't think .so object files contain anything much resembling a C-header style prototype but this should give you what information is available.

You might also want to search google for the Linux-ELF HOWTO which contains more information on how executable files are structured (I think this includes .so llibraries).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I get every shared library at? Balkman Linux - General 2 08-28-2004 10:56 PM
help shared library jingle_mj Linux - Newbie 1 08-13-2004 04:36 PM
help shared library jingle_mj Programming 4 08-13-2004 04:13 AM
help shared library jingle_mj Linux - General 1 08-13-2004 03:11 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration