<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Exploitation on P01NT</title><link>https://outofsrvc.github.io/ar/tags/exploitation/</link><description>Recent content in Exploitation on P01NT</description><generator>Hugo</generator><language>ar</language><lastBuildDate>Thu, 13 Aug 2026 10:00:00 +0300</lastBuildDate><atom:link href="https://outofsrvc.github.io/ar/tags/exploitation/index.xml" rel="self" type="application/rss+xml"/><item><title>التخصيص الديناميكي</title><link>https://outofsrvc.github.io/ar/cworkshop/dynamic-allocation/</link><pubDate>Thu, 13 Aug 2026 10:00:00 +0300</pubDate><guid>https://outofsrvc.github.io/ar/cworkshop/dynamic-allocation/</guid><description>&lt;p>بسم الله الرحمن الرحيم.&lt;/p>
&lt;p>بعد أن تحدثنا عن الـ Heap والـ Stack وفهمنا البنية الداخلية لكل منهما وآلية عملهما، سنتطرق اليوم لشرح موضوع &lt;strong>تخصيص الذاكرة الديناميكية&lt;/strong> بطريقة موسعة — إدارة الذواكر الحرة وأشهر الثغرات المتكررة في هذا الموضوع.&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Dynamic Memory Allocation&lt;/strong>: فهمه مهم جداً لتحليل البرمجيات واستغلال الثغرات وفهم آلية عمل البرنامج من الداخل.&lt;/p>&lt;/blockquote>
&lt;h2 id="دوال-التخصيص-الأساسية">دوال التخصيص الأساسية&lt;/h2>
&lt;h3 id="1-malloc-و-free">1. malloc() و free()&lt;/h3>
&lt;p>&lt;strong>malloc&lt;/strong> تخصص كتلة ذاكرة في الـ Heap بحجم محدد (بالبايت) &lt;strong>دون تهيئة&lt;/strong> — محتواها قيم عشوائية (garbage):&lt;/p></description></item></channel></rss>