If you only wanted to observe the behavior the post is discussing, it seems like `ltrace -e malloc` is a lot easier.