<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Wojciech Jamrozy blog &#187; C++</title>
	<atom:link href="http://www.wojtekrj.net/category/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wojtekrj.net</link>
	<description>Blog about computer science, programming and linux</description>
	<lastBuildDate>Sun, 23 Oct 2011 21:57:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>[C++] Measuring entropy of file / partition</title>
		<link>http://www.wojtekrj.net/2009/08/c-measuring-entropy-of-file-partition/</link>
		<comments>http://www.wojtekrj.net/2009/08/c-measuring-entropy-of-file-partition/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 13:13:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Entropy]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=274</guid>
		<description><![CDATA[You can get further information about entropy here. Here is code of my program entropy.cpp: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 [...]]]></description>
			<content:encoded><![CDATA[<p>You can get further information about entropy <a target="_blank" href="http://en.wikipedia.org/wiki/Entropy_(information_theory)">here</a>.<br />
Here is code of my program <em>entropy.cpp</em>:<span id="more-274"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
</pre></td><td class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #666666;">// entropy.cpp</span>
<span style="color: #666666;">// Author: Wojtek Jamrozy (www.wojtekrj.net)</span>
<span style="color: #339900;">#include &lt;cstdio&gt;</span>
<span style="color: #339900;">#include &lt;cstring&gt;</span>
<span style="color: #339900;">#include &lt;cmath&gt;</span>
<span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">char</span> buffer<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">524290</span><span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
<span style="color: #0000ff;">long</span> <span style="color: #0000ff;">long</span> sum<span style="color: #008080;">;</span>
<span style="color: #0000ff;">long</span> <span style="color: #0000ff;">long</span> count<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">256</span><span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
&nbsp;
<span style="color: #0000ff;">int</span> main<span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> argc, <span style="color: #0000ff;">char</span><span style="color: #000040;">*</span> argv<span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span> 
<span style="color: #008000;">&#123;</span>	
	<span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>argc<span style="color: #000040;">!</span><span style="color: #000080;">=</span><span style="color: #0000dd;">2</span><span style="color: #008000;">&#41;</span>
	<span style="color: #008000;">&#123;</span>
		<span style="color: #0000dd;">printf</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot;Usage: entropy &lt;file&gt;&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
		<span style="color: #0000ff;">return</span> <span style="color: #0000dd;">1</span><span style="color: #008080;">;</span>
	<span style="color: #008000;">&#125;</span>
	<span style="color: #0000ff;">FILE</span> <span style="color: #000040;">*</span> pFile<span style="color: #008080;">;</span>
	pFile <span style="color: #000080;">=</span> <span style="color: #0000dd;">fopen</span> <span style="color: #008000;">&#40;</span>argv<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #008000;">&#93;</span> , <span style="color: #FF0000;">&quot;rb&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	<span style="color: #0000ff;">if</span> <span style="color: #008000;">&#40;</span>pFile <span style="color: #000080;">==</span> <span style="color: #0000ff;">NULL</span><span style="color: #008000;">&#41;</span>
		<span style="color: #0000dd;">perror</span> <span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot;Error opening file&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	<span style="color: #0000ff;">else</span> <span style="color: #008000;">&#123;</span>
		<span style="color: #0000ff;">int</span> rnumber<span style="color: #008080;">;</span>
		<span style="color: #0000ff;">while</span><span style="color: #008000;">&#40;</span>rnumber <span style="color: #000080;">=</span> <span style="color: #0000dd;">fread</span> <span style="color: #008000;">&#40;</span>buffer,<span style="color: #0000dd;">1</span>,<span style="color: #0000dd;">524288</span>,pFile<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			sum <span style="color: #000040;">+</span><span style="color: #000080;">=</span> rnumber<span style="color: #008080;">;</span>
			<span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> i<span style="color: #000080;">=</span><span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>i<span style="color: #000080;">&lt;</span>rnumber<span style="color: #008080;">;</span><span style="color: #000040;">++</span>i<span style="color: #008000;">&#41;</span>
				count<span style="color: #008000;">&#91;</span>buffer<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008000;">&#93;</span><span style="color: #000040;">++</span><span style="color: #008080;">;</span>
		<span style="color: #008000;">&#125;</span>
		<span style="color: #0000dd;">fclose</span> <span style="color: #008000;">&#40;</span>pFile<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
		<span style="color: #0000ff;">long</span> <span style="color: #0000ff;">double</span> result<span style="color: #000080;">=</span><span style="color:#800080;">0.0</span>, p<span style="color: #008080;">;</span>
		<span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> i<span style="color: #000080;">=</span><span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>i<span style="color: #000080;">&lt;</span><span style="color: #0000dd;">256</span><span style="color: #008080;">;</span><span style="color: #000040;">++</span>i<span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			<span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span><span style="color: #000040;">!</span>count<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span> <span style="color: #0000ff;">continue</span><span style="color: #008080;">;</span>
			p <span style="color: #000080;">=</span> <span style="color: #008000;">&#40;</span><span style="color: #0000ff;">long</span> <span style="color: #0000ff;">double</span><span style="color: #008000;">&#41;</span>count<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #000040;">/</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">long</span> <span style="color: #0000ff;">double</span><span style="color: #008000;">&#41;</span>sum<span style="color: #008080;">;</span>
			result <span style="color: #000040;">-</span><span style="color: #000080;">=</span> p<span style="color: #000040;">*</span><span style="color: #0000dd;">log</span><span style="color: #008000;">&#40;</span>p<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
		<span style="color: #008000;">&#125;</span>
		result <span style="color: #000040;">/</span><span style="color: #000080;">=</span> <span style="color: #0000dd;">log</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">256</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
		<span style="color: #0000dd;">printf</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot;Numer of samples: %lld<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>, sum<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
		<span style="color: #0000dd;">printf</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot;Entropy %.10Lf bits per byte (%.2LF %%)<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>, result<span style="color: #000040;">*</span><span style="color: #0000dd;">8</span>, result<span style="color: #000040;">*</span><span style="color:#800080;">100.0</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	<span style="color: #008000;">&#125;</span>
	<span style="color: #0000ff;">return</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<p>To get better performance, compile it with following syntax:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">g++</span> <span style="color: #660033;">-O2</span> <span style="color: #660033;">-static</span> entropy.cpp <span style="color: #660033;">-o</span> entropy</pre></div></div>

<p>Usage:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>entropy <span style="color: #c20cb9; font-weight: bold;">file</span></pre></div></div>

<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fc-measuring-entropy-of-file-partition%2F&amp;linkname=%5BC%2B%2B%5D%20Measuring%20entropy%20of%20file%20%2F%20partition" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fc-measuring-entropy-of-file-partition%2F&amp;linkname=%5BC%2B%2B%5D%20Measuring%20entropy%20of%20file%20%2F%20partition" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fc-measuring-entropy-of-file-partition%2F&amp;linkname=%5BC%2B%2B%5D%20Measuring%20entropy%20of%20file%20%2F%20partition" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fc-measuring-entropy-of-file-partition%2F&amp;linkname=%5BC%2B%2B%5D%20Measuring%20entropy%20of%20file%20%2F%20partition" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fc-measuring-entropy-of-file-partition%2F&amp;linkname=%5BC%2B%2B%5D%20Measuring%20entropy%20of%20file%20%2F%20partition" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fc-measuring-entropy-of-file-partition%2F&amp;linkname=%5BC%2B%2B%5D%20Measuring%20entropy%20of%20file%20%2F%20partition" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_msdn" href="http://www.addtoany.com/add_to/msdn?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fc-measuring-entropy-of-file-partition%2F&amp;linkname=%5BC%2B%2B%5D%20Measuring%20entropy%20of%20file%20%2F%20partition" title="MSDN" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/msdn.png" width="16" height="16" alt="MSDN"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fc-measuring-entropy-of-file-partition%2F&amp;linkname=%5BC%2B%2B%5D%20Measuring%20entropy%20of%20file%20%2F%20partition" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fc-measuring-entropy-of-file-partition%2F&amp;linkname=%5BC%2B%2B%5D%20Measuring%20entropy%20of%20file%20%2F%20partition" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_button_technet" href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fc-measuring-entropy-of-file-partition%2F&amp;linkname=%5BC%2B%2B%5D%20Measuring%20entropy%20of%20file%20%2F%20partition" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fc-measuring-entropy-of-file-partition%2F&amp;title=%5BC%2B%2B%5D%20Measuring%20entropy%20of%20file%20%2F%20partition" id="wpa2a_2">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2009/08/c-measuring-entropy-of-file-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Linux] How to check if program has memory leaks</title>
		<link>http://www.wojtekrj.net/2009/04/linux-how-to-check-if-program-has-memory-leaks/</link>
		<comments>http://www.wojtekrj.net/2009/04/linux-how-to-check-if-program-has-memory-leaks/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 16:56:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=168</guid>
		<description><![CDATA[You can check your program using command: valgrind your_program Example of usage: We have following C++ program (tst.cpp): int main&#40;&#41; &#123; int * tab = new int&#91;1000000&#93;; return 0; &#125; Obviously it generates memory leak. We compile it to tst file and execute: valgrind tst ==20777== Memcheck, a memory error detector. ==20777== Copyright (C) 2002-2008, [...]]]></description>
			<content:encoded><![CDATA[<p>You can check your program using command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">valgrind</span> your_program</pre></div></div>

<p>Example of usage:<br />
We have following C++ program (tst.cpp):</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #0000ff;">int</span> main<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span>
	<span style="color: #0000ff;">int</span> <span style="color: #000040;">*</span> tab <span style="color: #000080;">=</span> <span style="color: #0000dd;">new</span> <span style="color: #0000ff;">int</span><span style="color: #008000;">&#91;</span><span style="color: #0000dd;">1000000</span><span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
	<span style="color: #0000ff;">return</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

<p>Obviously it generates memory leak. We compile it to <em>tst</em> file and execute:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">valgrind</span> tst</pre></div></div>

<p><span id="more-168"></span></p>
<pre>==20777== Memcheck, a memory error detector.
==20777== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==20777== Using LibVEX rev 1884, a library for dynamic binary translation.
==20777== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==20777== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.
==20777== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==20777== For more details, rerun with: -v
==20777==
==20777==
==20777== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 17 from 1)
==20777== malloc/free: in use at exit: 4,000,000 bytes in 1 blocks.
==20777== malloc/free: 1 allocs, 0 frees, 4,000,000 bytes allocated.
==20777== For counts of detected errors, rerun with: -v
==20777== searching for pointers to 1 not-freed blocks.
==20777== checked 93,180 bytes.
==20777==
==20777== LEAK SUMMARY:
==20777==    definitely lost: 0 bytes in 0 blocks.
==20777==      possibly lost: 4,000,000 bytes in 1 blocks.
==20777==    still reachable: 0 bytes in 0 blocks.
==20777==         suppressed: 0 bytes in 0 blocks.
==20777== Rerun with --leak-check=full to see details of leaked memory.</pre>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how-to-check-if-program-has-memory-leaks%2F&amp;linkname=%5BLinux%5D%20How%20to%20check%20if%20program%20has%20memory%20leaks" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how-to-check-if-program-has-memory-leaks%2F&amp;linkname=%5BLinux%5D%20How%20to%20check%20if%20program%20has%20memory%20leaks" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how-to-check-if-program-has-memory-leaks%2F&amp;linkname=%5BLinux%5D%20How%20to%20check%20if%20program%20has%20memory%20leaks" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how-to-check-if-program-has-memory-leaks%2F&amp;linkname=%5BLinux%5D%20How%20to%20check%20if%20program%20has%20memory%20leaks" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how-to-check-if-program-has-memory-leaks%2F&amp;linkname=%5BLinux%5D%20How%20to%20check%20if%20program%20has%20memory%20leaks" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how-to-check-if-program-has-memory-leaks%2F&amp;linkname=%5BLinux%5D%20How%20to%20check%20if%20program%20has%20memory%20leaks" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_msdn" href="http://www.addtoany.com/add_to/msdn?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how-to-check-if-program-has-memory-leaks%2F&amp;linkname=%5BLinux%5D%20How%20to%20check%20if%20program%20has%20memory%20leaks" title="MSDN" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/msdn.png" width="16" height="16" alt="MSDN"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how-to-check-if-program-has-memory-leaks%2F&amp;linkname=%5BLinux%5D%20How%20to%20check%20if%20program%20has%20memory%20leaks" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how-to-check-if-program-has-memory-leaks%2F&amp;linkname=%5BLinux%5D%20How%20to%20check%20if%20program%20has%20memory%20leaks" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_button_technet" href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how-to-check-if-program-has-memory-leaks%2F&amp;linkname=%5BLinux%5D%20How%20to%20check%20if%20program%20has%20memory%20leaks" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how-to-check-if-program-has-memory-leaks%2F&amp;title=%5BLinux%5D%20How%20to%20check%20if%20program%20has%20memory%20leaks" id="wpa2a_4">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2009/04/linux-how-to-check-if-program-has-memory-leaks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

