Tag - debug

Entries feed - Comments feed

Thursday 23 March 2017

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.

Continue reading...

Monday 4 April 2016

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 this last point in your code.

Continue reading...

Friday 10 April 2015

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 why it is possible to trace the call-stack of leaks. This feature is available in EdLeak since a long time but I never explained how to enable it and use it. After reading this article you will be able to use it when needed.

Continue reading...

Thursday 28 June 2012

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 issues currently found when developing EdLeak and making it work reliably on several cpu architectures and on both glibc/uclibc.

Continue reading...

Wednesday 1 June 2011

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.

Continue reading...