From 48fdccc03dd474e222c9d3627b91595fb0d19b72 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Wed, 29 Feb 2012 23:54:22 +0100 Subject: [PATCH 1/1] HACKING.asciidoc: mention how to use valgrind --- HACKING.asciidoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/HACKING.asciidoc b/HACKING.asciidoc index 5b2937d..cd9486d 100644 --- a/HACKING.asciidoc +++ b/HACKING.asciidoc @@ -22,3 +22,10 @@ can run: $ cmake ../ -DCMAKE_C_COMPILER=cgcc $ make +=== Valgrind + +You can run the test program under the http://valgrind.org/[valgrind] +dynamic analyzer by using a command like: + + $ valgrind --leak-check=full --show-reachable=yes --track-origins=yes \ + ./bin/picoproj -W 800 -H 480 -f my_image.jpg -- 2.1.4