Subscribe for email updates

Get all updates to your inbox to stay tune.

Curve tracing programs - Draw sin(x) curve using Graphics programming in C

Learn how to draw curve tracing graphics programs in c language

Graphics programming in C

Learn how to write basic and advanced graphics programming in c language

Curve tracing programs - Draw Cos(x) curve using Graphics programming in C

Learn how to draw curve tracing graphics programs in c language

Make file tutorial

A step by step guide to learn how to write make file in Linux with examples

Tuesday, May 14, 2013

Valgrind Tutorial - Memory Debugging tool memcheck



1.     Introduction

Developing any program/application that is free of defects is very important and really challenging. Code review, unit testing, integration testing, system testing, functional testing, etc are different steps in the development lifecycle that helps in detecting defects in software. As the system under development becomes more complex, covering all possible scenarios as part of testing may not be possible as it may be too costly. Similarly, reproducing the fault scenarios reported from the deployment site may not possible in a lab environment under simulation mode. In addition, there can also be other defects which are very difficult to identify and reproduce such as buffer overflow, memory corruption, memory leak etc. Identifying such issues manually takes lot of time and sometimes it is hard to find.