memory-analysis

Solid

Embedded memory analysis, optimization, and leak detection

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Memory Analysis Skill ## Overview This skill provides comprehensive memory analysis capabilities for embedded systems, including linker map analysis, stack usage estimation, heap fragmentation detection, and memory optimization strategies. ## Capabilities ### Linker Map Analysis - Map file parsing and interpretation - Symbol size analysis - Section size breakdown - Memory region utilization - Unused symbol detection - Cross-reference analysis ### Stack Analysis - Static stack usage analysis - Call graph generation - Worst-case stack depth calculation - Per-function stack usage - Interrupt stack analysis - Stack overflow detection strategies ### Heap Analysis - Heap fragmentation analysis - Allocation pattern analysis - Memory pool sizing - Leak detection strategies - Peak usage tracking - Block size distribution ### Memory Optimization - Section placement optimization - Flash vs RAM trade-offs - Const correctness enforcement - String pooling strategies - Data structure packing - Alignment optimization ### Memory Protection - MPU region configuration - Stack guard implementation - Buffer overflow protection - Memory isolation strategies ### Tooling Integration - GCC map file analysis - ARM Compiler map files - Puncover integration - Static analysis integration - objdump/readelf usage ## Target Processes - `memory-architecture-planning.js` - Memory layout design - `code-size-optimization.js` - Size reduction strategies - `execution-speed-profiling.js` - Memory acce...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills