And so begins aesalon . . .version_0.0.0
commit9c4eb8cf14600806dd0d5e16c23f29972091e3c3
authorstrange <kawk256@gmail.com>
Sun, 20 Sep 2009 21:54:56 +0000 (20 15:54 -0600)
committerstrange <kawk256@gmail.com>
Sun, 20 Sep 2009 21:54:56 +0000 (20 15:54 -0600)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904
And so begins aesalon . . .

Aesalon, once it is completed, will be a fully-functional
dynamically-allocated memory visualization tool. The basic design is
that it overloads malloc(), free(), etc. (using LD_PRELOAD) and passes
allocation data down a pipe to a recorder, which then logs and displays
the memory allocated in a graphical form of some kind. Since most
implementations of C++'s new operator simply call malloc(), this means
that Aesalon will work for both C and C++.

If I feel like playing around with the stack a little bit, it would also
be possible to determine the scope that the malloc() call occured from.
Of course, it will be in hexidecimal, but with random assorted
information from /proc/<pid>/ and read access to the executable, it is
not impossible to do.