Programowanie w systemie UNIX/Valgrind: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
→‎Kompilacja programu: The Valgrind Quick Start Guide
Linia 3:
 
=Kompilacja programu=
* kompilacja z opcją -g<ref>[http://web.cs.swarthmore.edu/~newhall/unixhelp/purify.html Using valgrind by Tia Newhall]</ref> i -O0 <ref>[http://valgrind.org/docs/manual/quick-start.html The Valgrind Quick Start Guide]</ref>
* uruchomienie valgrinda z opcją -v
 
Linia 13:
 
valgrind -v ./a.out >& out # re-direct valgrind (and a.out) output to file 'out'
 
 
=Przykłady =