memory function
Eljay Love-Jensen
eljay@adobe.com
Mon Aug 9 13:34:00 GMT 2004
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
More information about the Gcc-help
mailing list