UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2017 - January 2018

17.5.4.  Execution with Valgrind of programs previously written

Resources

  • Personal collection of programs written so far in the course that use operations for dynamic memory management.

Work Plan

  1. Review your collection of programs written in C so far in the course as well as the one from your lab partner and mark those in with dynamic memory management operations (malloc, calloc, free o realloc).

  2. For each of them, compile and execute again the program but using Valgrind. Without fixing any of the anomalies, create a table in which you show the name of the program and the type of anomaly appearing. Show the table to the professor.

  3. Review the implementation of each program to fix the detected anomalies.