<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Malloc on P01NT</title><link>https://outofsrvc.github.io/en/tags/malloc/</link><description>Recent content in Malloc on P01NT</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 13 Aug 2026 10:00:00 +0300</lastBuildDate><atom:link href="https://outofsrvc.github.io/en/tags/malloc/index.xml" rel="self" type="application/rss+xml"/><item><title>Dynamic Memory Allocation</title><link>https://outofsrvc.github.io/en/cworkshop/dynamic-allocation/</link><pubDate>Thu, 13 Aug 2026 10:00:00 +0300</pubDate><guid>https://outofsrvc.github.io/en/cworkshop/dynamic-allocation/</guid><description>&lt;p>Bismillah.&lt;/p>
&lt;p>After discussing the heap and the stack and understanding the internal structure of each, today we cover &lt;strong>dynamic memory allocation&lt;/strong> in an expanded way — free-memory management and the most common vulnerabilities in this area.&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Dynamic Memory Allocation&lt;/strong>: understanding it is essential for analyzing software, exploiting vulnerabilities, and understanding how programs work from the inside.&lt;/p>&lt;/blockquote>
&lt;h2 id="core-allocation-functions">Core Allocation Functions&lt;/h2>
&lt;h3 id="1-malloc-and-free">1. malloc() and free()&lt;/h3>
&lt;p>&lt;strong>malloc&lt;/strong> allocates a heap block of a given size (in bytes) &lt;strong>without initialization&lt;/strong> — its contents are garbage values:&lt;/p></description></item></channel></rss>