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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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