Stack & Heap Simulator Firefox

Stack & Heap Simulator

Interactive memory simulator: visualise stack frames, heap blocks, and pointers side-by-side. Watch allocation, deallocation, dangling pointers, memory leaks, and heap fragmentation in real time. Five guided scenarios. All client-side. • No tracking.
xHeader
Modify request and response headers. No ads, no malware.

特徴と機能

🧠 Stack & Heap Simulator brings one of computer science's most important concepts directly into your Firefox sidebar — an interactive, colour-coded visualisation of how programs use memory, updated live as you click.

🔍 WHAT IT DOES: A persistent Firefox sidebar lets you build up a real memory picture step by step: push function call frames onto the stack, allocate blocks on the heap, connect them with pointer variables, then free blocks and pop frames — and watch exactly what goes wrong when you don't do it in the right order.

📐 TWO-COLUMN CANVAS: 🟢 Left column — the Stack. Grows downward (high → low addresses). Each function call adds a named frame containing local variables and a return address. The active frame glows purple; the SP (stack pointer) is marked with a dashed line. 🔵 Right column — the Heap. Grows upward (low → high addresses). Each malloc() adds a blue block with its ID, size, and address. New blocks appear above older ones, correctly reflecting heap growth direction. 🟡 Yellow Bézier arrows connect stack pointer variables to their heap blocks across the gap between columns.

🔴 MEMORY ERRORS — MADE VISIBLE: Unlike reading about memory bugs in a book, this simulator shows them in colour: • Dangling pointer — free a heap block while a pointer still references it. The arrow and variable turn red immediately, labelled DANGLING. • Memory leak — pop a stack frame without freeing its heap blocks. Orphaned blocks turn orange, labelled LEAKED. • Heap fragmentation — allocate several blocks, free alternating ones, and see the live (blue) and free (gray dashed) blocks interleaved in the heap column.

📖 FIVE GUIDED SCENARIOS: Click any scenario card in the Scenarios tab to watch an auto-play walkthrough at 650 ms per step: • Basic Allocation — the fundamental stack-to-heap relationship with a pointer. • Function Call Stack — push main() → foo() → bar() with local variables, then pop them LIFO. • Memory Leak — return from a function without freeing heap memory. • Dangling Pointer — free a block while a stack pointer still holds its address. • Heap Fragmentation — allocate four blocks, free the alternating ones, see the gaps.

📚 BUILT-IN REFERENCE (Explain tab): Four compact concept rows — Stack, Heap, Pointers, and Call Frames — give the essential theory in a format that fits entirely on screen without scrolling, followed by a memory layout diagram showing high-address stack base, stack growth direction, free space, heap growth direction, and low-address heap base.

🔒 SECURITY-FIRST ARCHITECTURE: ✅ No data collection — explicitly declared in manifest.json via data_collection_permissions: ["none"]. ✅ No telemetry — no analytics, no external pings, zero network requests of any kind. ✅ No eval() — safe, audited code meeting Firefox extension standards. ✅ No innerHTML — all rendering via the Canvas 2D API; all DOM updates via textContent. ✅ No permissions — the permissions array in manifest.json is completely empty. ✅ Input validation on every state mutation before it touches the canvas. ✅ Content Security Policy locked to script-src 'self'.

🎯 PERFECT FOR: • Students in systems programming, OS, or C/C++ courses who want a visual complement to lectures. • Developers debugging memory errors or learning allocator behavior. • CS educators who want an interactive demo to show alongside a whiteboard. • Anyone who has ever wondered what malloc(), free(), stack frames, and pointers actually look like at runtime.

⚙️ TECHNICAL: • Firefox 140.0+ desktop only · Manifest v2 · Sidebar panel. • Zero network requests · Zero storage · No background scripts · No account required. • Runtime Execution RAM Footprint: ~42 KB (core scripts: manifest.json + panel.html + styles.css + script.js). • Total Extension Download/Install Size: ~ 96KB (including README.md). • No permissions required — manifest.json permissions array is empty.

🔒 100% Client-Side · No Data Collection · No Tracking · No Account.

🧠 Stack & Heap Simulator: See the memory. Understand the machine.

ユーザー成長とダウンロード統計

Manifest V2 Add-on
提供元:
Libor Benes (Dr. B)
日間ユーザー:
2
バージョン:
1.0 最終更新日: 2026-05-13
バージョンコード:
6255658
作成日:
2026-05-10
リスク:
Very low risk impact High risk likelihood
サイズ:
33.71KB
メールアドレス:
Be*****@iwp.edu
URL:
Webサイト
詳細説明:
詳細な説明を見る
ソース:
Firefoxアドオンストア
データ取得日:
2026-08-01
統計とランキングを比較:

開発者に問い合わせる

Chrome-Stats はこの Firefoxアドオン を所有していません。以下の情報を使用して、Firefoxアドオン 開発者にお問い合わせください。
開発元:
Libor Benes (Dr. B)
Firefoxアドオンストア
https://addons.mozilla.org/firefox/addon/stack_heap_simulator/
電子メール:
Be*****@iwp.edu
ウェブサイト:
https://www.linkedin.com/in/LiborBenes

Stack & Heap Simulatorは安全ですか?

リスク影響度
リスク影響度は、拡張機能がアクセスできる追加の権限のレベルを測定します。低リスク影響度の拡張機能は多くの害を及ぼすことができませんが、高リスク影響度の拡張機能はパスワードの盗難、セキュリティ設定の回避、個人データへのアクセスなど、多くの被害を与える可能性があります。高リスク影響度の拡張機能は必ずしも悪意があるわけではありません。しかし、悪意を持つようになると、非常に有害になる可能性があります。

Stack & Heap Simulatorは機密権限を必要としません。

リスク影響度分析の詳細
  • Low This permission has no access or impact on the user's system or data, thus carrying no risk.
リスク可能性
リスク可能性は、Firefoxアドオンが悪意を持つ可能性を測定します。これは、Firefoxアドオンストアにおける発行者とFirefoxアドオンの評判、Firefoxアドオンが存在している期間、およびFirefoxアドオンに関する他のシグナルによって決定されます。私たちのアルゴリズムは完璧ではなく、悪意のある拡張機能を検出する新しい方法を発見するにつれて変更される可能性があります。Firefoxアドオンをインストールする際には常に注意することをお勧めします。

Stack & Heap Simulatorは最近追加されたばかりで、リスクレベルを正確に評価するのに十分なデータを収集するほど長く存在していません。

リスク可能性分析の詳細
  • High This extension website URL may be invalid
  • High **** ********* *** *** **** ****** ********* ********** *** *** ** ****** ** *****
  • Medium **** ********* *** ******* ** *** **** * ******* *** ******* *** *** ** ****** ** *****
  • Medium **** ********* *** ***** ** *** **** * ******* *** ********** *** *** ** ****** ** *****
Extension Guard
エクステンションガード

Extension Guardで使用中のすべての拡張機能を発見し、リスクを分析し、ブロックポリシーを適用します

ブラウザを安全にしましょう
完全なリスク分析の詳細を見るにはアップグレードしてください

ベストのStack & Heap Simulator代替案

Stack & Heap Simulatorに類似したFirefox add-onをいくつか紹介します: