Skip to content

Instantly share code, notes, and snippets.

View peterwzhang's full-sized avatar

Peter Zhang peterwzhang

View GitHub Profile

Getting Started with Valgrind

The cs-intro.ua.edu and cs-parallel.ua.edu testing servers now come with the utility Valgrind preinstalled.

Valgrind is a utility which is able to detect memory leaks and provide information about memory-related errors (segmentation faults).

Valgrind supports a small set of linux-based operating systems and, in most cases, can still be rather difficult. Therefore, the server's version is extremely helpful for testing.

This guide will show how to use Valgrind.