Function counting script

Segin segin2005 at gmail.com
Sat Mar 18 14:59:24 CST 2006


As my small contribution, attached is a small shell script that, 
unmodified, finds out how many times certain functions are called in a 
given sample of files. The default functions are 'malloc', 'realloc', 
and 'free', and the sample files are all files ending in .c in the 
current directory. It even prints out the result in a neat manner on 
ANSI colourized terminals.

The script is very flexible, and easy to modify.

Current version is 256bytes long.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memcheck.sh
Type: application/x-shellscript
Size: 255 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060318/9b2a1ccb/memcheck.bin


More information about the wine-devel mailing list