Changes

Jump to: navigation, search

SPO600 Compiled C Lab

32 bytes added, 11:58, 12 September 2014
Lab 2
{{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 sectionsand the overall file size.'''
5. Recompile the code with these changes:

Navigation menu