<story><title>The Shortest Crashing C Program</title><url>http://llbit.se/?p=1744</url></story><parent_chain></parent_chain><comment><author>AlexanderDhoore</author><text>This reminds me of &quot;A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux&quot; [1]. The author tries to create the smallest possible elf executable possible. You would think it&apos;d be easy... :) go read it. Very cool!&lt;p&gt;[1] &lt;a href=&quot;http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html&quot; rel=&quot;nofollow&quot;&gt;http://www.muppetlabs.com/~breadbox/software/tiny/teensy.htm...&lt;/a&gt;</text></comment>
<story><title>The Shortest Crashing C Program</title><url>http://llbit.se/?p=1744</url></story><parent_chain></parent_chain><comment><author>femto</author><text>It depends on the definition. You can do better than this if you define a valid C program as anything that passes though the C compiler and generates an executable. Behold the zero length program:&lt;p&gt;$ touch a.c&lt;p&gt;$ gcc -c a.c&lt;p&gt;$ ld a.o&lt;p&gt;ld: warning: cannot find entry symbol _start; defaulting to 0000000000400078&lt;p&gt;$ ./a.out&lt;p&gt;Segmentation fault</text></comment>