Open main menu

CDOT Wiki β

Changes

SPO600 Compiled C Lab

26 bytes added, 08:42, 12 September 2014
Lab 2
(ii) Which section contains the string to be printed?
{{Admon/tip|objdump ''vs'' readelf|The output of strings using way that <code>objdump</code> formats strings is ugly and not formatted in the best way well suited for some purposesuses (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.