I want to know the length of C function (written by me) at runtime. Any method to get it? It seems sizeof doesn\'t work here.
There is a way to determine the size of a function. The command is:
nm -S
This will return the sizes of each function inside the object file. Consult the manual pages in the GNU using 'man nm' to gather more information on this.