Posted by : Sushanth Monday 14 December 2015

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

Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © Technical Articles - Skyblue - Powered by Blogger - Designed by Johanes Djogan -