Re: memory function

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

 



Hi Marcelo,

In code, there is no language specified reliable way to determine the size
of a function.  There are a few suspect tricks you could try (such as taking
the address of the NEXT function in the source code and subtracting the
address of the function of interest), but they are fraught with danger.

Outside of the code, try using the "nm" and "objdump" commands to peruse the
attributes of your object code.

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux