xleak is a lightweight tool for detecting memory leaks and resource mismanagement in C/C++ programs by tracing heap allocations and deallocations with minimal overhead. It hooks into your program’s allocation functions to observe memory usage patterns, helping developers identify locations where memory was allocated but never freed, which is a common source of bugs and performance issues in unmanaged languages. The tool produces detailed reports that show the call stacks associated with leaked allocations, making it easier to track down problematic code paths and fix them. Because it focuses on transparency and low runtime impact, xleak can be used during regular testing cycles without significantly slowing down execution. It also supports integration with unit test suites, allowing teams to automatically enforce memory safety expectations with every build.

Features

  • Heap allocation tracking for C/C++ programs
  • Leak detection with call stack reports
  • Low-overhead instrumentation
  • Integration support for test automation
  • Simple CLI interface
  • Helps improve memory safety

Project Samples

Project Activity

See All Activity >

Categories

Terminals

License

MIT License

Follow xleak

xleak Web Site

Other Useful Business Software
$300 in Free Credit Across 150+ Cloud Services Icon
$300 in Free Credit Across 150+ Cloud Services

VMs, containers, AI, databases, storage | build anything. No commitment to start.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale with Google Cloud.
Start Building Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of xleak!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Terminals

Registered

2026-02-05