examples: set proper return codes in am7xxx-play
[libam7xxx.git] / HACKING.asciidoc
index 5b2937d..cd9486d 100644 (file)
@@ -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