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.

특징 및 기능

🧠 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
버전:
1.0 마지막 업데이트: 2026-05-13
버전 코드:
6255658
생성 날짜:
2026-05-10
위험:
Very low risk impact High risk likelihood
크기:
33.71KB
이메일:
Be*****@iwp.edu
URL:
웹사이트
전체 설명:
자세한 설명 보기
소스:
Firefox 부가 기능 스토어
데이터 수집일:
2026-07-31
통계 및 순위 비교:

개발자에게 문의

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입니다: