<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <link>http://ttyshare.com/recent/</link>
    <title>TTYShare - Recent entries</title>
    <item>
      <dc:creator>northeye</dc:creator>
      <link>http://ttyshare.com/rec/northeye/107961989/</link>
      <description>Demo of the dokan twitter post client.</description>
      <dc:date>2010-09-01T13:26:29Z</dc:date>
      <dc:subject>demo</dc:subject>
      <title>dokan demo</title>
      <content:encoded><![CDATA[<embed type="application/x-shockwave-flash" src="http://ttyshare.com/t/d50ce3a0e4867845f40358530826783a98518e2b" width="480" height="288"/>
        <p>Demo of the dokan twitter post client.</p>
      ]]></content:encoded>
    </item>
    <item>
      <dc:creator>takesako</dc:creator>
      <link>http://ttyshare.com/rec/takesako/107086351/</link>
      <description>#include &amp;lt;stdio.h&amp;gt;

int fibonacci(int __)
{
int(*_)(int)=(void*)&quot;\x8BL$\x04\x31\xC0\x99I\x7F\x04&quot;
 &quot;\xE0\x01@\xC3@P\x01\xD0Z\xE2\xFA\xC3&quot;;return+_(__);
}

int main(int argc, char *argv[])
{
	int n;
        int N = (argc &amp;gt; 1) ? atoi(argv[1]) : 46;
	for (n = 0; n &amp;lt;= N; n++) {
		int f = fibonacci(n);
		printf(&quot;f[%d] = %d\n&quot;, n, f);
	}
}</description>
      <dc:date>2010-08-22T10:12:31Z</dc:date>
      <dc:subject>x86</dc:subject>
      <dc:subject>c</dc:subject>
      <title>Fibonacci by x86 (Visual C++ / Linux gcc)</title>
      <content:encoded><![CDATA[<embed type="application/x-shockwave-flash" src="http://ttyshare.com/t/843eda3224c2b70095c8716d43546ad0f7b346af" width="480" height="288"/>
        <p>#include &amp;lt;stdio.h&amp;gt;

int fibonacci(int __)
{
int(*_)(int)=(void*)&quot;\x8BL$\x04\x31\xC0\x99I\x7F\x04&quot;
 &quot;\xE0\x01@\xC3@P\x01\xD0Z\xE2\xFA\xC3&quot;;return+_(__);
}

int main(int argc, char *argv[])
{
	int n;
        int N = (argc &amp;gt; 1) ? atoi(argv[1]) : 46;
	for (n = 0; n &amp;lt;= N; n++) {
		int f = fibonacci(n);
		printf(&quot;f[%d] = %d\n&quot;, n, f);
	}
}</p>
      ]]></content:encoded>
    </item>
    <item>
      <dc:creator>takesako</dc:creator>
      <link>http://ttyshare.com/rec/takesako/107004826/</link>
      <description>$ objdump -D a.out | less
08049560 &amp;lt;main&amp;gt;:
 8049560:       60                      pusha
 8049561:       25 40 40 40 40          and    $0x40404040,%eax
 8049566:       25 21 21 21 21          and    $0x21212121,%eax
 804956b:       2d 2d 2d 2d 21          sub    $0x212d2d2d,%eax
 8049570:       2d 3a 28 2a 7d          sub    $0x7d2a283a,%eax
 8049575:       2d 5b 3a 2c 3e          sub    $0x3e2c3a5b,%eax
 804957a:       2d 7c 3b 7c 60          sub    $0x607c3b7c,%eax
 804957f:       60                      pusha
 8049580:       5b                      pop    %ebx
 8049581:       5b                      pop    %ebx
 8049582:       5b                      pop    %ebx
 8049583:       5b                      pop    %ebx
 8049584:       5b                      pop    %ebx
 8049585:       5b                      pop    %ebx
 8049586:       5b                      pop    %ebx
 8049587:       25 40 40 40 40          and    $0x40404040,%eax</description>
      <dc:date>2010-08-21T11:33:46Z</dc:date>
      <dc:subject>x86</dc:subject>
      <title>Linux x86 no-alnum Hello world!</title>
      <content:encoded><![CDATA[<embed type="application/x-shockwave-flash" src="http://ttyshare.com/t/eeb225946f4a3517ef4e8b4bb674858e1c5f19e5" width="480" height="288"/>
        <p>$ objdump -D a.out | less
08049560 &amp;lt;main&amp;gt;:
 8049560:       60                      pusha
 8049561:       25 40 40 40 40          and    $0x40404040,%eax
 8049566:       25 21 21 21 21          and    $0x21212121,%eax
 804956b:       2d 2d 2d 2d 21          sub    $0x212d2d2d,%eax
 8049570:       2d 3a 28 2a 7d          sub    $0x7d2a283a,%eax
 8049575:       2d 5b 3a 2c 3e          sub    $0x3e2c3a5b,%eax
 804957a:       2d 7c 3b 7c 60          sub    $0x607c3b7c,%eax
 804957f:       60                      pusha
 8049580:       5b                      pop    %ebx
 8049581:       5b                      pop    %ebx
 8049582:       5b                      pop    %ebx
 8049583:       5b                      pop    %ebx
 8049584:       5b                      pop    %ebx
 8049585:       5b                      pop    %ebx
 8049586:       5b                      pop    %ebx
 8049587:       25 40 40 40 40          and    $0x40404040,%eax</p>
      ]]></content:encoded>
    </item>
    <item>
      <dc:creator>nobodyspecial</dc:creator>
      <link>http://ttyshare.com/rec/nobodyspecial/105220170/</link>
      <description>A common request for reporting crashes is to produce a &quot;core dump,&quot; but as many people don't know how to do this, instead a &quot;stack trace&quot; is all that's asked for.

In this ttyrec, we produce a program that will fault and exit. Then we show how to run in a debugger and view a backtrace. Then we examine how to ensure that the memory core is dumped to a file called simply &quot;core,&quot; and how to load it into gdb for debugging.

Details:

ulimit -c allows you to set the number of bytes that sets the ceiling on how large a memory is allowed to be dumped to disk. If every program that crashed produced a core dump, you could run out of disk space in no time if a program kept crashing and restarting, so this setting is usually 0.

You will require the same program binary to load the memory core correctly, so be sure you make sure you are working from the same program and DSOs (aka dylibs.)</description>
      <dc:date>2010-07-31T19:49:30Z</dc:date>
      <dc:subject>coredump</dc:subject>
      <dc:subject>core</dc:subject>
      <dc:subject>gdb</dc:subject>
      <dc:subject>backtrace</dc:subject>
      <title>Hacker How-To: Produce core dumps for later debugging</title>
      <content:encoded><![CDATA[<embed type="application/x-shockwave-flash" src="http://ttyshare.com/t/35975b9c78be29b871caa9746f0ef76520e1c1fc" width="480" height="288"/>
        <p>A common request for reporting crashes is to produce a &quot;core dump,&quot; but as many people don't know how to do this, instead a &quot;stack trace&quot; is all that's asked for.

In this ttyrec, we produce a program that will fault and exit. Then we show how to run in a debugger and view a backtrace. Then we examine how to ensure that the memory core is dumped to a file called simply &quot;core,&quot; and how to load it into gdb for debugging.

Details:

ulimit -c allows you to set the number of bytes that sets the ceiling on how large a memory is allowed to be dumped to disk. If every program that crashed produced a core dump, you could run out of disk space in no time if a program kept crashing and restarting, so this setting is usually 0.

You will require the same program binary to load the memory core correctly, so be sure you make sure you are working from the same program and DSOs (aka dylibs.)</p>
      ]]></content:encoded>
    </item>
    <item>
      <dc:creator>nobodyspecial</dc:creator>
      <link>http://ttyshare.com/rec/nobodyspecial/105119395/</link>
      <description>productivity++</description>
      <dc:date>2010-07-30T15:49:55Z</dc:date>
      <dc:subject>bash</dc:subject>
      <title>papajohns /etc/hosts</title>
      <content:encoded><![CDATA[<embed type="application/x-shockwave-flash" src="http://ttyshare.com/t/99b5e0bd37559bd18990daca8f73b20603f01b31" width="480" height="288"/>
        <p>productivity++</p>
      ]]></content:encoded>
    </item>
    <item>
      <dc:creator>elim</dc:creator>
      <link>http://ttyshare.com/rec/elim/103960223/</link>
      <description>へたれすぎる……</description>
      <dc:date>2010-07-17T05:50:23Z</dc:date>
      <dc:subject>typespeed</dc:subject>
      <title>初回。</title>
      <content:encoded><![CDATA[<embed type="application/x-shockwave-flash" src="http://ttyshare.com/t/2f51389d50165905a2d399e8cce7f2a79f4b991b" width="480" height="288"/>
        <p>へたれすぎる……</p>
      ]]></content:encoded>
    </item>
    <item>
      <dc:creator>willian</dc:creator>
      <link>http://ttyshare.com/rec/willian/101224014/</link>
      <description></description>
      <dc:date>2010-06-15T13:46:54Z</dc:date>
      <dc:subject>SED</dc:subject>
      <dc:subject>-I</dc:subject>
      <title>SED -I</title>
      <content:encoded><![CDATA[<embed type="application/x-shockwave-flash" src="http://ttyshare.com/t/8e5b70ce285c013e3c5b11f10f8118c7173f3f24" width="480" height="288"/>
      ]]></content:encoded>
    </item>
    <item>
      <dc:creator>willian</dc:creator>
      <link>http://ttyshare.com/rec/willian/101223903/</link>
      <description></description>
      <dc:date>2010-06-15T13:45:03Z</dc:date>
      <dc:subject>SED</dc:subject>
      <title>SED</title>
      <content:encoded><![CDATA[<embed type="application/x-shockwave-flash" src="http://ttyshare.com/t/309b8be593d62139812d0d2083897d8bc079c1d2" width="480" height="288"/>
      ]]></content:encoded>
    </item>
    <item>
      <dc:creator>willian</dc:creator>
      <link>http://ttyshare.com/rec/willian/100927119/</link>
      <description></description>
      <dc:date>2010-06-12T03:18:39Z</dc:date>
      <dc:subject>SED</dc:subject>
      <title>SED</title>
      <content:encoded><![CDATA[<embed type="application/x-shockwave-flash" src="http://ttyshare.com/t/dfb1a37195db96fcb0869a7bc17e863089b8ea39" width="480" height="288"/>
      ]]></content:encoded>
    </item>
    <item>
      <dc:creator>willian</dc:creator>
      <link>http://ttyshare.com/rec/willian/100927031/</link>
      <description></description>
      <dc:date>2010-06-12T03:17:11Z</dc:date>
      <dc:subject>GREP</dc:subject>
      <title>GREP</title>
      <content:encoded><![CDATA[<embed type="application/x-shockwave-flash" src="http://ttyshare.com/t/dcd6ae8bd554fec95291abdf5aa4325007be073a" width="480" height="288"/>
      ]]></content:encoded>
    </item>
  </channel>
</rss>
