开发者

Command to know text,BSS etc fields of an executable

开发者 https://www.devze.com 2023-03-07 05:40 出处:网络
Is there any Linux command to show code, BSS, Stack etc of a compiled C-pro开发者_StackOverflow中文版gramsize(1) can show you the sizes of all the segments of an executable.

Is there any Linux command to show code, BSS, Stack etc of a compiled C-pro开发者_StackOverflow中文版gram


size(1) can show you the sizes of all the segments of an executable.

Sample output:

$ size /bin/ls
   text    data     bss     dec     hex filename
  97892     972    3136  102000   18e70 /bin/ls
0

精彩评论

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

关注公众号