check-memory-leaks

Community

Detect memory leaks with Valgrind during builds.

Authorkzahedi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill uses valgrind to detect memory leaks and memory errors in YARS.

Core Features & Use Cases

  • Valgrind-based Checks: Run valgrind with comprehensive leak reports.
  • Memory Hygiene: Identify definitely/freeable leaks and invalid memory accesses.
  • Debug Build Advantage: Prefer a debug build for clearer stack traces during analysis.

Quick Start

cd build cmake -DCMAKE_BUILD_TYPE=Debug .. && make -j4 valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=valgrind-output.txt ./bin/yars --iterations 100 --xml ../xml/braitenberg.xml cat valgrind-output.txt

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: check-memory-leaks
Download link: https://github.com/kzahedi/YARS/archive/main.zip#check-memory-leaks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.