开发者

Command to know text,BSS etc fields 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜