Re: list of fuctions defined and exported by a library

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

 



Hi

On Mon, Jun 16, 2008 at 10:05 PM, Rahul Ramasubramanian
<ramasubramanian.rahul@xxxxxxxxx> wrote:
> hi
> i am not sure if this query belongs here , so sorry if i have goofed up..
> i am trying to get a list of functions defined by any library and exported
> as globals . ( as in , a list of all functions which are defined without the
> static keyword ). The method i used was to use either readelf or nm commands
> . but these give a list of symbols ( including the global variables) . is
> there any way of figuring out the list of functions only .
> 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 am kinda rusty on it, but try objdump -R first. Then, cross check
the result with the entries of .plt or .dyn.plt (IIRC), this section
should only contain external function call.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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