开发者

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

开发者 https://www.devze.com 2022-12-21 00:02 出处:网络
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 add

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

精彩评论

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

关注公众号