Open main menu

CDOT Wiki β

Changes

SPO600 Compiled C Lab

222 bytes added, 15:53, 9 September 2014
no edit summary
(i) Which section contains the code you wrote?
(ii) Which section contains the string to be printed?
 
{{Admon/tip|objdump ''vs'' readelf|The output of strings using <code>objdump</code> is not formatted in the best way for some purposes. 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.