Home // ICSEA 2013, The Eighth International Conference on Software Engineering Advances // View article


A Tracking and Visualizing System of Memory Usage along to C Source Programs

Authors:
Kyoko Iwasawa
Takuhiro Okamura

Keywords: C source program; memory usage; memory leak; tracking; visualizing;

Abstract:
Our tracking system shows the situation of memory usage of C programs. Its information includes both stack area of local data and dynamic allocated area. The system shows the results off line. First of all, it inserts recording statements to the memory allocation and release of user programs in order to make a log file of memory usage. After the execution of modified user program, the system analyzes the log file to make the usage graph. Based on the graphical image, the user can find out where each memory event occurred on the C source program interactively. Therefore, the user can recognize the accurate location where the largest memory area was used, and find which memory allocation caused memory leak. These functions are efficient for embedded system, whose memory size is strictly limited. In this work in progress, we are attempting to show where user should insert free function call by using static data flow analysis.

Pages: 387 to 390

Copyright: Copyright (c) IARIA, 2013

Publication date: October 27, 2013

Published in: conference

ISSN: 2308-4235

ISBN: 978-1-61208-304-9

Location: Venice, Italy

Dates: from October 27, 2013 to October 31, 2013