Layout of compiled objects

后端 未结 6 690
余生分开走
余生分开走 2020-12-01 01:57

Is there a way—much like viewing the result of preprocessing with gcc -E—to see what my objects look like once compiled into object files?

I

6条回答
  •  青春惊慌失措
    2020-12-01 02:27

    You can inspect the layout of binaries and their contents using map files. Use /MAP for VC and -Map or --print-map for gcc.

提交回复
热议问题