Open main menu

CDOT Wiki β

Changes

SPO600 Compiled C Lab

46 bytes removed, 12:02, 12 September 2014
Lab 2
(ii) Which section contains the string to be printed?
{{Admon/tip|objdump ''vs'' readelf|The way that <code>objdump</code> formats strings is ugly and not well suited for some uses (though it works well for others). The <code>readelf -p</code> command may be a better tool for viewing some strings.}}
4. Try to gain a basic understanding of what the compiled code is doing. '''Focus on the section marked <main> but also take a look at the other sections and the overall file size.'''