Purpose:
Find memory
leaks and
invalid Memory Use
Tools:
Valgrind
Syntax:
–valgrind --leak-check=full --verbose
--show-reachable=yes --track-origins=yes --log-file=<Filename>
–v <Command>
Procedure
:
–Step1: Compile in debug mode(use options –g –p)
–Step2: Valgrind command
- Step3
: Report
No comments:
Post a Comment