Re: list of fuctions defined and exported by a library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i have decided to take a round about way... i am implementing a parser which reads the header files (/only th e external headers) and extracts all the function delrations in them. it then dumps the name of the functions in a files. comparing this to the output of a readelf command with appropriate greps will give me a set of symbols which are exported but not in external headers,  and thus not defined by the system . please tellme iof thsi idea is correct ??
BR
rahul

On Tue, Jun 17, 2008 at 4:43 PM, Rajat Jain <Rajat.Jain@xxxxxxxxxxxx> wrote:

Hi,

> greping the output of the two commands above for "func"
> did not help because it ended up showing internals functions
> which it uses but does not define ( something like puts ).

I think what you have done should work. The reason you are seeing some
extra symbols is because perhaps they are defined as macros or inline
functions (And thus thus definitions are coming in your library)?

Thanks,

Rajat


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux