An intelligent memory leak detection and analysis tool powered by Ollama (Gemma 3). Analyze C/C++ binaries and source code for memory leaks, corruption, and other issues.
- Local File Analysis: Load and analyze C/C++ binaries and source files locally
- AI-Powered Analysis: Local AI integration (Gemma 3) for intelligent leak detection and recommendations
- Real-time Visualization: Interactive dashboard for memory issue visualization
- Comprehensive Reports: Detailed analysis reports with actionable insights
- Multi-format Support: Support for binaries, source code, and debug symbols
memoryLeakAnalyzer/
├── frontend/ # React + TypeScript UI
├── backend/ # Node.js + Express API
├── cpp-analyzer/ # C/C++ analysis engine
└── README.md
- Node.js 18+
- Python 3.8+
- CMake 3.15+
- Xcode Command Line Tools (macOS)
- Ollama (running gemma3:1b)
- Install dependencies for all workspaces:
npm install- Set up environment variables:
cp backend/.env.example backend/.env
# Configure Ollama in backend/.env if needed- Build the C/C++ analyzer:
npm run build:backendStart development servers:
npm run devThis will start:
- Frontend: http://localhost:3000
- Backend API: http://localhost:4000
You can also run the application using Docker Compose:
# Build and start services
docker-compose up -d --build
# View logs
docker-compose logs -fAccessible at:
- Frontend: http://localhost:3000
- Backend: http://localhost:4000
npm run buildnpm run test- Open the application in your browser
- Upload a C/C++ binary or source file
- Configure analysis parameters
- Submit for analysis
- View AI-powered insights and recommendations
See backend/README.md for API documentation.
See cpp-analyzer/README.md for details on the analysis engine.
Contributions are welcome! Please follow the coding standards and submit pull requests.
MIT

