<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Linux&#8217;s ptrace API sucks!</title>
	<atom:link href="http://blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/</link>
	<description>Just some thoughts from a computer geek</description>
	<lastBuildDate>Thu, 05 Jan 2012 18:32:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Blog &#187; Blog Archive &#187; EDM Ollydbg for Linux</title>
		<link>http://blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/comment-page-1/#comment-7364</link>
		<dc:creator>Blog &#187; Blog Archive &#187; EDM Ollydbg for Linux</dc:creator>
		<pubDate>Sun, 30 Jan 2011 15:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/#comment-7364</guid>
		<description>[...] looks nice. only thing is the ptrace interface he&#8217;s (understandable) struggling [...]</description>
		<content:encoded><![CDATA[<p>[...] looks nice. only thing is the ptrace interface he&#8217;s (understandable) struggling [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodrigo (BSDaemon)</title>
		<link>http://blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/comment-page-1/#comment-496</link>
		<dc:creator>Rodrigo (BSDaemon)</dc:creator>
		<pubDate>Sun, 29 Mar 2009 18:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/#comment-496</guid>
		<description>Hello,

Nice article ;)

Just a comment:  System Tap is designed for kernel debugging (of course you can see what the program is doing, but it will give you an overview of the kernel-mode execution of it) whereas ptrace is for user-mode debugging...

Ptrace completely sucks mainly because nobody really knows it inner functionality anymore.  I mean, the developers are just keeping it working, but the low-level interfaces with the hardware are mainly unknow and everybody is afraid of new patches (even for supporting new architectures) because of that.

Regards,</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Nice article <img src='http://blog.codef00.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Just a comment:  System Tap is designed for kernel debugging (of course you can see what the program is doing, but it will give you an overview of the kernel-mode execution of it) whereas ptrace is for user-mode debugging&#8230;</p>
<p>Ptrace completely sucks mainly because nobody really knows it inner functionality anymore.  I mean, the developers are just keeping it working, but the low-level interfaces with the hardware are mainly unknow and everybody is afraid of new patches (even for supporting new architectures) because of that.</p>
<p>Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marlow</title>
		<link>http://blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/comment-page-1/#comment-495</link>
		<dc:creator>Marlow</dc:creator>
		<pubDate>Tue, 17 Mar 2009 21:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/#comment-495</guid>
		<description>PS.  It doesn&#039;t use ptrace-it uses kprobes, which does not guarantee catching of exit calls.  Kprobes allow you to catch any global system call, whereas ptrace seems geared mainly to signals.

Also, if you are using a diskless system and trying to transfer stuff over the wire and need a binary form for speed, systemtap is useless.</description>
		<content:encoded><![CDATA[<p>PS.  It doesn&#8217;t use ptrace-it uses kprobes, which does not guarantee catching of exit calls.  Kprobes allow you to catch any global system call, whereas ptrace seems geared mainly to signals.</p>
<p>Also, if you are using a diskless system and trying to transfer stuff over the wire and need a binary form for speed, systemtap is useless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marlow</title>
		<link>http://blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/comment-page-1/#comment-494</link>
		<dc:creator>Marlow</dc:creator>
		<pubDate>Tue, 17 Mar 2009 21:05:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/#comment-494</guid>
		<description>So what do you recommend in finding the ptrace documentation necessary for this?  I&#039;m having one hell of a time.

FWIW, systemtap is nice and all, but you have to build a new module for each stupid set of options you want to use.  Furthermore, you need to patch the kernel in order to use the markers version.

There is hope on the horizon for people who don&#039;t need these abilities now-there is a new in-kernel package called cgroup, although it had definite problems the first time I tried to use it (and I need the 2.6.15 kernel).</description>
		<content:encoded><![CDATA[<p>So what do you recommend in finding the ptrace documentation necessary for this?  I&#8217;m having one hell of a time.</p>
<p>FWIW, systemtap is nice and all, but you have to build a new module for each stupid set of options you want to use.  Furthermore, you need to patch the kernel in order to use the markers version.</p>
<p>There is hope on the horizon for people who don&#8217;t need these abilities now-there is a new in-kernel package called cgroup, although it had definite problems the first time I tried to use it (and I need the 2.6.15 kernel).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Teran</title>
		<link>http://blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/comment-page-1/#comment-489</link>
		<dc:creator>Evan Teran</dc:creator>
		<pubDate>Sun, 07 Dec 2008 03:36:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/#comment-489</guid>
		<description>at first glance, systemtap looks pretty cool. Though I think it is trying to fill a different void than the ptrace API. I would imagine that systemtap is implemented using ptrace and provides a nicer abstraction (which is a good thing and ptrace is deeply annoying). Maybe I&#039;ll take a look at the source and see what techniques they use.

Thanks.</description>
		<content:encoded><![CDATA[<p>at first glance, systemtap looks pretty cool. Though I think it is trying to fill a different void than the ptrace API. I would imagine that systemtap is implemented using ptrace and provides a nicer abstraction (which is a good thing and ptrace is deeply annoying). Maybe I&#8217;ll take a look at the source and see what techniques they use.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cyphunk</title>
		<link>http://blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/comment-page-1/#comment-488</link>
		<dc:creator>cyphunk</dc:creator>
		<pubDate>Sun, 07 Dec 2008 00:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/#comment-488</guid>
		<description>aaaah, yes.  I tried to erase from my memory all that you have thus documented here, for good reason.  Tell me, other that utrace, whats your opinion on something like &lt;a href=&quot;http://sourceware.org/systemtap/examples/&quot; rel=&quot;nofollow&quot;&gt;SystemTap&lt;/a&gt;?</description>
		<content:encoded><![CDATA[<p>aaaah, yes.  I tried to erase from my memory all that you have thus documented here, for good reason.  Tell me, other that utrace, whats your opinion on something like <a href="http://sourceware.org/systemtap/examples/" rel="nofollow">SystemTap</a>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cyphunk</title>
		<link>http://blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/comment-page-1/#comment-245</link>
		<dc:creator>cyphunk</dc:creator>
		<pubDate>Mon, 16 Jun 2008 16:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/#comment-245</guid>
		<description>thanks for the concise overview of complaints, and some junk im dealing with finding a workaround for now.  i guess ill go dig in your code to find a solution ,)</description>
		<content:encoded><![CDATA[<p>thanks for the concise overview of complaints, and some junk im dealing with finding a workaround for now.  i guess ill go dig in your code to find a solution ,)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: freenity</title>
		<link>http://blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/comment-page-1/#comment-127</link>
		<dc:creator>freenity</dc:creator>
		<pubDate>Wed, 05 Mar 2008 16:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.codef00.com/2008/01/29/linuxs-ptrace-api-sucks/#comment-127</guid>
		<description>Oh man thanks for this great debugger :)
I love ollybdg and that&#039;s exactly what linux needs a good debugger.
Thanks again and keep with the project 
Good luck</description>
		<content:encoded><![CDATA[<p>Oh man thanks for this great debugger <img src='http://blog.codef00.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I love ollybdg and that&#8217;s exactly what linux needs a good debugger.<br />
Thanks again and keep with the project<br />
Good luck</p>
]]></content:encoded>
	</item>
</channel>
</rss>

