c++ - How to figure out which methods increases size of 'exe' -


i'm trying write first 'demoscene' application in ms visual studio express 2010. realized, binary expanded 16kb ~100kb in fully-optimized-for-size release version. target size 64k. there way somehow "browse" binary figure out, methods consumes lot of space, , should rewrite? want know binary consists of.

from found in web, vs2010 not best compiler demoscenes, still want understand what's happening inside .exe file.

i think should have msvc generate map file you. file tell addresses of of different functions in executable. difference between consecutive addresses should tell how space function takes. generate map file, add /map linker option. more info, see: http://msdn.microsoft.com/en-us/library/k7xkk3e2(v=vs.100).aspx


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -