linux - Trace binary execution to reduce size -


when program run, parts of code executed. when using more complex frameworks lot of boilerplate included code never gets executed.

question: possible trace execution of program purpose of dumping used instructions disk , in way obtain leaner , smaller binary?

edit: understand leaner binary won't 100% equivalent original program, in corner cases. have leaner version works under stable regime.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -