开发者

Does exist any utility to know the size of a compiled function in an executable?

I want a report showing me the si开发者_StackOverflowze of diferent symbols(compiled) in the executable. Something like .map files in Delphi, but generic if possible. nm from binutils, shows start address(?), maybe could i use that information?

(I'm using object pascal + freepascal compiler)


  • FPC/LD can generate mapfiles too
  • various ways to analyze .o files. (nm, objdump and parse the address increments between sections)
  • maybe the information is stored in the .ppu, have a look in the ppu unit (compiler dir) which contains .ppu loaders
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜