The UI Strikes Back

Almost 4 years ago, I thought than after the good adoption rate of edLeak from my colleagues, they would love to have a python API to write their own script. Unfortunately, the success has been... very disappointing. The fact is that developers...

edKit In Action

it is quite hard to feel how edLeak and edVent simplify some tasks that otherwise can take several hours or even days. So in order to allow everybody to learn and test edKit's tools, I started an edKit github page site. The most interesting...

Debugging State Machines With Scatter Plots

States machines are everywhere, used in all programming languages. Some people are fond of them, and others hate them. They may be easy to read or very cryptic, and most of the time they are not easy to debug. I will show you today how to improve...

How To Mangle And Demangle A C++ Method Name

When developing in C++ a usual task is to demangle the name of a C++ method to pretty-print it. Sometimes one also need to achieve the opposite conversion. This article explains some ways to do this, depending on whether you need a dynamic or...

The Leak Factor

EdLeak visualization tools greatly help to find memory leaks. However they still require a manual analysis so that the culprits are discovered. Let's see how memory leaks may be found automatically. Automating memory leak detection The idea of an...

A Python Line is Worth 6 JS Lines

here it is: An edLeak Python client is now available. It has all features of the html client (and even more), but required 6 times less lines of code. Why a Python Client ? Until now, the edLeak client was written in Html/Js. This choice was...

One time for the leakers, double up for the callers

EdLeak tracks only one level of callers on the allocation functions that are monitored. This allows to limit as much as possible the monitoring overhead. However sometimes this is not enough to easily find the origin of the memory leak. This is...

LD_PRELOAD for real world heap access tracking

A lot of documentation is available to explain how to use LD_PRELOAD, how to hook malloc and several basic usages of this feature. However they all fail to explain that hooking memory allocations is not that simple. I will try to list here all...

Data visualization applied to memory leak detection

The first edKit post explained  how to run edleak. Now you have slices that where dumped for 8 hours and you want to know if there is any memory leak. This task is done by the most efficient tool for visual analysis: Your eye. So as you probably...

edKit, the embedded debugging Kit

edKit development has just started. edKit is a set of tools to help debugging software. It is especially dedicated to embedded environment where big tools such as valgrind are not applicable or simply not available. The two main objectives of...