Skip to content

tobiasworkstech/ai-cmla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai-CMLA

ai-CMLA Banner

Application Dashboard

ai-CMLA Dashboard

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.

Features

  • 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

Project Structure

memoryLeakAnalyzer/
├── frontend/              # React + TypeScript UI
├── backend/               # Node.js + Express API
├── cpp-analyzer/          # C/C++ analysis engine
└── README.md

Getting Started

Prerequisites

  • Node.js 18+
  • Python 3.8+
  • CMake 3.15+
  • Xcode Command Line Tools (macOS)
  • Ollama (running gemma3:1b)

Installation

  1. Install dependencies for all workspaces:
npm install
  1. Set up environment variables:
cp backend/.env.example backend/.env
# Configure Ollama in backend/.env if needed
  1. Build the C/C++ analyzer:
npm run build:backend

Development

Start development servers:

npm run dev

This will start:

Docker Compose

You can also run the application using Docker Compose:

# Build and start services
docker-compose up -d --build

# View logs
docker-compose logs -f

Accessible at:

Building

npm run build

Testing

npm run test

Usage

  1. Open the application in your browser
  2. Upload a C/C++ binary or source file
  3. Configure analysis parameters
  4. Submit for analysis
  5. View AI-powered insights and recommendations

API Documentation

See backend/README.md for API documentation.

C/C++ Analyzer

See cpp-analyzer/README.md for details on the analysis engine.

Contributing

Contributions are welcome! Please follow the coding standards and submit pull requests.

License

MIT

ai-cmla

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published